Changing the world with ZeroVM and Swift

806 views

Published on

This deck explains ZeroVM, compares it to google's native client and introduces the Zero Cloud - a combination of OpenStack Swift and ZeroVM, together creating a platform for executing arbitrary code on top of data. http://zerovm.org

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

No Downloads
Views
Total views
806
On SlideShare
0
From Embeds
0
Number of Embeds
92
Actions
Shares
0
Downloads
11
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Changing the world with ZeroVM and Swift

  1. 1. Bringing the application to the data Changing the world with ZeroVM and Swift
  2. 2. The Genesis
  3. 3. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Google Native Client (NaCl) • Created for enabling safe client-side execution of code for Chromium • Combines memory segmentation with run-time disassembly • Near-native run speeds – much faster than inline instruction checking 3
  4. 4. What is ZeroVM
  5. 5. RACKSPACE® HOSTING | WWW.RACKSPACE.COM The (sort of) Plain English Description ZeroVM creates a secure isolated execution environment that allows users to run a single application or program. Service providers can leverage ZeroVM to allow their users to run applications inside of multi-tenant systems.
  6. 6. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Some Technical Details • Based on the Chromium Native Client (NaCl) project • Leverages ZeroMQ ZBroker (networked named pipes) • Includes a full compiler toolchain • ZRT provides a subset of the POSIX API • ZRT also includes a port of the CPython interpreter
  7. 7. RACKSPACE® HOSTING | WWW.RACKSPACE.COM NaCl vs ZeroVM • ZeroVM retains the same restrictions as NaCl • ZeroVM retains the disassembly checking • ZeroVM comes with its own runtime environment: ZRT • Files represent input and output in true UNIX fashion 8
  8. 8. RACKSPACE® HOSTING | WWW.RACKSPACE.COM ZeroVM Threads Concurrency NICs Filesystems 1 0 0 0
  9. 9. RACKSPACE® HOSTING | WWW.RACKSPACE.COM ZeroVM Principles Small, Light, Fast Functional Open Source Secure Hyper-Scalable Embeddable
  10. 10. Evolution of computing
  11. 11. RACKSPACE® HOSTING | WWW.RACKSPACE.COM The path to abstraction
  12. 12. RACKSPACE® HOSTING | WWW.RACKSPACE.COM VM vs. Container vs. ZeroVM Traditional VM Shared Hardware Dedicated Kernel/OS High Overhead Slow Startup (minutes) Security model ZeroVM Shared Hardware No Kernel/OS Very Low Overhead Very Fast Startup (microseconds) Security model Container Shared Hardware Shared Kernel/OS Low Overhead Fast Startup (seconds) Security model
  13. 13. Embedding ZeroVM in Openstack Swift
  14. 14. RACKSPACE® HOSTING | WWW.RACKSPACE.COM An Artificial Problem Storage Compute
  15. 15. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Simplified Swift Architecture Proxy Node Proxy Node Proxies… Storage Node Storage Node Storage Node Storage Node Storage Node Storage Node Storage Nodes …
  16. 16. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Simplified Swift Architecture with ZeroVM Proxy Node Proxy Node Proxies… Storage Node Storage Node Storage Node Storage Node Storage Node Storage Node Storage Nodes … ZVMZVMZVM ZVM ZVMZVM ZVM ZVMZVM ZVM
  17. 17. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Detailed Architecture Diagram
  18. 18. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Using Zerocloud 19 $ zpm new $ zpm bundle $ zpm deploy wordcount mrwordcount.zapp $ zpm execute wordcount mrwordcount.zapp execution: groups: - name: "mrwordcount" path: file://python2.7:python args: "mrwordcount.py" connect: ["reducer"] devices: - name: python2.7 - name: stdout - name: input path: "swift://~/shakespeare/*.txt”
  19. 19. Use Cases
  20. 20. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Video Transcoding 21RACKSPACE® HOSTING | WWW.RACKSPACE.COM
  21. 21. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Log searching 22RACKSPACE® HOSTING | WWW.RACKSPACE.COM
  22. 22. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Distributed SQL 23RACKSPACE® HOSTING | WWW.RACKSPACE.COM
  23. 23. RACKSPACE® HOSTING | WWW.RACKSPACE.COM Go play http://github.com/zerovm http://zerovm.org http://zebra.zerovm.org
  24. 24. RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN TH E UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM RACKSPACE® HOSTING | Level 4, 210 George Street | Sydney, NSW 2000 Phone: 1-800-722577 | www.rackspace.com.au

×