Upgrade to Pro — share decks privately, control downloads, hide ads and more …

config.threadsafe!: JUST DO IT

tarcieri
April 25, 2012
1.4k

config.threadsafe!: JUST DO IT

Most Rails applications today are not running in thread-safe mode, which means that they can only one process one request at a time. This is BAD! This lightning talk covers the basics of Rails thread-safe mode and why you should use it

tarcieri

April 25, 2012
Tweet

Transcript

  1. Most Rails apps can only do one thing at a

    time Wednesday, April 25, 12
  2. Rails CAN do more than one thing at a time

    (since Rails 2.2) Wednesday, April 25, 12
  3. Your DB uses threads* Your app should too *If it

    doesn’t, it probably sucks Wednesday, April 25, 12