NWRUG
February 2009
Sponsored by Engine Yard
Friday, February...
Vertebra Nanite
(and an introduction to cloud computing)
...
Friday, February 20, 2009
Vertebra?
• Wasn’t working in time to write this…
• …seen in use on Engine Yard...
(an introduction to cloud computing)
What is it?
...
My definition
Friday, February 20, 2009
My definition
Cloud computing means taking the
resources you need ...
What does that really
mean?
• Provision the minimum amount of
...
Friday, February 20, 2009
Why compute in the
cloud?
• Servers cost money to run, even when idl...
Why compute in the
cloud?
• Servers cost money to run, even when idl...
Uh-oh:
Friday, February 20, 2009
Yikes!
Friday, February 20, 2009
Doing it right
• Monitoring
• Provisioning
• Discovery
...
Doing it right
• Monitoring
• Provisioning
• Discovery
...
Friday, February 20, 2009
Botnets of infected windows
machines running eggdrop (or
similar),...
(an introduction to cloud computing)
Friday, February 20, 2009
(an introduction to cloud computing)
• Computing on demand
Friday, February 20, 2009
(an introduction to cloud computing)
• Computing on demand
• Only pay for wha...
(an introduction to cloud computing)
• Computing on demand
• Only pay for wha...
(an introduction to cloud computing)
• Computing on demand
• Only pay for wha...
(an introduction to cloud computing)
• Computing on demand
• Only pay for wha...
(an introduction to cloud computing)
• Computing on demand
• Only pay for wha...
The Future is in the
Background
• Web serving processes need a fast
...
Friday, February 20, 2009
Nanite
Friday, February 20, 2009
Nanite
Ezra Zygmuntowicz
Friday, February 20, 2009
Nanite is:
“Nanite is a new way of thinking about building cloud
ready web appli...
The interesting bits
• Scaleable back-end
• Message queueing
...
Technical stuff
• RabbitMQ + AMQP
• Ruby
• Can send data J...
Architecture
Friday, February 20, 2009
AMQP
We could talk AMQP directly but…
Friday, February 20, 2009
AMQP
Friday, February 20, 2009
Installation
• RabbitMQ
• Erlang
• RabbitMQ
...
Setup
• git clone git://github.com/ezmobius/
nanite.git
...
Agent structure
Friday, February 20, 2009
Actors
simple.rb
Friday, February 20, 2009
Agent + Actors
Friday, February 20, 2009
Starting up an agent
$ cd /path/to/agent_directory
$ /var/lib/gems/1.8/bin/nanite-agent -t ...
Mappers
Friday, February 20, 2009
Mappers
Friday, February 20, 2009
Let’s try it out
Friday, February 20, 2009
FIN
Friday, February 20, 2009
Resources
• http://willj.net/…
Friday, February 20, 2009
Next Month
• Social meetup, want to talk?
• Thursday16th April: Ashley Moran -...
of 46

Nanite (And An Introduction To Cloud Computing)

Published on: Mar 3, 2016
Published in: Technology      
Source: www.slideshare.net


Transcripts - Nanite (And An Introduction To Cloud Computing)

  • 1. NWRUG February 2009 Sponsored by Engine Yard Friday, February 20, 2009
  • 2. Vertebra Nanite (and an introduction to cloud computing) Will Jessop Friday, February 20, 2009
  • 3. Friday, February 20, 2009
  • 4. Vertebra? • Wasn’t working in time to write this… • …seen in use on Engine Yard nodes • Actively developed, improving Friday, February 20, 2009
  • 5. (an introduction to cloud computing) What is it? (Discuss) Friday, February 20, 2009
  • 6. My definition Friday, February 20, 2009
  • 7. My definition Cloud computing means taking the resources you need for a computing task at the time you need it from a pool of available processing capacity. Friday, February 20, 2009
  • 8. What does that really mean? • Provision the minimum amount of processing capacity you need • Add more processing capacity as needed Friday, February 20, 2009
  • 9. Friday, February 20, 2009
  • 10. Why compute in the cloud? • Servers cost money to run, even when idle • Demand for capacity can peak Friday, February 20, 2009
  • 11. Why compute in the cloud? • Servers cost money to run, even when idle • Demand for capacity can peak Oh yes, it can: Friday, February 20, 2009
  • 12. Uh-oh: Friday, February 20, 2009
  • 13. Yikes! Friday, February 20, 2009
  • 14. Doing it right • Monitoring • Provisioning • Discovery Friday, February 20, 2009
  • 15. Doing it right • Monitoring • Provisioning • Discovery Friday, February 20, 2009
  • 16. Friday, February 20, 2009
  • 17. Botnets of infected windows machines running eggdrop (or similar), an IRC server and a 1337 h4x0r Friday, February 20, 2009
  • 18. (an introduction to cloud computing) Friday, February 20, 2009
  • 19. (an introduction to cloud computing) • Computing on demand Friday, February 20, 2009
  • 20. (an introduction to cloud computing) • Computing on demand • Only pay for what you use Friday, February 20, 2009
  • 21. (an introduction to cloud computing) • Computing on demand • Only pay for what you use • Monitoring Friday, February 20, 2009
  • 22. (an introduction to cloud computing) • Computing on demand • Only pay for what you use • Monitoring • Provisioning Friday, February 20, 2009
  • 23. (an introduction to cloud computing) • Computing on demand • Only pay for what you use • Monitoring • Provisioning • Discovery Friday, February 20, 2009
  • 24. (an introduction to cloud computing) • Computing on demand • Only pay for what you use • Monitoring • Provisioning • Discovery • Questions? Friday, February 20, 2009
  • 25. The Future is in the Background • Web serving processes need a fast turnaround, users won’t wait • Don’t want to tie-up processes with slow stuff Friday, February 20, 2009
  • 26. Friday, February 20, 2009
  • 27. Nanite Friday, February 20, 2009
  • 28. Nanite Ezra Zygmuntowicz Friday, February 20, 2009
  • 29. Nanite is: “Nanite is a new way of thinking about building cloud ready web applications. Having a scalable message queueing back-end with all the discovery and dynamic load based dispatch that Nanite has is a very scalable way to construct web application back-ends.” Friday, February 20, 2009
  • 30. The interesting bits • Scaleable back-end • Message queueing • Discovery • Load based dispatch (by default) Friday, February 20, 2009
  • 31. Technical stuff • RabbitMQ + AMQP • Ruby • Can send data JSON, Marshalled or YAML Friday, February 20, 2009
  • 32. Architecture Friday, February 20, 2009
  • 33. AMQP We could talk AMQP directly but… Friday, February 20, 2009
  • 34. AMQP Friday, February 20, 2009
  • 35. Installation • RabbitMQ • Erlang • RabbitMQ • Nanite • Ruby (Duh) • AMQP & ezmobius-nanite Friday, February 20, 2009
  • 36. Setup • git clone git://github.com/ezmobius/ nanite.git • cd nanite • sudo ./examples/rabbitconf.rb Friday, February 20, 2009
  • 37. Agent structure Friday, February 20, 2009
  • 38. Actors simple.rb Friday, February 20, 2009
  • 39. Agent + Actors Friday, February 20, 2009
  • 40. Starting up an agent $ cd /path/to/agent_directory $ /var/lib/gems/1.8/bin/nanite-agent -t fred -f json -ldebugquot; Friday, February 20, 2009
  • 41. Mappers Friday, February 20, 2009
  • 42. Mappers Friday, February 20, 2009
  • 43. Let’s try it out Friday, February 20, 2009
  • 44. FIN Friday, February 20, 2009
  • 45. Resources • http://willj.net/… Friday, February 20, 2009
  • 46. Next Month • Social meetup, want to talk? • Thursday16th April: Ashley Moran - From Specification to Success, a talk on BDD Friday, February 20, 2009

Related Documents