23
Unifying Application Logic with Datacenter Automation Jacoby Thwaites [email protected] @sparklhq

Unifying Application Logic with Datacenter Automation

  • Upload
    sparkl

  • View
    126

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Unifying Application Logic with Datacenter Automation

Unifying Application Logic with

Datacenter AutomationJacoby Thwaites

[email protected]

@sparklhq

Page 2: Unifying Application Logic with Datacenter Automation

Why are both enterprise and IoT stuck in the weeds?

Page 3: Unifying Application Logic with Datacenter Automation

• Apps & Infrastructure• Where we are today

• Black Box Swamp• How did we get here?

• Clear Box Solution• How can we escape?

• Examples

Agenda

Page 4: Unifying Application Logic with Datacenter Automation

Apps and Infrastructure (v1)In the beginning...

Physical Network

New App

Infinite bandwidth Zero latency 100% reliable

Physical Stack

Page 5: Unifying Application Logic with Datacenter Automation

Apps and Infrastructure (v2)Virtualized compute, storage and network

Physical Network

New App

Infinite bandwidth Zero latency 100% reliable

Virtualised Stack (SDC, SDS, SDM, SDN, NFV)

Page 6: Unifying Application Logic with Datacenter Automation

Apps and InfrastructureThe devops view...

Network

Stack

AppDev

Java, HTML, CSS, Javascript

Chef, Puppet, Juju

APIC-EM, VIRL, OpenSDN ControllerOps

Page 7: Unifying Application Logic with Datacenter Automation

Conway's Law

"Any organization that designs a system will produce a design whose structure is a copy of the organization's communication structure".

Page 8: Unifying Application Logic with Datacenter Automation

Apps and InfrastructureThe CEO View

Communications Network

App #1

App #2

App #3

New App

App #5

App #6

App #7

App #8

My Business

Page 9: Unifying Application Logic with Datacenter Automation

MicroservicesDivide and conquer...

Communications Network

Stack

Component

Stack

Component

Stack

Component

Stack

ComponentApp #1

App #2

Page 10: Unifying Application Logic with Datacenter Automation

Microservices

Communications Network

Service

App #1

App #2

Service Service Service

If I change this service,

what breaks?Is orchestration done in here?

Do these services have a choreography

between them?

Page 11: Unifying Application Logic with Datacenter Automation

The regulator fines me when your

stuff goes wrong!

A Global Bank

$20bn+

fines in

2 years

Conduct RiskRight data. Right path. Right place. Right reason

Page 12: Unifying Application Logic with Datacenter Automation

Black Boxes• Internal behaviour is opaque

• External behaviour cannot be predicted

Communications Network

Service Service Service Service

Level of communication

Page 13: Unifying Application Logic with Datacenter Automation

Black Box Choreography

Service B

Service A

Service C Service D

1

2

3

4

5

6

Can you answer three questions...?

Page 14: Unifying Application Logic with Datacenter Automation

The Black Box SwampKills agility. Kills flexibility. Maximizes conduct risk

Black Box Swamp

Page 15: Unifying Application Logic with Datacenter Automation

Internet of Things• Internal behaviour is opaque

• External behaviour cannot be predicted

• We're trapped in datacenters and slow negotiated partnerships

• We are entering a black box swamp on the scale of billions

Internet

Thing

Component ComponentThing Thing Thing

Level of communication

Page 16: Unifying Application Logic with Datacenter Automation

© 2015 Cisco and/or its affiliates. All rights reserved. Cisco PublicPresentation ID

Clear Boxes

Page 17: Unifying Application Logic with Datacenter Automation

Microservices

Communications Network

Service

App #1

App #2

Service Service Service

If I change this service,

what breaks?Is orchestration done in here?

Do these services have a choreography

between them?

We saw this slide earlier...

Page 18: Unifying Application Logic with Datacenter Automation

Clear BoxVisible configuration replaces opaque orchestration code.

SPARKL Sequencing Engine

Stack

Component

Stack

Component

Stack

Component

Stack

Component

App #2

App #1

SPARKL Config Tree

Page 19: Unifying Application Logic with Datacenter Automation

Unification of Flow with Automation• SPARKL "Clear Box" configuration expresses:

• Intents• External events with desired results

• Capabilities• Operations available on services

• Services• Provision and control with reason

• SPARKL Sequencing Engine• Determines optimal sequence• Drives the flow of events• Everything is visible• Everything is measured• Everything is logged – with reason

really important!

My Business

Page 20: Unifying Application Logic with Datacenter Automation

• Orchestrates these black boxes:• Motors (left, right, forward, back)• Sensors (light sensor, bumpers)• Compute (compare L/R brightness etc)

• Result• Compute service starts automatically• Car drives towards the light!

Clear Box config drives a Robot Car

Page 21: Unifying Application Logic with Datacenter Automation

Clear Box config does Complex TransactionsUnifying App Logic, Service Provisioning and SDN Topology

SPARKL clear box configuration that processes payments and receipts of money.

Works across 6 distributed black-box systems including sales.

Implements two-phase commit with rollback across 3 ledgers with journal.

Drives OpenSDN-capable topology constrained by jurisdiction, priority, cost.

Provisions services at runtime with reason.

Page 22: Unifying Application Logic with Datacenter Automation

• Black boxes are the root cause of today's problems• IT cost $100m+ on scale of 1000 things/systems = On scale of billions?!• Fractured audit logs, metrics, analytics = $$$ conduct risk• Infrastructure is divorced from app logic = $$$ complexity

• Clear boxes are needed now by enterprise and IoT• Understand event choreography = achieve agility• Infrastructure provisioning with reason = achieve flexibility• Log, measure and audit everything = reduce conduct risk

Clear Box Summary

22

Fix agility, flexibility and conduct risk

Page 23: Unifying Application Logic with Datacenter Automation

Thank you