Comments and changes to this ticket
-
Ryan Tomayko January 15th, 2009 @ 09:00 PM
+1
This is a clean and elegant way to limit specific segments of middleware/apps to a single thread while allowing the rest of the middleware pipeline to serve requests in with multiple threads.
A specific case would be allowing Rack::Cache to serve cache hits from multiple threads in front of an app that was limited to a single-thread:
use Rack::Cache use Rack::Lock run myapp
Moving the Rack::Lock middleware up or down in the chain lets us control specifically where a threaded app synchronizes.
The patch looks great, too.
-
josh January 17th, 2009 @ 03:34 PM
- Milestone changed from 0.9 to 1.0
- State changed from new to resolved
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 ยป