Looks like there is a lock for get thumbnail for different presentations, my logic is simple, just receive pptx file, and convert to thumbnails, then return to website. I use write a multiprocessing in python to requests this api, it cannot be handled in multi-threading mode.
When I export same presentation in memorystream from bytes to thumbnails, in multi threads, it will not render each presentation in parallels.
eg,
1 thread, each presentation takes 2.5s
2 thread, each presentation takes 4.2s
10 thread, each presentation takes 6.2s
Why each presentation not same time, it should be ~2.5s, because I run them in parallels.
Even I have 32 core CPU, it will not render thumbnail in each threads separately, when deep look into Timeline Profile, I noticed there is a lock when get thumbnail from Slide. I guess, maybe GetThumbnail is locked in code, even if I run in threads.
@islide,
Thank you for the information. I’ve reproduced the problem you described.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): SLIDESNET-44389
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Please also share the following additional information if it is possible: