rack-fiber_pool
rack-fiber_pool copied to clipboard
Rack middleware to execute each request in a Fiber
Bumps [rack](https://github.com/rack/rack) from 1.2.2 to 1.6.13. Changelog Sourced from rack's changelog. Changelog All notable changes to this project will be documented in this file. For info on how to format...
I used to run with ruby 1.9.2p318, thin, rack-fiber_pool-0.9.2 to serve. but sometimes (not always), thin daemon was died with these messages case 1 /var/www/twitbee/shared/bundle/ruby/1.9.1/gems/rack-fiber_pool-0.9.2/lib/fiber_pool.rb:48:in `block (3 levels) in initialize':...
You can test this issue even with sinatra example in your repository, just add `enable :logging` But when you remove `use Rack::FiberPool` logging works as expected.
I'm using [Rack FiberPool](https://github.com/mperham/rack-fiber_pool) with Rails. When I run in development mode there is no log show on the console (neither static assets nor active record log). The log contains...
I am getting an error of the form => uninitialized constant Custom::Namespace::Klass ..../rails_root/vendor/cache/ruby/1.9.1/gems/rake-0.9.2/lib/rake/ext/module.rb:36:in `const_missing' ...... The app works fine when rack fiber pool and em is disabled. Here's the config:...
Since #5, the finished fibers are now returned to the head of the pool, so the Fiber shown by /test is always the same (i.e. the first fiber). I'm thinking...
My rails app is running to "systemstack error" for some of the operations because the default fiber stack size is merely 4KB. I know there are discussions going on about...
When I try to run my app using rainbows I get this error: NoMethodError: undefined method `call' for nil:NilClass /Users/fredrik/.rvm/gems/ruby-1.9.2-p0/gems/activesupport-3.0.3/lib/active_support/whiny_nil.rb:48:in`method_missing' /Users/fredrik/.rvm/gems/ruby-1.9.2-p0/gems/rack-fiber_pool-0.9.0/lib/rack/fiber_pool.rb:17:in `block in call' /Users/fredrik/.rvm/gems/ruby-1.9.2-p0/gems/rack-fiber_pool-0.9.0/lib/fiber_pool.rb:48:in`call' /Users/fredrik/.rvm/gems/ruby-1.9.2-p0/gems/rack-fiber_pool-0.9.0/lib/fiber_pool.rb:48:in `block (3 levels) in...
Maybe I am being thick, but I think the following should work: app = Rack::Builder.new do use( Rack::FiberPool, :size => 50 ) map( '/app1' ) { call app1 } map(...
Might want to update README to suggest the middleware setting go in the config.ru file, i.e. in Ilya Grigorik's [example Rails 3 app](https://github.com/igrigorik/async-rails/blob/72ea38433246cc58cd31e3863f4ed4e0c861ad28/config.ru): ``` require ::File.expand_path('../config/environment', __FILE__) use Rack::FiberPool run...