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

Why not to use Rails? (actually it's when not t...

Why not to use Rails? (actually it's when not to use Rails)

My Rails Israel 2012 conference talk.

Arik Fraimovich

November 12, 2012
Tweet

More Decks by Arik Fraimovich

Other Decks in Programming

Transcript

  1. • Community • Ruby Gems • Simplicity • Convention over

    configuration • Choices that are made for you Monday, November 12, 12
  2. • Community • Ruby Gems • Simplicity • Convention over

    configuration • Choices that are made for you Monday, November 12, 12
  3. for large web application or anything that isn’t a web

    application Monday, November 12, 12
  4. • Everything is sort of global, no need for require

    • (Usually) no namespacing • Everything in the context of HTTP request Monday, November 12, 12
  5. • Sounds nice at the beginning • But then it

    starts to creep on you and everything becomes sllllowww... No need to require? Monday, November 12, 12
  6. • Sounds nice at the beginning • But then it

    starts to creep on you and everything becomes sllllowww... • Slow boot time No need to require? Monday, November 12, 12
  7. • Sounds nice at the beginning • But then it

    starts to creep on you and everything becomes sllllowww... • Slow boot time • Slow specs No need to require? Monday, November 12, 12
  8. • Sounds nice at the beginning • But then it

    starts to creep on you and everything becomes sllllowww... • Slow boot time • Slow specs • Slow everything No need to require? Monday, November 12, 12
  9. Some Pointers • Actor Model - “easy” concurrency. Popular implementation

    in Ruby: Celluloid • JRuby Monday, November 12, 12
  10. Some Pointers • Actor Model - “easy” concurrency. Popular implementation

    in Ruby: Celluloid • JRuby • TorqueBox Monday, November 12, 12
  11. • Use Rails, but remember there are other things out

    there Wrap up Monday, November 12, 12
  12. • Use Rails, but remember there are other things out

    there • Use Rails “carefully”, as your project grows Wrap up Monday, November 12, 12
  13. • Use Rails, but remember there are other things out

    there • Use Rails “carefully”, as your project grows • Don’t forget that not everything is a nail Wrap up Monday, November 12, 12
  14. • Use Rails, but remember there are other things out

    there • Use Rails “carefully”, as your project grows • Don’t forget that not everything is a nail • And most important: keep using Ruby. It’s awesome Wrap up Monday, November 12, 12
  15. • Architecture The Lost Years • Wrangling Large Rails Codebases

    • Hexagonal Rails • Celluloid • JRuby • TorqueBox • About concurrency and the GIL • Images taken shamelessly from Google. Monday, November 12, 12