The Future of the Operating System - Keynote LinuxCon 2015

50
The Future of the Operating System

Transcript of The Future of the Operating System - Keynote LinuxCon 2015

Page 1: The Future of the Operating System -  Keynote LinuxCon 2015

The Future of the Operating

System

Page 2: The Future of the Operating System -  Keynote LinuxCon 2015

What is an Operating System ?

Page 3: The Future of the Operating System -  Keynote LinuxCon 2015
Page 4: The Future of the Operating System -  Keynote LinuxCon 2015

OS Manages Processes & Resources

Page 5: The Future of the Operating System -  Keynote LinuxCon 2015

OS Provides Portability

(same app runs on different hardware)

Page 6: The Future of the Operating System -  Keynote LinuxCon 2015

OS Provides Isolation & Reliability

Page 7: The Future of the Operating System -  Keynote LinuxCon 2015

Operating Systems &

Apps Over Time

Page 8: The Future of the Operating System -  Keynote LinuxCon 2015

1960s &1970s

Mainframe Era

Page 9: The Future of the Operating System -  Keynote LinuxCon 2015

OS in 1960s

• IBM OS/360 – First OS that kept track of system resources (program, memory, storage)

• CTSS – Introduce scheduling

• Univac Exec 8, Burrows MCP, Multics

Page 10: The Future of the Operating System -  Keynote LinuxCon 2015

OS in 1970s

• UNIX takes over mainframes – only IBM’s MVS and DEC’s OpenVMS remain

• UNIX (written in C) first portable OS

Page 11: The Future of the Operating System -  Keynote LinuxCon 2015

Apps in 1960s & 1970s

• Ran on mainframe • Many apps ran on one mainframe (multi-tenancy) • Very few operators • Relatively small set of “users” • Users didn’t interact with application

• CHALLENGE: Very limited reach

Page 12: The Future of the Operating System -  Keynote LinuxCon 2015

1980s & 1990s

Microcomputer Era

Page 13: The Future of the Operating System -  Keynote LinuxCon 2015

OS in 1980s & 1990s

• UNIX dominates mainframes/servers • PC emerges & brings lots of users

(expanded reach) –DOS & Windows –Mac System Software –OS2, Amiga OS & BeOS

Page 14: The Future of the Operating System -  Keynote LinuxCon 2015

Apps in 1980s & 1990s

• Application ran on a desktop • Single user • Operator became the user

• CHALLENGE : Distribution – Physical media – Ship times measured in months/years

Page 15: The Future of the Operating System -  Keynote LinuxCon 2015

1995 - 2005

Dawn of the Internet Era

Page 16: The Future of the Operating System -  Keynote LinuxCon 2015

OS in 1995 - 2005• Browser becomes gateway to Internet

applications • Desktop ruled by Windows • Linux emerges as the “OS of the

Internet” • LAMP Stack

Page 17: The Future of the Operating System -  Keynote LinuxCon 2015

Apps in 1995 - 2005• Internet emerges, brings easier distribution • Applications are monoliths running on a few

machines • Applications run on owned / leased hardware • Applications accessed through browser • Apps have millions of users

• CHALLENGE: Scale

Page 18: The Future of the Operating System -  Keynote LinuxCon 2015

2005 - 2015

Distributed Applications Era

Page 19: The Future of the Operating System -  Keynote LinuxCon 2015

Apps in 2005 - 2015• Browser solidified as window (view) to

applications • Mobile emerges… most apps merely

component (view) to server based applications

• Apps have 1+ billion users

Page 20: The Future of the Operating System -  Keynote LinuxCon 2015

APPS IN 2005 - 2015• Apps evolved to be composed of services • Distributed applications running on clusters • NoSQL & Cloud

• CHALLENGE : Operations & Deployment – Many services require coordination – Need duplicate environments (dev, stage, prod)

Page 21: The Future of the Operating System -  Keynote LinuxCon 2015

Applications Run on ClustersStatic

Website

Web Front EndBackground Workers

User DB Analytics DB

Queue API Endpoint

one application

Page 22: The Future of the Operating System -  Keynote LinuxCon 2015

Components Need to Work Together

Static Website

Web Front End

Background Workers

User DB Analytics DB

QueueAPI Endpoint

one application

Page 23: The Future of the Operating System -  Keynote LinuxCon 2015

New OS needs to schedule not only

processes, but components across nodes

Page 24: The Future of the Operating System -  Keynote LinuxCon 2015

Development VM

QA ServerPublic Cloud

Disaster Recovery

Developer Laptop

Server Cluster

Data Center

Distributed Applications ChallengeStatic

Website

Web Front EndBackground Workers

User DB Analytics DB

Queue API Endpoint

Development Test & QA Production Scale Out

one application

Page 25: The Future of the Operating System -  Keynote LinuxCon 2015

OS no longer providing

application portability

Page 26: The Future of the Operating System -  Keynote LinuxCon 2015

OS needs to evolve to meet

Application

Page 27: The Future of the Operating System -  Keynote LinuxCon 2015

Linux provides foundation for

Solution.. but needs another layer

Page 28: The Future of the Operating System -  Keynote LinuxCon 2015

Docker + Linux

Page 29: The Future of the Operating System -  Keynote LinuxCon 2015

Modern Application Portability

Page 30: The Future of the Operating System -  Keynote LinuxCon 2015

The Docker Mission

Build Ship Run

Anywhere

Any Application

Local Cloud Data Center

Page 31: The Future of the Operating System -  Keynote LinuxCon 2015

Docker EngineCreates, Ships & Runs containers • Deployable anywhere • Communicates with Docker Hub

BUILD

Package app and dependencies together

SHIP

Deploy locally, in the cloud or in the data center

RUN

Run containers with monitoring and stats anywhere

Page 32: The Future of the Operating System -  Keynote LinuxCon 2015

Application Portability

Run Docker containers unchanged in any environment, on any infrastructure

Build Ship Run

Page 33: The Future of the Operating System -  Keynote LinuxCon 2015

Schedule Components &

Resources

Page 34: The Future of the Operating System -  Keynote LinuxCon 2015

OrchestrationCompose • Configure multi-container applications with a simple file

Machine • Auto-provision hosts and install Engine with a single

command • Drivers to integrate with 12 infrastructure partners

Swarm • Running and scheduling clusters of containers

Page 35: The Future of the Operating System -  Keynote LinuxCon 2015

Isolation & Reliability

Page 36: The Future of the Operating System -  Keynote LinuxCon 2015

Isolation

Container provides true isolation of components

Build Ship Run

Page 37: The Future of the Operating System -  Keynote LinuxCon 2015

Service Reliability

Faithful representation of app with encompassed dependencies

Build Ship Run

Page 38: The Future of the Operating System -  Keynote LinuxCon 2015

Development VM

QA ServerPublic Cloud

Disaster Recovery

Developer Laptop

Server Cluster

Data Center

Distributed Applications Solution

Development Test & QA Production Scale Out

Static Website

Web Front End

Background Workers

Analytics DB

Queue API Endpoint

User DB

one application

Page 39: The Future of the Operating System -  Keynote LinuxCon 2015

The Docker Un-Enabled

Organization

Page 40: The Future of the Operating System -  Keynote LinuxCon 2015

Case Study: Gilt Groupe

Before Docker • 7 Monolithic apps • Wasted time implementing monolithic PaaS

•Dev-to-Prod: weeks

Page 41: The Future of the Operating System -  Keynote LinuxCon 2015

Case Study: ING

Before Docker •9+ months from commit to deploy

• Poorly rated applications •Redundant processes and apps

Page 42: The Future of the Operating System -  Keynote LinuxCon 2015

The Docker Enabled

Organization

Page 43: The Future of the Operating System -  Keynote LinuxCon 2015

Case Study: Gilt Groupe

After Docker • 400+ microservices • 100+ innovations a day • Easily burst capacity at peak times

•Dev-to-Prod: minutes

Page 44: The Future of the Operating System -  Keynote LinuxCon 2015

Case Study: ING

After Docker • 15 minutes from commit to live

• 1,500 deployments per week

Page 45: The Future of the Operating System -  Keynote LinuxCon 2015

The Future…

Page 46: The Future of the Operating System -  Keynote LinuxCon 2015

… is written by people willing to

disrupt the established

Page 47: The Future of the Operating System -  Keynote LinuxCon 2015

UBER

Page 48: The Future of the Operating System -  Keynote LinuxCon 2015

Distributed Apps are the

Future

Page 49: The Future of the Operating System -  Keynote LinuxCon 2015

Linux + Docker is the Future of

Operating Systems

Page 50: The Future of the Operating System -  Keynote LinuxCon 2015

THANK YOU