Oct 27, 2015 - Promotes Agile Practices. ⢠Promotes DevOps. ⢠All Programmers ... your data warehouse / BI solutions
Oracle Service Bus for Microservice Architecture MTE10097 Ricardo Ferreira Principal Solution Architect – Oracle Luis Weir Principal Architect, Global Lead – HCL Robert Wunderlich Sr. Principal Product Manager – Oracle October 27, 2015 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
3
Agenda 1
Meet the Experts
2
Microservices in an Integrated World
3
Questions, Answers, Food-for-thought
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
4
Agenda 1
Meet the Experts
2
Microservices in an Integrated World
3
Questions, Answers, Food-for-thought
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
5
Robert Wunderlich • Product Manager for – Service Integration – Microservices – DevOps/Continuous Delivery – API Management
• Former Development Engineer/Manager for Oracle EBusiness Suite • 17 Years with Oracle
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
6
Ricardo Ferreira • Solution Architect in the A-Team – Service Bus, SOA & Messaging – Stream Explorer (OEP, Oracle CEP) – Coherence In-Memory Data Grid
• Software Developer (Java, C++) by passion, working with distributed technologies since 1997. • Experience with other middleware vendors before Oracle: IONA, JBoss
@jricardoferreir
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
7
HCL Thought Leadership in Middleware & PaaS Luis Weir Principal Architect – Fusion Middleware & PaaS Solutions Luis Weir is an Oracle Ace Director and a Digital Principal Architect for HCL technologies With several years of experience implementing IT solutions across the globe, Luis has successfully delivered several large and complex Service Oriented Architecture (SOA) and API solutions for Fortune 500 companies. He has led SOA and other middleware capabilities for different renowned SIs such as CSC, Cognizant and Capgemini. Luis current focus is in creating digital solutions and strategies to assist key global customers adopt technology disruption and realize the benefits that APIs, mobile frameworks, cloud integration platforms and IoT have to offer. Luis is very passionate about technology. He has co-authored 2 books (Oracle SOA Governance 11g Implementation and Oracle API Management 12c Implementation), he is a blogger and also a regular speaker in major conferences and events. A well-known industry expert especially when it comes to Oracle middleware technologies Luis is also an OTN certified SOA black belt.
LinkedIn Profile: •https://www.linkedin.com/in/lweir Oracle ACE Profile •https://apex.oracle.com/pls/apex/f?p=19297:4:102460129095460::NO:4:P4_ID:7360 Blog: •www.soa4u.co.uk Latest Media: •Podcast: API Management Implementation •Article: A Word About Microservices and SOA •Article: Oracle API Management 12c Implementation – Book Overview •Podcast: API Management Round Table Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Agenda 1
Meet the Experts
2
Microservices in an Integrated World
3
Questions, Answers, Food-for-thought
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
9
Microservices in an Integrated World A Hybrid Approach
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
10
If it Wasn’t for the Canonical...
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
11
What is a Microservice? • Is it small? • Does it run in an Application Server? • Does it use XML? • Does it use REST? • Does it use SOAP?
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
12
Benefits of a Monolith • Common code infrastructure • More density/efficient allocation of hardware • Not Everybody has to be an expert in security. • Developers do not have to develop instrumentation into their services • Less inter-process communication required, less network hops
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
13
Benefits of a Microservice Approach • Extreme Scalability • Organizational Ownership • Cheaper to Start • Ideal for the Cloud • Grasp latest technologies • Promotes Agile Practices • Promotes DevOps
• All Programmers Welcome! • “It’s what the cool people do!” Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
14
Hybrid Approach • Leverage common management/monitoring • Scale out with in-memory data-grid • Common transformation logic. • Increase density • Capture Business Instance Data over Choreography.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
15
Real-Time Integration Business Insight
Real-Time Dashboards
• Answers the key questions your data warehouse / BI solutions are not built for: – need current info – requires cross system data – no coding / instrumentation 29-Oct-15 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
16
The Promise of Microservices vs. Monolithic Architecture
Dev
Prod
Monolithic
Microservices
Codebase
Singular, unified, codependent
Smaller, independently evolving
Technology Stack
Homogeneous
Best of breed
Edit-Compile-Test
Minutes to hours
Seconds
Dependencies
Compile-time; version lockstep
Network APIs; library independence
Change
Slow, painful, risky
Isolated; consumer-driven contracts
Rewrite
Major planning
One service at a time
Test & Release
Months, all in one
Focus on changed services
Deploy & Start
Minutes to hours
Seconds or less
Scaling
All or nothing
Hotspots
Operations
Static, straightforward
Dynamic, complex automation
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential –Highly Restricted
17
Microservices Common Characteristics Componentization via Services
Organization around Business Capabilities Products over Projects Smart Endpoints and Dumb Pipes
Decentralized Governance Decentralized Data Management Infrastructure Automation
Design for Failure Evolutionary Design Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
18
Smart Endpoints and Dumb Pipes in Theory • Endpoints exposed through REST
Application
• "Do One Thing Only" Design Approach REST
• Request/Response Interaction Style
Microservice A
• Design for Failure Philosophy Push
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
REST Microservice B
19
Smart Endpoints and Dumb Pipes in the Real World… Application
REST Microservice A
REST Microservice B
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
20
Enterprise Service Buses could help on that, but…
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
21
Classic Problem of Constraints over Principles • While adopting an architectural style; people often prioritizes restrictions over design principles, resulting in fragile/broken software architectures. – e.g. Put as most logic as possible in the database due to the client/server style.
• Constraints must be evaluated carefully, considering context, organization culture, infrastructure limitations and of course, people's knowledge. – e.g. Breaking down a 10 years old bank's corporate MDM into smaller entity services.
• By focusing in the principles, developers can design their services without sacrificing the entire architectural style. – Achieving loosely coupling even without exposing services through REST – Handling failures/exceptions by design without coding in the application. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
22
Hybrid Microservices Architecture to the Rescue Powered by:
+
Source: Microservices and the Integration Platform Blog: http://tinyurl.com/pgx5yqx
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
23
Hybrid Microservices Architecture to the Rescue
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
24
Supporting Apache Kafka via OSB's Custom Transport SDK • Kafka native transport created with the SDK: http://tinyurl.com/pa8fexy • Allows the creation of Proxy and Business Services via Console and JDev. • Compatible with Service Bus 12c On-Premise and SOA Cloud Service. Microservice B
Node.js Content-Based Routing Integration Pattern Microservice A
Java
Topic
Microservice C
Service Bus
Python
Microservice D
Scala
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
25
Luis Weir Oracle ACE Director Principal Architect / Global Lead OFM Solutions
[email protected] http://uk.linkedin.com/in/lweir @luisw19 http://www.soa4u.co.uk/
Microservices Oracle Open World 2015 Copyright © 2014 HCL Technologies Limited | www.hcltech.com
What is a Microservice Architecture (MSA)?
3 aspects to MSA
A rchitectural MSA Tecnical 27
O rganizational Copyright © 2014 HCL Technologies Limited | www.hcltech.com
•
• • •
• •
•
•
•
•
•
•
•
•
•
•
MSA - Technical Built on common governance and standards Comm tech stack Contracts define service/APIs interfaces Granularity focused on business capabilities Typically Services/APIs run on an ESB Use of Canonical schemas not uncommon for business services, less common in APIs APIs typically targeted for external use (exposed in DMZ) HTTP transport of choice but multitransports supported Multiple message protocols supported (SOAP-XML, REST-JSON, etc) DevOps / Continuous Delivery becoming more popular not yet mainstream
Common platform for all services deployed to it Typically services/APIs runs on an AS, that depends on an MRE Resources made available to and managed by MRE and AS Multi-threaded with more overheads to handle I/Os Use of containers (i.e. Dockers, Linux Containers) less popular Common hardware for all services/APIs running on the same ESB or Application Server clusters
Typical Systems Layers In Traditional Monoliths
Typical Systems Layers In Microservices Architecture
•
• •
Services / APIs
•
Services / APIs
•
Application (typically an ESB) • •
Application Server (AS) Managed Runtime Environment (MRE)
Managed Runtime Environment (MRE)
Container
Container
Operating System
Operating System
Hypervisor
Hypervisor
Storage
Storage
Network
Network
•
• •
•
•
28
Hardware
Relaxed governance: less focus on common standards and more on people collaboration and freedom of choice Use of ESBs not popular Granularity focused on business capabilities Services/APIs are self-contained an can run independently from each other Services/APIs built using tech stack of choice (usually one that’s best for the job) Use of Lightweight protocols, such as HTTP/REST and AMQP Strong focus on DevOps / Continuous Delivery from the start Services are stateless
Single-threaded typically with use of use of Event Loop (callbacks) features for non-locking I/O handling Application Servers not really used. Platforms such as Node.JS can be used but not mandated (as said, no tech stack enforced) Use of containers (i.e. Dockers, Linux Containers) more popular as services/APIs are more independent on other applications Common hardware optional
Hardware Copyright © 2014 HCL Technologies Limited
| www.hcltech.com
MSA – Organizational Team Structure in Traditionally
UI Dev Team Coms Gaps
Multi-Disciplinary Teams Organized by Business Capability Result in Modular Systems
UI Support team
Development and Support Teams Organized by Technologies Resulted in Siloes
Team A UI
Modular System A
ASG DB
SOA Dev Team
ASG DB
SOA Support Team
Project Teams
Team B UI
Team C
UI
Team D ASG
Database Dev Teams
Modular System D
DB Support Team
DB
29
Modular System C
ASG
DB
UI
Modular system B
Copyright © 2014 HCL Technologies Limited | www.hcltech.com
MSA – Architectural Pattern
Traditional SOA
MSA
Monolith pattern
Yes
No
Polyglot Persistence
Not traditionally (use of Suites)
Yes
API gateway pattern
Yes
Yes
Orchestration
Yes
No
Choreography
No
Yes
Event Collaboration
Yes
Yes
Canonical Schema
Very common (not always)
No
Schema centralization
Yes
No
Decouple Contract
Yes
Could be….
Bounded Context
Some times
Yes
Tolerant Reader
Some times
Yes
Client-side Service Discovery
Initially only (service registry)
Recommended
Service-side Service Discovery
Yes
Yes
ESB Pattern
Yes
Yes when done right!!
30
Copyright © 2014 HCL Technologies Limited | www.hcltech.com
Misusing Microservice Pattern can lead to Micro-siloes….. System Boundary Web App
System Boundary
System based on Microservice Architecture
System Boundary
Legacy
COTS
ESB
System Boundary
COTS
COTS
System Boundary
System Boundary
Bespoke
System Boundary
Web App System based on Microservice Architecture
Service Virtualised
31
Service Calls
Systems
System Functionality Expose as a Service
Copyright © 2014 HCL Technologies Limited | www.hcltech.com
Solution: A Microservice Bus using Oracle Service Bus System Boundary Web App
System Boundary
System based on Microservice Architecture
Legacy
System Boundary
COTS
Microservice Bus (Oracle Service Bus) COTS
System Boundary
COTS
System Boundary
System Boundary
Bespoke
System Boundary
Web App System based on Microservice Architecture
Service Virtualised
32
Service Calls
Systems
System Functionality Expose as a Service
Copyright © 2014 HCL Technologies Limited | www.hcltech.com
About HCL 27%
54%
$6.5B
19%
Asia
Europe
North America
REVENUE
IDC MARKETSCAPE FIGURE
26%
31
3 YR CAGR
100,000+
COUNTRIES
LEADING GLOBAL HCL PARTNER
PEOPLE
KEY MIDDLEWARE CUSTOMERS
Worldwide Cloud Professional Vendor Assessment
33
EAS Consultant
8,000
Countries
31
Oracle Consultants
3,500
Offices
60
Active Engagements
150
Global Delivery Centres
15
Copyright © 2014 HCL Technologies Limited | www.hcltech.com
Oracle middleware/paas practice
12
30+
Years of Existence
Projects
PROVEN EXPERTISE Successfully delivered several large scale OFM related solutions and now working towards becoming the #1 Oracle PaaS service provider
HCL COE
60+
500+
HCL certified Experts
Experts in HCL Fusion Middleware Stack
Best practices based on success stories and leading edge solution building for SOA / BPM / API / Mobile / IoT technologies and most recently also covering Oracle PaaS solutions using ICS, PCS, MCS and IoTCS
IPs AND FRAMEWORKs Tools to enable automation, monitoring and acceleration of SOA and BPM implementations. Frameworks to ensure consistent execution and a reduced cost and risk for our clients
ROBUST CAPABILITY BUILDING Regular HCL senior management connects with Oracle Corporation’s FMW and PaaS product management and VPs HCL is a regular sponsor of the Oracle SOA/PaaS Customer Advisory Board (CAB) and is also part of the OFM Partner Advisory Council (PAC). Both grant HCL access to the latest product launches, product roadmaps and key information on Oracle’s future direction
THOUGHT LEADERSHIP Strong capability in on-prem technologies but also already enabled for Oracle Cloud Platform as a Service (PaaS). Furthermore with HCL’s proprietary cloud migration framework HCL can help organizations build strong cloud adoption strategies quickly and cost-effectively
34
Copyright © 2014 HCL Technologies Limited | www.hcltech.com
HCL Thought Leadership in Middleware & PaaS Luis Weir Principal Architect – Fusion Middleware & PaaS Solutions Luis Weir is an Oracle Ace Director and a Digital Principal Architect for HCL technologies With several years of experience implementing IT solutions across the globe, Luis has successfully delivered several large and complex Service Oriented Architecture (SOA) and API solutions for Fortune 500 companies. He has led SOA and other middleware capabilities for different renowned SIs such as CSC, Cognizant and Capgemini. Luis current focus is in creating digital solutions and strategies to assist key global customers adopt technology disruption and realize the benefits that APIs, mobile frameworks, cloud integration platforms and IoT have to offer. Luis is very passionate about technology. He has co-authored 2 books (Oracle SOA Governance 11g Implementation and Oracle API Management 12c Implementation), he is a blogger and also a regular speaker in major conferences and events. A well-known industry expert especially when it comes to Oracle middleware technologies Luis is also an OTN certified SOA black belt.
LinkedIn Profile: •https://www.linkedin.com/in/lweir Oracle ACE Profile •https://apex.oracle.com/pls/apex/f?p=19297:4:102460129095460::NO:4:P4_ID:7360 Blog: •www.soa4u.co.uk Latest Media: •Podcast: API Management Implementation •Article: A Word About Microservices and SOA •Article: Oracle API Management 12c Implementation – Book Overview •Podcast: API Management Round Table 35
Copyright © 2014 HCL Technologies Limited | www.hcltech.com
Note: The speaker notes for this slide include information on how to use this Section Header slide. Tip! Remember to remove this text box.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
36
Oracle Service (SOA) & Cloud Integration Sessions @ OpenWorld 2015 – Wednesday, Oct 28: CON8115
High-Performance Oracle SOA Suite Customer Panel
11:00 AM - 11:45 AM
CON7967
Oracle’s API Management Roadmap
11:00 AM - 11:45 AM
CON7975
Gain Insight into Integration and Improve Operational Intelligence
12:15 PM - 1:00 PM
CON6271
Accelerate Your SaaS Integration with Oracle Integration Cloud Service
1:45 PM - 2:30 PM
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service (SOA) & Cloud Integration Sessions @ OpenWorld 2015 – Wednesday, Oct 28 - Continued: CON7974
Oracle Stream Explorer: A Pattern-First Approach to RealTime Streaming Analytics
1:45 PM - 2:30 PM
CON7996
Oracle SOA Suite 12c Success Stories
3:00 PM - 3:45 PM
CON6377
Oracle SOA Suite Cloud Service and Hybrid Integration— Customer Panel
4:15 PM - 5:00 PM
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service (SOA) & Cloud Integration Sessions @ OpenWorld 2015 - Thursday, Oct 29: CON9633
Oracle Integration Cloud Service—Catalyst for Success in the Cloud
9:30 AM - 10:15 AM
CON6373
Cloud Integration Best Practices—Customer Panel
10:45 AM - 11:30 AM
CON7942
Introduction to Oracle SOA Suite 12.2.1 Operations
10:45 AM - 11:30 AM
CON7993
Boost SaaS and On-Premises Connectivity: Leverage Oracle Cloud Adapters
1:15 PM - 2:00 PM
Oracle SOA Suite for Healthcare Integration: the Path to LargeCON10096 Scale Production Deployment
1:15 PM - 2:00 PM
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Oracle Service (SOA) & Cloud Integration Hand-On Labs: HOL10440
Secure Managed File Exchange for the Hybrid Cloud
Monday, Oct 26: 11:00 AM - 12:00 PM
HOL10756
Oracle API Manager Cloud Service Plus Oracle SOA Cloud Service—Developer Speed and Innovation
Monday, Oct 26: 11:00 AM - 12:00 PM
Hotel Nikko—Mendocino I/II
HOL10414
Explore Real-Time Business Data: Oracle Stream Explorer and Oracle Business Activity Monitoring
Tues, Oct 27: 10:15 - 11:15 AM
Hotel Nikko—Nikko Ballroom III
HOL10759
Integration of SaaS and On-Premises Applications with Oracle Integration Cloud Service
Tues, Oct 27 11:45 AM - 12:45 PM
Hotel Nikko—Mendocino I/II
HOL10461
Achieving Greater Operational Efficiency with Oracle SOA Suite
Wed, Oct 28 4:15 PM - 5:15 PM
Hotel Nikko—Nikko Ballroom III
HOL10416
Using Oracle Service Bus to Power Your Integration Today and into the Future
Thurs, Oct 29 2:00 PM - 3:00 PM
Hotel Nikko—Nikko Ballroom III
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Hotel Nikko—Nikko Ballroom III
Oracle Service (SOA) & Cloud Integration Demo Pods SLM | 021
Oracle B2B, Oracle Healthcare, and Oracle Managed File Transfer
SLM | 023
Oracle Business Activity Monitoring and Oracle Real-Time Integration Business Insight
SLM | 024
Oracle API Management
SLM | 026
Oracle Stream Explorer
SLM | 027
Oracle Integration Adapters: Rich and Comprehensive Connectivity to SaaS, On-Premises, and More
SLM | 028
Oracle Integration Platform for Services
SPI | 031
Oracle SOA Cloud Service
SPI | 031
Oracle Integration Cloud Service
Moscone South, Lower Left, Middleware
Moscone South, Oracle Cloud Platform and Infrastructure Showcase
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
Keep Learning with Oracle University
Classroom Training
Cloud
Learning Subscription
Technology
Live Virtual Class
Applications
Training On Demand
Industries
education.oracle.com Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
42
Session Surveys Help us help you!! • The OpenWorld Organizing committee would like to invite you to take a moment to give us your session feedback. Your feedback will help us to improve your conference. • Please be sure to add your feedback for your attended sessions by using the Mobile Survey or in Schedule Builder.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
43
Safe Harbor Statement The preceding is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
44
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |
45