the new distributed application infrastructure

28
The New Distributed Application Infrastructure Gordon Haff @ghaff Technology Evangelist Red Hat Santa Clara, CA USA December 2015 1

Upload: gordon-haff

Post on 17-Feb-2017

1.200 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: The New Distributed Application Infrastructure

The New Distributed Application Infrastructure

Gordon Haff @ghaffTechnology EvangelistRed Hat

Santa Clara, CA USADecember 2015 1

Page 2: The New Distributed Application Infrastructure

This is all very new

Santa Clara, CA USADecember 2015 2

2007

2011

2013

2014

Page 3: The New Distributed Application Infrastructure

Computing as puntuated equilibria

Rapidly changing environment

Open source innovation and recombinations

Intersecting trends Hard to predict

Santa Clara, CA USADecember 2015 3

Page 4: The New Distributed Application Infrastructure

Traditional infrastructure & apps

Santa Clara, CA USADecember 2015 4

Server, storage, & networking hardware

Operating system

Application& dependencies

Application& dependencies

Application& dependencies

Page 5: The New Distributed Application Infrastructure

Vertical scaling

Santa Clara, CA USADecember 2015 5

Server, storage, & networking hardware

Operating system

Application& dependencies Application

& dependenciesApplication

& dependencies

Page 6: The New Distributed Application Infrastructure

(One of) the problems

Santa Clara, CA USADecember 2015 6

Server, storage, & networking hardware

Operating system

Application& dependencies

Page 7: The New Distributed Application Infrastructure

Enter hardware virtualization

Santa Clara, CA USADecember 2015 7

Server, storage, & networking hardware

Hypervisor (or other partitioning methods)

Application& dependencies

Application& dependencies

Application& dependencies

Operating system

Operating system

Operating system

Page 8: The New Distributed Application Infrastructure

Tweaking hardware virtualization

Santa Clara, CA USADecember 2015 8

Server, storage, & networking hardwarewith CPU, memory, I/O virtualization assists

Hypervisor (or other partitioning methods)

Application& dependencies

Application& dependencies

Application& dependencies

Operating system

Operating system

Operating system

Page 9: The New Distributed Application Infrastructure

What’s changed really?

Application components still installed within OS

Applications still long-lived & stateful

Applications still “pets”

Santa Clara, CA USADecember 2015 9

Page 10: The New Distributed Application Infrastructure

Which was sort of the point

Server consolidation reduced CAPEX

Without (at least initially) much impact on operational model

Santa Clara, CA USADecember 2015 10

2006

Page 11: The New Distributed Application Infrastructure

Well, that worked

Santa Clara, CA USADecember 2015 11

Page 12: The New Distributed Application Infrastructure

The discontinuity hits

“Software is eating the world” Mobile DevOps Reimagined componentized

architectures Scale

Santa Clara, CA USADecember 2015 12

Page 13: The New Distributed Application Infrastructure

Adopting an “ant” model for apps

Stateless (often) “Small” components Single function Expose an API Replacable cogs Portable across hybrid

infrastructures

Santa Clara, CA USADecember 2015 13

Page 14: The New Distributed Application Infrastructure

What does an infrastructure for ants look like?

Santa Clara, CA USADecember 2015 14

Page 15: The New Distributed Application Infrastructure

From servers to resource pools

Software-defined “everything”

Dynamic resource pool

May be provided by public cloud

Santa Clara, CA USADecember 2015 15

Virtualized pool of IaaS resources

“Commodity” server

“Commodity” server

“Commodity” server

Operating system

Operating system

Operating system

Operating system

Software-defined storageSoftware-defined networking/NFV

Page 16: The New Distributed Application Infrastructure

OpenStack: Software-defined infrastructure

Santa Clara, CA USADecember 2015 16

Linux

Page 17: The New Distributed Application Infrastructure

Containers: Isolation within OS

OS-level virtualization Originally BSD jails Then Solaris zones OS kernel manages

isolation, resource use, and security

Namespaces, SELinux, Cgroups in Linux

Santa Clara, CA USADecember 2015 17

Operating system instance

Application& dependencies

Application& dependencies

Resource pool

Page 18: The New Distributed Application Infrastructure

Making containers useful

Standard packaging format

Ecosystem App composition specification

Optimized operating system foundation

Santa Clara, CA USADecember 2015 18

Lightweight, immutable OSfor running containers

Application& dependencies

Application& dependencies

Resource pool

Container packaging forimage-based deployment

Page 19: The New Distributed Application Infrastructure

Key areas of container consistency

Container host• Isolate and secure apps on the host operating system

Container image• Package apps to include information on what's needed to run

in a container with digital signatures and encryption for security

Registry and discovery• Find and consume trusted application container images from

federated sourcesSanta Clara, CA USADecember 2015 19

Page 20: The New Distributed Application Infrastructure

Managing at scale as a single entity

Santa Clara, CA USADecember 2015 20

Lightweight, immutable OSfor running containers

Application& dependencies

Application& dependencies

Resource pool

Container packaging/API forimage-based deployment

Resource management

Orchestration

Page 21: The New Distributed Application Infrastructure

Everyone is scaling

Not just unicorns and mammoths Three main use cases:

• Large scale workloads • Diverse workloads • Complex resource management

Grid computing reimagined?

Santa Clara, CA USADecember 2015 21

Page 22: The New Distributed Application Infrastructure

What does scale mean?

How many systems? A big cluster or many small ones? Throughput? Scheduling frequency? How much availability required?

Santa Clara, CA USADecember 2015 22

Page 23: The New Distributed Application Infrastructure

Handling diverse workloads

Conventional or cloud native? What type of workloads?

• CI/CD (e.g. Jenkins) • Data analytics (e.g. Spark, Storm) • Batch (e.g. Chronos) • Workflows

Single or multiple clusters?

Santa Clara, CA USADecember 2015 23

Page 24: The New Distributed Application Infrastructure

What policies are needed?

Compliance Multi-tenancy Dependency management Avoiding repeated failures Persistent volume services Dynamic reservations

Santa Clara, CA USADecember 2015 24

Page 25: The New Distributed Application Infrastructure

Needs for integrating with existing IT

96% see open source as an enabler of cloud native integration and conventional app modernization.

Source: Red Hat Modernization Strategies SurveyIDC September 2015

Santa Clara, CA USADecember 2015 25

Structured & unstructured data integrationBusiness process automationModel-driven process managementEnterprise service bus & APIs

Page 26: The New Distributed Application Infrastructure

Open questions

Role of hardware virtualization On-premise vs. public cloud trends Microservices Resource management/orchestration layer(s) The post-NIST service model Favored approaches for consumption

Santa Clara, CA USADecember 2015 26

Page 27: The New Distributed Application Infrastructure

How evenly distributed will the future be?

The future is already here—it's just not very evenly distributed.

William Gibson

Santa Clara, CA USADecember 2015 27

Page 28: The New Distributed Application Infrastructure

Credits

Santa Clara, CA USADecember 2015 28

Fractal: https://www.flickr.com/photos/fractal_ken/3996156539/ Flickr Creative Commons license

Punctuated equilibrium: University of California at Berkeley

Mainframe: "IBM 704 mainframe" by Lawrence Livermore National Laboratory. Licensed under Attribution via Commons - https://commons.wikimedia.org/wiki/File:IBM_704_mainframe.gif#/media/File:IBM_704_mainframe.gif

Ants: https://www.flickr.com/photos/pondapple/6502194585 Flickr Creative Commons license

Meteor, galaxy: NASA

Datacenter: Google

Dogs: https://www.flickr.com/photos/ulster/3250246355 Flickr Creative Commons license