Successfully reported this slideshow.
Your SlideShare is downloading. ×

Lighting fast rails with zeus

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 33 Ad

Lighting fast rails with zeus

Starting up rails is crazy slow! Sometimes I drag to use some tools
just because they startup rails and it takes like 30 sec.
It's bad, and it breaks flow. Zeus is here to change this by giving you a
fast way to run your rails environment.

Starting up rails is crazy slow! Sometimes I drag to use some tools
just because they startup rails and it takes like 30 sec.
It's bad, and it breaks flow. Zeus is here to change this by giving you a
fast way to run your rails environment.

Advertisement
Advertisement

More Related Content

Slideshows for you (20)

Viewers also liked (19)

Advertisement

Similar to Lighting fast rails with zeus (20)

Advertisement

Recently uploaded (20)

Lighting fast rails with zeus

  1. 1. Hi I am Phil! @sideshowcoder (github) @cospired (work)
  2. 2. Lightning fast rails with zeus
  3. 3. ...or more like
  4. 4. This is what we got...
  5. 5. This is what we want...* * or faster!!!111elf!
  6. 6. Ruby 1.9
  7. 7. Ruby 2.0
  8. 8. So what is Zeus?
  9. 9. System for preforking and managing a Rails Env
  10. 10. FileMonitor keep track of modifications to reload the environment as needed
  11. 11. SlaveMonitor Keep an environment ready for you at all time
  12. 12. ClientRequest Handler Dispatch calls by the clients to slaves
  13. 13. Setting it all up gem 'zeus'... I got it in my Gemfile
  14. 14. Recompile ruby? Actually I don't and it's not been a problem so far...
  15. 15. ./bin/zeus init binstubs are great, and make zeus faster
  16. 16. config.json
  17. 17. It's pretty hassle free ... and works most of the time just fine
  18. 18. No zeus specific code in the app or tests
  19. 19. What to not use it for...
  20. 20. Zeus won't make your DB dependent view tests fast and shouldn't because they should not depend...
  21. 21. Zeus will make your rails dependent PORO tests fast ... not sure if this is a good thing so!
  22. 22. So be carefull zeus can be to good to be true sometimes
  23. 23. Slow tests are slow don't fix with duck-tape and staples...
  24. 24. What to use it for...
  25. 25. rake routes shouldn't take 30sec or so...
  26. 26. rails runner ... as well run all rails commands in a sane amount of time
  27. 27. Some issues...
  28. 28. Be ready to restart... because new files are not recognized
  29. 29. Vagrant shared folders CIFS does not like sockets* * currently discussion around that in the issues #287 #231
  30. 30. So overall... it works, there are a lot of valid usecases, ... and some not so valid
  31. 31. Questions? Thanks!
  32. 32. Ressources ● http://robots.thoughtbot. com/post/40193452558/improving-rails-boot- time-with-zeus ● https://github.com/burke/zeus/ ● https://github.com/sideshowcoder/zeus for configurable sock location ● https://github.com/rails/commands ● https://github.com/sporkrb/spork ● https://github.com/jonleighton/spring

×