Parallel request handling in the latest version #827
Replies: 1 comment 6 replies
-
Gotenberg version There were memory leaks due to defunct processes. As each conversion was starting a Chromium process, it was adding up quickly overtime. Alas, the issue is still upstream and it is recommended to have a long-running browser to handle conversions. Please note that this only mitigates the memory leaks; according to your metrics, consider restarting your Gotenberg instances from time to time. New flags:
New metrics:
Fixes #642 - thanks @petternordlanderhelo & @JulienWeintraub! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I want to clarify if the latest version can handle requests in parallel and what to expect from it in this regard.
Consider this scenario:
There is 1 instance and we send 5 parallel (simultaneous) requests. Let's say the processing time for each is 1 minute.
Is it correct that all requests will go into one internal queue and finish sequentially one after another. Then the total time to process all will be 5 minutes. Is this correct?
Is there a way to configure this single instance to handle multiple requests in parallel?
I'm asking because after updating from version 7 to 8, some performance tests have fallen.
In version 7, PDFs seemed to generate in parallel, but in version 8, it appears that each request depends on the previous one.
Beta Was this translation helpful? Give feedback.
All reactions