5. 5
云架构的演进
Smart Computing
Application Virtualization
Hardware Abstraction
Services Architecture
Traditional Hardware
Hardware Centric
Data Center Based
Centralized
1995
2010 +
< 1980
Virtual Enterprise
Stovepipes of Dedicated
Hardware
Distributed Computing
App
Code
OS
App
Code
OS
User Interface Machine
Interface
Components Services
Computi
ng
Modules
Storage
Modules
Network
Modules
Software as a Service (SaaS)
Platform as a Service (PaaS)
Infrastructure as a Service (IaaS)
2005
6. SmartOS and KVM for Linux/Windows
Source: my.joyent.com
SmartOS
11. Docker vs Virtual Machines
Source: https://www.docker.com/whatisdocker/
Docker Virtual Machines
Docker runs as an isolated process in userspace on the host operating system, sharing the
kernel with other containers. Thus, it enjoys the resource isolation and allocation benefits
of VMs but is much more portable and efficient.
vs
e.g. 8G RAM
e.g. 4G RAM e.g. 4G RAM
12. Joyent vs other cloud technologies
Source: www.joyent.com
vs
“Container-based” Joyent Other Cloud Technologies
Joyent SmartMachine differs from traditional and virtual machine architectures primarily
in that it goes further in abstraction of the hardware by presenting the hosted application
with access to a pool of resources rather than control of a fixed resource. The
SmartMachine has been designed to be very transparent to the underlying
operating system, Joyent SmartOS.
e.g. 4G RAM e.g. 4G RAMe.g. 4G RAM scale to 8G RAM without reboot
13. Competition?
Source: www.joyent.com
Q: Does this mean that Joyent SDC somehow competes with Docker?
Bryan Cantrill, CTO Joyent:
“…emphaticially NOT – and in fact, to the contrary: we see Docker as entirely
complementary to Joyent solutions. While Docker delivers application
containers that are easy to create and portable across different infrastructures,
our focus is on making Joyent the best place to run Docker containers.”
14. Docker + KVM
Source: www.joyent.com
KVM
Application Container “Docker”
e.g. 8G RAM
Resource allocation within Docker KVM
Bryan Cantrill, CTO Joyent:
“…today you can leverage SDC to
create KVM-based Docker hosts to
support your Docker deployments…”
15. 融合 Docker + SmartOS
Source: www.joyent.com
Infrastructure Container “Joyent”
Application Container “Docker”
e.g. 8G RAM
e.g. 8G RAM scale
to 16G RAM without reboot
Bryan Cantrill, CTO Joyent:
“…allow Docker containers to run
directly on the metal instead of being
tied to virtualized hardware…”
16. Joyent’s vision on Docker
Source: www.joyent.com
“We have a nascent Docker API endpoint for SDC that we intend to couple with
our emerging ability to natively execute Linux binaries on SmartOS to be able
to run Docker images securely and at scale directly on hardware”
“…contribute to the Docker project. In particular, as the community explores
things like network virtualization and ZFS-based storage.”
“…make the Joyent Public Cloud and private cloud software the best place to
run them!”
by Bryan Cantrill, CTO Joyent:
Key challenge: Getting native Docker Linux to run on SmartOS (Solaris)
to be announced in Q1/2-2015
17. Docker + SmartOS
Q: Why running Docker directly on hardware
instead of virtualized resources?
A: peformance, performance, performance
26. 测试 1: Disk I/O Test - IOZone
0
100
200
300
400
500
600
700
800
900
0
10
20
30
40
50
60
70
80
90
100
MB/s MB/s
Disk I/O Test: Write Disk I/O Test: Read
141%
Better
1672%
Better
Test details: IOzone - Record Size: 4Kb - File Size: 8GB - Disk Test: Write and Read Performance
Write: This test measures the performance of writing a new file
Read: This test measures the performance of reading an existing file
Reference: http://www.iozone.org/docs/IOzone_msword_98.pdf