scaling from bare metal to behemoth with docker and .net vnext
DESCRIPTION
Presented at the Sydney Xerocon 2014, this presentation talks about how to leverage new concepts and technologies such as Docker and the new version of .NET called vNext to create ultra scalable environments and solve problems such as code shipping, dependencies and so on.TRANSCRIPT
Beautiful accounting software
Scaling from bare metal to behemoth with Docker and .NET
vNextJakub Krajcovic, Cloud Architect,
Rackspace Australia
Let me tell you a story
What do we mean by scaling?
Code packaging and shipping
Architecture patterns
Throughput and utilization
Current challenges with scaling
Code shipping today
Always-on environments
Infrastructure is underutilized
What we end up with
How can we solve some of these challenges?
But seriously, what is Docker?
Docker provides a standard way of packing goods [software] into a box with standard properties.
Docker leverages process sandboxing and Union Filesystems to deliver self-contained “boxes” of executable code to multiple environments.
Virtual Machines vs Docker
Server
Host OS
Hypervisor
Guest OS Guest OS
Bins/Libs Bins/Libs
App A App B
Server
Host OS
Docker Engine
Bins/Libs Bins/Libs
App A App B
How does Docker solve our problems?
Docker is a shipping container for code
Docker provides an intermodal container for shipping everything an application needs by combining OS-native isolation and Union Filesystems
Code Shipping with Docker
Different architecture patterns in multi-tenant environments
100 x = 100 x 100 x = 60 x
+
40 x
Better utilization of infrastructure
Docker execution environment
Server Server Server
Libraries
App App App
VM VM VM
Libraries Libraries
Server Server Server
ASP .NET vNext
Code packaging and shipping with vNext
The CLR can be shipped with the application
Everything is a NuGet package
Different architecture patterns in multi-tenant environments
100 x = 100 x 100 x = 60 x
+
40 x
Better utilization of infrastructure
Server Server Server
Libraries
App App App
VM VM VM
Libraries Libraries
Server Server Server
Case studies
From bare metal to behemoth
The missing link
Laptop
App 1 App 2 App 3
Execution Environment
Server
App 1 App 2 App 3
Execution Environment
Server Server Server
Execution Environment
App 1 App 2 App 3 App 4 App 5 App 6 App 7 App 8 App 9
Scaling the new way
Beautiful accounting software
RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM
RACKSPACE® HOSTING | Level 1, 37 Pitt Street | Sydney, NSW 2000
Phone: 1-800-722577 | www.rackspace.com.au