Optimize for long request
Reported by macournoyer | February 17th, 2008 @ 09:09 PM | in 0.8.0
Long requests (2-3 sec) might block the event loop.
We could use EventMachine Deferrable to process some request in threads. But this impact speed. So we need a way to specify which url must be run through Deferrable.
Before optimizing anything, lets benchmark this to show it's really required.
Comments and changes to this ticket
-
macournoyer February 25th, 2008 @ 04:59 PM
- Milestone changed from Future to 0.8.0
- State changed from new to open
-
macournoyer February 26th, 2008 @ 05:31 PM
Provide an adapter to make only some urls use deferrable.
Something usable like this in a rackup file:
use Thin::Defer, '/my/url' run YouAdapter.new
And an option --deferrable run all app.call deferred.
-
macournoyer March 28th, 2008 @ 11:39 PM
- State changed from open to resolved
Added threaded option in http://github.com/macournoyer/th...
-
John June 13th, 2024 @ 09:50 AM
- Tag set to speed
De fapt,nu toate cazinourile online sunt mari. Nu există multe cazinouri online mari. După feedback-ul onest, cazinourile online Vulkan Vegas au fost de mult timp, Nu credeam că pot câștiga bani la jocurile de noroc. În plus, este minunat să nu trebuiască să lucrezi toată ziua pentru a avea suficienți https://romania-vulkanvegas.com/ bani.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป