Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
No Threads, No Callbacks - Cooperative web servers in Ruby 1.9

No Threads, No Callbacks - Cooperative web servers in Ruby 1.9

Ratings: (0)|Views: 486|Likes:
Published by igrigorik
Sane async webservers with Ruby 1.9 & Fibers.
Sane async webservers with Ruby 1.9 & Fibers.

More info:

Published by: igrigorik on Jul 22, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPTX, PDF, TXT or read online from Scribd
See more
See less

07/22/2010

pdf

text

original

 
No Callbacks,No Threads & Ruby 1.9
@igrigorik
No Callbacks, No Threads & Ruby 1.9
Ilya Grigorik
@igrigorik
async& co-operative web-servers
 
No Callbacks,No Threads & Ruby 1.9
@igrigorik
Review:State of the art
Reactor Pattern
AsyncPrimitivesCallbacks & FibersAsyncRails?
 
No Callbacks,No Threads & Ruby 1.9
@igrigorik
require"active_record´ ActiveRecord::Base.establish_connection( :adapter =>"mysql",:username =>"root",:database =>"database",:pool => 5)threads=[]10.timesdo|n|threads<<Thread.new{  ActiveRecord::Base.connection_pool.with_connectiondo|conn| res=conn.execute("selectsleep(1)") end}endthreads.each{ |t| t.join }
The Experiment
vanilla everything

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->