Merb + Nanite

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

2 comments

Comments 1 - 2 of 2 previous next Post a comment

  • + guestb0e0db guestb0e0db 11 months ago
    your a dumb faggot, and fell back on everything you stand for, you backed down in the face of the demon.
  • + greekhero A QUDOOS 2 years ago
    Good to know.
Post a comment
Embed Video
Edit your comment Cancel

16 Favorites

Merb + Nanite - Presentation Transcript

  1. Merb then and now Ezra Zygmuntowicz http://engineyard.com
  2. Merb Then Sept 21st 2006 http://pastie.org/14416 AKA Baby Merb
  3. Merb Now • merb-core • merb-action-args • merb-haml • merb-assets • merb-helpers • merb-auth • merb-jquery • merb-builder • merb-mailer • merb-cache • merb-parts • merb-gen • merb-slices
  4. Core Tenets of Merb
  5. Merb should be fast (no code is faster then no code)
  6. Merb should be memory efficient
  7. Merb code should be as simple as possible
  8. Merb should be modular
  9. Merb should be easy to grok and extend (by hackers for hackers)
  10. Merb should focus on the application server as well as the web framework
  11. Merb should get out of your way and be *flexible*
  12. Most Importantly Merb should be an experimentation ground
  13. Why not just work on rails?
  14. Monoculture is bad
  15. Everyone wins when there is competition
  16. Lot’s of merb’s lessons can be applied back to rails
  17. Merb-1.0RC drops tomorrow! Huge thanks to the community and all contributors
  18. merb-stack: training wheels included
  19. Now with that out of the way...
  20. Introducing Nanite
  21. Nanite is a new way of building scalable backends for web apps
  22. Built around RabbitMQ • Written in erlang, clusterable, highly scalable, fast as hell. • AMQP protocol provides many nice features • Transient, Persistent and Transactional semantics
  23. <3 RabbitMQ
  24. Nanite agents consist of multiple Actors
  25. Nanite agents advertise their services and status Feeds#crawl advertises: /feeds/crawl Load average is advertised as default status
  26. Nanite Mappers Track nanites and their advertised services and status Can do dispatch based on a number of factors Run inside your Merb or Rails app State of all nanites is replicated across all mappers
  27. Multiple Dispatch Styles
  28. Least loaded dispatch and the fitness function
  29. Agents ping the mapper exchange every @ping_time seconds. Mappers track the state of all nanites and remove them from mapping if they haven’t reported in within a timeout
  30. Nanite gives us: • Presence, we know when nanites are ready for requests or not. • Self assembly, nanites can come and go and can run anywhere with zero configuration in the mappers. • Dispatch based on load or any fitness function that suits your app • Easily take advantage of cloud
  31. File Streaming
  32. Nanite makes it easy to scale web app backends Git it on GitHub: http://github.com/ezmobius/nanite
  33. Questions?

+ Ezra ZygmuntowiczEzra Zygmuntowicz, 2 years ago

custom

8568 views, 16 favs, 30 embeds more stats

This is my keynote from MerbCamp, where I talk abou more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 8568
    • 6201 on SlideShare
    • 2367 from embeds
  • Comments 2
  • Favorites 16
  • Downloads 168
Most viewed embeds
  • 2192 views on http://brainspl.at
  • 67 views on http://blog.engineyard.com
  • 33 views on http://www.brainspl.at
  • 20 views on http://www.merboverheard.com
  • 12 views on http://www.engineyard.com

more

All embeds
  • 2192 views on http://brainspl.at
  • 67 views on http://blog.engineyard.com
  • 33 views on http://www.brainspl.at
  • 20 views on http://www.merboverheard.com
  • 12 views on http://www.engineyard.com
  • 8 views on http://merboverheard.com
  • 5 views on http://mublag.boinkor.net
  • 5 views on http://www.soup.io
  • 3 views on http://antifuchs.soup.io
  • 2 views on http://www.lotteryresultsbyemail.co.uk
  • 1 views on http://www.euromillionsresults2009.com
  • 1 views on http://www.resultseuromillions.co.uk
  • 1 views on http://www.elotteryforums.com
  • 1 views on http://www.euromillions2009.com
  • 1 views on http://static.slideshare.net
  • 1 views on http://www.el-gordolottery.com
  • 1 views on http://planetrubyonrails.net
  • 1 views on http://www.lotteryresults2009.com
  • 1 views on http://sofias.soup.io
  • 1 views on http://planetrails.digitalcodes.org
  • 1 views on http://planet.o9y.net
  • 1 views on http://www.planetlotto.co.uk
  • 1 views on http://www.hanrss.com
  • 1 views on http://www.lotterydvd.com
  • 1 views on http://www.newsgator.com
  • 1 views on http://electricsheep.wikispaces.com
  • 1 views on http://spatialmediagroup.wikispaces.com
  • 1 views on http://mathias.soup.io
  • 1 views on http://metalab.soup.io
  • 1 views on http://non_humana.soup.io

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories