cloud native data flow orchestration

12
SPRINGONE2GX WASHINGTON, DC Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud Native Data Flow Orchestration Mark Fisher | Patrick Peralta @m_f_ | @patrickperalta

Upload: spring-io

Post on 08-Feb-2017

1.257 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Cloud Native Data Flow Orchestration

SPRINGONE2GX WASHINGTON, DC

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/

Cloud Native Data Flow Orchestration Mark Fisher | Patrick Peralta

@m_f_ | @patrickperalta

Page 2: Cloud Native Data Flow Orchestration

Safe Harbor Statement The following is intended to outline the general direction of Pivotal's offerings. It is intended for information purposes only and may not be incorporated into any contract. Any information regarding pre-release of Pivotal offerings, future updates or other planned modifications is subject to ongoing evaluation by Pivotal and is subject to change. This information is provided without warranty or any kind, express or implied, and is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions regarding Pivotal's offerings. These purchasing decisions should only be based on features currently available. The development, release, and timing of any features or functionality described for Pivotal's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no obligation to update forward looking information in this presentation.

2

Page 3: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/

Overview •  Streaming and Batching with Spring XD •  From Modules to Microservices •  Orchestration by Spring Cloud Data Flow •  Demos

•  Local •  YARN •  Lattice •  Cloud Foundry

3

Page 4: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/

Streaming and Batching with Spring XD

4

Page 5: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/

Spring XD Modules •  Execute inside of a Spring XD

Container •  Consist of beans in an application

context •  Multiple modules may run in a

container, each with their own class loader

5

Page 6: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/

Room For Improvement •  Custom module development was somewhat complex •  Classloader issues, jar proliferation in the lib directory •  Feature requests for a more dynamic distributed runtime (scale up, down)

6

From To Modules Microservices Built in distributed runtime Distributed runtime SPI (Cloud

Foundry, Lattice, YARN)

Page 7: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 7

•  OOTB modules •  Executable Boot Apps

•  Boot for Spring Integration and Batch

•  Auto-Configuration, Bindings

XD

Container

Modules

Admin

Spring Cloud Data Flow

Spring Cloud Stream

Modules

Spring Cloud Task

Modules

Spring Cloud Stream

Spring Cloud Task

•  REST API, Shell, UI •  Module Deployer SPI:

•  Singlenode •  Lattice •  YARN •  Cloud Foundry

From Modules to Microservices

Page 8: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 8

spring-integration

spring-boot

spring-cloud

spring-cloud-stream

Page 9: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/

Module Launcher •  Resolves module artifacts from a Maven Repository •  Extends classpath and launches the application •  Supports co-location of modules

9

Page 10: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 10

Container Container

Spring XD 1.x

Host

Spring Cloud Stream

•  Modules run inside containers •  Container is a Boot app •  Modules are ApplicationContexts

•  Modules are executable Boot apps •  Easier to use Spring Cloud features •  Easier to test, consistent dev

experience •  Portable and “cloud-native”

M

Host

M

M M M M M

M M M

ZooKeeper Spring Cloud Data Flow

(optional) SPI Implementation

Page 11: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/

Demos •  Local •  YARN •  Lattice •  Cloud Foundry

11

Page 12: Cloud Native Data Flow Orchestration

Unless otherwise indicated, these sl ides are © 2013-2015 Pivotal Software, Inc. and l icensed under a Creat ive Commons Attr ibut ion-NonCommercial l icense: ht tp: / /creat ivecommons.org/ l icenses/by-nc/3.0/ 12

Stream Processing at Scale with Spring XD and Kafka Marius Bogoevici - September 16, 2015 14:30 - 16:00

Hadoop Workflows and Distributed YARN Apps using Spring technologies -

Thomas Risberg, Janne Valkealahti September 16, 2015 10:30 - 12:00

Learn More. Stay Connected.

@springcentral Spring.io/video