Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Kai Wähner Technology Evangelist
[email protected]
LinkedIn @KaiWaehner www.kai-waehner.de JavaOne 2016 – San Francisco, USA Cloud-Native Microservices and Containers in the Middleware World
Slide 2
Slide 2 text
© Copyright 2000-2016 TIBCO Software Inc. Processes Analytics APIs Streams & Events Interconnect Everything Devices Equipment CORE Run the Business EDGE Change the Business People
Slide 3
Slide 3 text
© Copyright 2000-2016 TIBCO Software Inc. Evolving Demands from the Business AGILITY & SPEED REDUCED CYCLE TIMES WEB SCALE LOWER COST FAIL FAST
Slide 4
Slide 4 text
© Copyright 2000-2016 TIBCO Software Inc. • Integration is key for success in today’s agile and always changing world • Modern middleware leverages containers and microservices • A cloud-native architecture enables flexible and agile development Key Takeaways
Slide 5
Slide 5 text
© Copyright 2000-2016 TIBCO Software Inc. 1) Middleware Overview 2) Microservices 3) Cloud Native 4) Cloud Native Middleware Microservices 5) Live Demo Agenda
Slide 6
Slide 6 text
© Copyright 2000-2016 TIBCO Software Inc. 1) Middleware Overview 2) Microservices 3) Cloud Native 4) Cloud Native Middleware Microservices 5) Live Demo Agenda
Slide 7
Slide 7 text
© Copyright 2000-2016 TIBCO Software Inc. “Middleware is computer software that provides services to software applications beyond those available from the operating system. It can be described as "software glue”. Middleware makes it easier for software developers to implement communication and input/output, so they can focus on the specific purpose of their application.” Wikipedia (https://en.wikipedia.org/wiki/Middleware) Middleware
Slide 8
Slide 8 text
© Copyright 2000-2016 TIBCO Software Inc. Middleware Application Integration „Big SOA Application“ Process Integration „Business Process Application“ Streaming Analytics „Streaming Application“ Cloud-Ready On Premise Public Cloud CRM ERM Host ...
Slide 9
Slide 9 text
© Copyright 2000-2016 TIBCO Software Inc. #1 On premise will not die. Not everything will or should go to the cloud!
Slide 10
Slide 10 text
© Copyright 2000-2016 TIBCO Software Inc. Development Environment for Middleware Zero Coding Code Everything or anything in between
Slide 11
Slide 11 text
© Copyright 2000-2016 TIBCO Software Inc. #2 Visual coding works, even for very complex scenarios. Forget the early 2000 SOA days!
Slide 12
Slide 12 text
© Copyright 2000-2016 TIBCO Software Inc. 1) Middleware Overview 2) Microservices 3) Cloud Native 4) Cloud Native Middleware Microservices 5) Live Demo Agenda
Slide 13
Slide 13 text
© Copyright 2000-2016 TIBCO Software Inc. Microservices • Suite of small services running in its own process • Communication via lightweight mechanisms • Built around business capabilities • Independently deployable, written in different languages and using different data stores • Bare minimum of centralized management à Shorter time to results and increased flexibility à Replace small pieces instead of a complete application
Slide 14
Slide 14 text
© Copyright 2000-2016 TIBCO Software Inc. 14 Microservices Example http://www.ibm.com/developerworks/cloud/library/cl-bluemix-microservices-in-action-part-1-trs/ Each tile is a microservice “bookflights” interacts with other microservices Height corresponds to usage Each microservice can be Independently managed à Shorter time to results and increased flexibility / scalability à Replace small pieces instead of a complete application
Slide 15
Slide 15 text
© Copyright 2000-2016 TIBCO Software Inc. Middleware Microservices Application Integration „Integration Service 1“ Cloud-Ready On Premise Public Cloud CRM ERM Host ... Application Integration „Integration Service 2“ Application Integration „Integration Service 3“ Process Integration „Business Process Service 1“ Streaming Analytics „Streaming Service 1“ Process Integration „Business Process Service 1“ Streaming Analytics „Streaming Service 2“
Slide 16
Slide 16 text
© Copyright 2000-2016 TIBCO Software Inc. Various Forms of (Micro)Services Integration Service Monolith application SOA Integration Service Service Service Service Service API Management SaaS Service BPM Service
Slide 17
Slide 17 text
© Copyright 2000-2016 TIBCO Software Inc. New Challenges Emerging… http://highscalability.com/blog/2014/4/8/microservices-not-a-free-lunch.html ”[…] when considering Microservice like architectures, it's really important to not be attracted to the hype on this one as the challenges and costs are as real as the benefits." • Different Languages / Technologies • DevOps Skills Required • Distributed System Complexity • Distributed Configuration • Service Discovery • Resiliency • Client Side Load Balancing • Testability Challenges • Orchestration / Integration • Spaghetti Communication (again ?!) • Re-Delivery • Re-Route • Cache • ...
Slide 18
Slide 18 text
© Copyright 2000-2016 TIBCO Software Inc. New Design Patterns Emerging… Resilience Design Patterns Features • Fail fast and rapidly recover • Prevent cascading failures • Latency tolerance logic • Fault tolerance logic • Fallback Options http://martinfowler.com/bliki/CircuitBreaker.html https://github.com/Netflix/Hystrix/wiki maxFailures = 5 resetTimeout = 1min callTimeout = 10s à maxFailures++ Example: Circuit Breaker
Slide 19
Slide 19 text
© Copyright 2000-2016 TIBCO Software Inc. #3 Microservices are not free lunch. They do not fit into every scenario!
Slide 20
Slide 20 text
© Copyright 2000-2016 TIBCO Software Inc. Open API and API Management
Slide 21
Slide 21 text
© Copyright 2000-2016 TIBCO Software Inc. New Design Patterns Emerging… http://samnewman.io/patterns/architectural/bff https://www.thoughtworks.com/insights/blog/bff-soundcloud Example: Backends for Fronteds (BfF) ?
Slide 22
Slide 22 text
© Copyright 2000-2016 TIBCO Software Inc. #4 Design Microservices with open APIs in mind!
Slide 23
Slide 23 text
© Copyright 2000-2016 TIBCO Software Inc. 1) Middleware Overview 2) Microservices 3) Cloud Native 4) Cloud Native Middleware Microservices 5) Live Demo Agenda
Slide 24
Slide 24 text
© Copyright 2000-2016 TIBCO Software Inc. “Cloud washing is the purposeful and sometimes deceptive attempt by a vendor to rebrand an old product or service by associating the buzzword ‘cloud’ with it [and offering it via a public cloud infrastructure].” Cloud Washing http://searchcloudstorage.techtarget.com/definition/cloud-washing !
Slide 25
Slide 25 text
© Copyright 2000-2016 TIBCO Software Inc. • Scalable services • Service Discovery • Load balancing and failover • Resiliency • DevOps and automation • Usage of public cloud platforms, but also private or hybrid • Self-service, pay-as-you-use, multi-tenancy • Vendor-agnostic deployment Cloud Native (à not just Microservices) à Focus on business problems (after initial start-up efforts)
Slide 26
Slide 26 text
© Copyright 2000-2016 TIBCO Software Inc. #5 Cloud-Native means much more than a “cloud-washed” application deployed to a cloud provider!
Slide 27
Slide 27 text
© Copyright 2000-2016 TIBCO Software Inc. == The Momentum of Containers How to deploy independent Applications or (Micro)Services? Garden
Slide 28
Slide 28 text
© Copyright 2000-2016 TIBCO Software Inc. Why Containers? http://www.slideshare.net/andersjanmyr/docker-the-future-of-devops Containers enable: • Lightweight deployment • Automation • Better resource utilization • Scaling up and down quickly • Platform agnostic deployment • Innovation and Fail Fast Concepts • Standardization ? Ø The Open Container Initiative (OCI) Ø Docker Fork Discussions (!!!)
Slide 29
Slide 29 text
© Copyright 2000-2016 TIBCO Software Inc. #6 Microservices and Containers are often used together, but also work very well without each other!
Slide 30
Slide 30 text
© Copyright 2000-2016 TIBCO Software Inc. Cloud-Native Architecture Containers are just the Foundation for a Cloud Native Architecture!
Slide 31
Slide 31 text
Cloud Native Platform (Infrastructure-as-a-Service) Choose your IaaS Private or Hybrid Cloud Reduced costs of Infra Self-hosted & Controlled Env Servers Storage Network IaaS
Slide 32
Slide 32 text
Cloud Native Platform (Platform-as-a-Service) Choose your PaaS / Container Cloud-Native App Dev Self-service agile infrastructure Elasticity & Scalability OS & Containers Scalability Routing Logging / Monitoring PaaS
Slide 33
Slide 33 text
© Copyright 2000-2016 TIBCO Software Inc. Cloud Native Platform (IaaS + PaaS) Choose your IaaS Choose your PaaS / Container Private or Hybrid Cloud Cloud-Native App Dev Reduced costs of Infra Self-service agile infrastructure Self-hosted & Controlled Env Elasticity & Scalability Servers Storage Network OS & Containers Scalability Routing Logging / Monitoring PaaS IaaS
Slide 34
Slide 34 text
© Copyright 2000-2016 TIBCO Software Inc. Kubernetes (K8S) http://kubernetes.io/docs/getting-started-guides/#cloud
Slide 35
Slide 35 text
© Copyright 2000-2016 TIBCO Software Inc. Kubernetes on Google Cloud Platform http://kubernetes.io/docs/hellonode/
Slide 36
Slide 36 text
© Copyright 2000-2016 TIBCO Software Inc. Cloud Foundry http://www.slideshare.net/cdavisafc/cloud-foundry-technical-overview
Slide 37
Slide 37 text
© Copyright 2000-2016 TIBCO Software Inc. #7 Containers are a lower level technology. Only the infrastructure provider should care, but not the application developer!
Slide 38
Slide 38 text
© Copyright 2000-2016 TIBCO Software Inc. “Cloud Operating System”: Apache Mesos http://www.slideshare.net/Docker/building-web-scale-apps-with-docker-and-mesos/30 • Enterprises have to manage different clusters with different technologies • Apache Mesos runs on bare metal, i.e. no need for another operating system
Slide 39
Slide 39 text
© Copyright 2000-2016 TIBCO Software Inc. The basic resource for CaaS is a container, rather than a virtual machine (VM) or a bare metal hardware host system” Container-as-a-Service (CaaS) http://searchcloudcomputing.techtarget.com/definition/Containers-as-a-Service-CaaS
Slide 40
Slide 40 text
© Copyright 2000-2016 TIBCO Software Inc. Serverless Computing • Bring a function (not an entire application) up for one single request. • No cluster or server instance management. • Small microservice-style functions running for a few (milli)seconds or at latest a few minutes. • 100% utilization (!!!) “Sponsored by Red Hat / JBoss"
Slide 41
Slide 41 text
© Copyright 2000-2016 TIBCO Software Inc. #8 Be cloud platform agnostic. The world changes fast!
Slide 42
Slide 42 text
© Copyright 2000-2016 TIBCO Software Inc. DevOps Elements – Culture and Technology! Process Tools Automation Culture Continuous Integration/ Continuous Development APIs Microservices Frequent releases Collaboration
Slide 43
Slide 43 text
© Copyright 2000-2016 TIBCO Software Inc. #9 Automation (CI / CD / DevOps) and the related cultural change is key for success. Especially for Cloud-Native Microservices!
Slide 44
Slide 44 text
© Copyright 2000-2016 TIBCO Software Inc. 1) Middleware Overview 2) Microservices 3) Cloud Native 4) Cloud Native Middleware Microserivces 5) Live Demo Agenda
Slide 45
Slide 45 text
© Copyright 2000-2016 TIBCO Software Inc. Hybrid Integration Platform (HIP) Application Integration Application Integration (on a PaaS) iPaaS Integration Platform as a Service iSaaS Integration Software as a Service Cloud-Ready Cloud-Native API Management On Premise Public Cloud Public Cloud Public Cloud On Premise Public Cloud Process Integration Business Process Management Platform Streaming Analytics Public Cloud At the Edge IoT Gateway Analysts are sure: “The new default” in most enterprises!
Slide 46
Slide 46 text
© Copyright 2000-2016 TIBCO Software Inc. #10 Establish a hybrid integration architecture to solve different business requirements!
Slide 47
Slide 47 text
© Copyright 2000-2016 TIBCO Software Inc. Cloud, Container, PaaS, iPaaS, iSaaS, Coding, Visual Dev, … Show me some different cloud native middleware examples!
Slide 48
Slide 48 text
© Copyright 2000-2016 TIBCO Software Inc. • Open Source • Runs on OpenShift PaaS (which is based on Kubernetes) • Also available as iPaaS • JBoss Fuse (based on Apache Camel and JBoss A-MQ) • For Integration Specialists • Focus on writing source code JBoss Middleware Services https://www.openshift.com/container-platform/middleware-services.html
Slide 49
Slide 49 text
© Copyright 2000-2016 TIBCO Software Inc. JBoss Example: Apache Camel Integration Service Java DSL new RouteBuilder() { public void configure() { from(”jms:myQueue").loadBalance() .circuitBreaker(2, 1000L, MyCustomException.class) .to("mock:result"); }}; XML DSL MyCustomException
Slide 50
Slide 50 text
© Copyright 2000-2016 TIBCO Software Inc. WSO2 http://wso2.com/cloud/paas/ • Open Source • Runs on different cloud platforms • Also available as iPaaS • WSO2 Products (like ESB or CEP) containerized for cloud offerings • WSO2 Microservices Framework for Java • For Integration Specialists • Focus on writing source code and configuration
Slide 51
Slide 51 text
© Copyright 2000-2016 TIBCO Software Inc. • Available only as iPaaS (hosted runtime and IDE) • Focus on visual coding and productivity • Web IDE • For Ad-Hoc Integrators Dell Boomi http://www.boomi.com
Slide 52
Slide 52 text
© Copyright 2000-2016 TIBCO Software Inc. TIBCO • Runs on different cloud platforms (TIBCO Container Edition) • Also available as iPaaS (TIBCO Cloud Integration) • Focus on visual coding and productivity • Powerful IDE (Visual Coding) + Web user interface • For Integration Specialists and Ad-hoc Integrators
Slide 53
Slide 53 text
© Copyright 2000-2016 TIBCO Software Inc. • Simple – often personal - integration scenarios • Web based integration • For business users (also called Citizen Integrators) iSaaS http://bamageek.com/wp-content/uploads/2013/09/IFTTT-_-My-Recipes-1.png https://www.snaplogic.com/ https://simplr.tibco.com https://ifttt.com/
Slide 54
Slide 54 text
© Copyright 2000-2016 TIBCO Software Inc. • Lightweight open source frameworks • Connectivity to IoT technologies (MQTT, CoaP, …) • Deployable on small computers or directly on devices (like sensors) • For Developers / Integration Specialists IoT Gateway
Slide 55
Slide 55 text
© Copyright 2000-2016 TIBCO Software Inc. 1) Middleware Overview 2) Microservices 3) Cloud Native 4) Cloud Native Middleware Microservices 5) Live Demo Agenda
Slide 56
Slide 56 text
© Copyright 2000-2016 TIBCO Software Inc. TIBCO’s Cloud Agnostic Platform On-Premise Cloud-Native Apps, Managed Services Cloud, IaaS, PaaS (public, private, hybrid)
Slide 57
Slide 57 text
© Copyright 2000-2016 TIBCO Software Inc. Develop Deploy Commit Build Config Demo Setup
Slide 58
Slide 58 text
© Copyright 2000-2016 TIBCO Software Inc. Live Demo Cloud-Native Middleware Development with • Pivotal Cloud Foundry • Spring Cloud Config • Docker • Kubernetes • Consul • TIBCO BusinessWorks Container Edition • TIBCO Mashery • Papertrail
Slide 59
Slide 59 text
© Copyright 2000-2016 TIBCO Software Inc. #1 - On premise will not die. Not everything will or should go to the cloud! #2 - Tools (visual coding) works, even for very complex scenarios. Forget the early 2000 SOA days! #3 - Microservices are not free lunch. They do not fit into every scenario! #4 - Design Microservices with open APIs in mind! #5 - Cloud-Native means much more than a “cloud-washed” application deployed to a cloud provider! #6 - Microservices and Containers are often used together, but also work very well without each other! #7 - Containers are a lower level technology. Only the infrastructure provider should care, but not the application developer! #8 - Be cloud platform agnostic. The world changes fast! #9 - Automation (CI / CD / DevOps) and the related cultural change is key for success. Especially for Cloud-Native Microservices! #10 - Establish a hybrid integration architecture to solve different business requirements! 10 Lessons Learned
Slide 60
Slide 60 text
© Copyright 2000-2016 TIBCO Software Inc. • Integration is key for success in today’s agile and always changing world • Modern middleware leverages containers and microservices • A cloud-native architecture enables flexible and agile development Key Takeaways
Slide 61
Slide 61 text
Questions? Please contact me! Kai Wähner Technology Evangelist at TIBCO
[email protected]
@KaiWaehner www.kai-waehner.de LinkedIn