19 Feb '13, 8pm

Rails, concurrency, database drivers, and an example of why @tenderlove is awesome:

It depends on the database driver. The pg driver allows both synchronous and asynchronous calls. The synchronous calls will block all threads until the results return where the asynchronous ones require two method calls, but allow the interpreter to continue processing other things. The Rails pg adapter uses the async api . The mysql2 adapter uses rb_thread_blocking_region whenever IO would block (especially on queries ), so this will allow the Ruby interpreter to continue even if reading from the socket would block. SQLite3 adapter doesn't use rb_thread_blocking_region, but I haven't been able to get it to block the interpreter. If you can write tests that demo blocking the interpreter, I would greatly appreciate it (so I can fix it). I am unsure about the other adapters.

Full article: http://www.reddit.com/r/ruby/comments/18s6fh/rails_and_co...

Tweets

Heroku Describes Ruby on Rails Application Performance Issues

Heroku Describes Ruby on Rails Application Perf...

thewhir.com 20 Feb '13, 5pm

Heroku has addressed the routing performance issues affecting Ruby on Rails applications running on its Bamboo and Cedar s...

Decoding Rails Session Cookies: I wrote about h...

rubyflow.com 19 Feb '13, 2pm

Decoding Rails Session Cookies Posted by alindeman on February 19, 2013 — 0 comments I wrote about how easy it is to decod...

Rails sure is weird sometimes.

railsmachine.com 21 Feb '13, 4pm

Managing hundreds of Rails apps gives us the opportunity to see all of the amazing ways that Ruby and Rails can misbehave....