'Does Unicorn Release Workers during I/O Wait
I have a rails 6 application using Unicorn. One of my endpoints handles image uploads to s3. For test purposes I have made a stack with a single web server running a single unicorn worker. I have noticed that even when multiple large image uploads are performed through this endpoint taking ~2m per image post request, the unicorn worker still is able to pick up other requests at the same time and process them.
My question now is, is it possible for the unicorn master to release the unicorn worker during a request (while waiting e.g. for an upload to go through) and allow the worker to process other requests?
Thank you!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|