Your SlideShare is downloading. ×
0
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Lighting fast rails with zeus
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Lighting fast rails with zeus

339

Published on

Starting up rails is crazy slow! Sometimes I drag to use some tools …

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.

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
339
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Hi I am Phil!@sideshowcoder (github)@cospired (work)
  • 2. Lightning fast rails withzeus
  • 3. ...or more like
  • 4. This is what we got...
  • 5. This is what we want...** or faster!!!111elf!
  • 6. Ruby 1.9
  • 7. Ruby 2.0
  • 8. So what is Zeus?
  • 9. System for preforking andmanaging a Rails Env
  • 10. FileMonitorkeep track of modifications to reload theenvironment as needed
  • 11. SlaveMonitorKeep an environment ready for you at alltime
  • 12. ClientRequest HandlerDispatch calls by the clients to slaves
  • 13. Setting it all upgem zeus... I got it in my Gemfile
  • 14. Recompile ruby?Actually I dont and its not been a problemso far...
  • 15. ./bin/zeus initbinstubs are great, and make zeus faster
  • 16. config.json
  • 17. Its pretty hassle free... and works most of the time just fine
  • 18. No zeus specific code inthe appor tests
  • 19. What to not use it for...
  • 20. Zeus wont make your DBdependent view tests fastand shouldnt because they should notdepend...
  • 21. Zeus will make your railsdependent PORO testsfast... not sure if this is a good thing so!
  • 22. So be carefull zeus canbe to good to be truesometimes
  • 23. Slow tests are slowdont fix with duck-tape and staples...
  • 24. What to use it for...
  • 25. rake routes shouldnt take30sec or so...
  • 26. rails runner ... as wellrun all rails commands in a sane amount oftime
  • 27. Some issues...
  • 28. Be ready to restart...because new files are not recognized
  • 29. Vagrant shared foldersCIFS does not like sockets** currently discussion around that in the issues #287 #231
  • 30. So overall...it works, there are a lot of valid usecases, ...and some not so valid
  • 31. Questions?Thanks!
  • 32. Ressources● http://robots.thoughtbot.com/post/40193452558/improving-rails-boot-time-with-zeus● https://github.com/burke/zeus/● https://github.com/sideshowcoder/zeus forconfigurable sock location● https://github.com/rails/commands● https://github.com/sporkrb/spork● https://github.com/jonleighton/spring

×