SlideShare a Scribd company logo
munz & more
Microservices
Runtimes
OTN LatAm Tour / August 2017 Dr. Frank Munz
2
Frank Munz
• Founded munz & more in 2007
• 17 years Oracle Middleware,
Cloud, and Distributed Computing
• Consulting and
High-End Training
• Wrote two Oracle WLS and
one Cloud book
Microservices
Microservices
Developing a single application as
• a suite of small services
• each running in its own process / owns it‘s data
• communicating with lightweight mechanisms
(Definition: M. Fowler / J. Lewis)
https://martinfowler.com/articles/microservices.html
Frank Munz / OTN Latam 2016 #5
Service owns its data
Less enterprise, more application centric
Continuous Unlocking
How to Model?
munz & more #6
„… consider
starting
monolithic
first …”
munz & more #7
Sam Newman:
Eric Evans describes
“bounded contexts” in
his DDD book.
munz & more #8
published 2003
How Big is Micro?
4950 Calories
munz & more #9
How Big is Micro?
munz & more #10
Martin Fowler (quotes Amazon):
We understand efficient teams
munz & more #11
Picture this …
String encrypt (String input)
10 Mio USD
3 people
or 30 people?
munz & more #12
Communication
DB1
μ1
DB2
μ2direct call ?
REST?/Kafka
Process
{apiGW}
Communication Overhead
Rough approximation:
network call / local call
munz & more #14
Communication Overhead
Rough approximation:
0,003 s / 10^-9 s
munz & more #15
Communication Overhead
3.000.000 x
munz & more #16
What the Experts say (A. Cockroft)
munz & more #17
https://read.acloud.guru/evolution-of-business-logic-from-monoliths-through-microservices-to-functions-ff464b95a44d
Recommended read:
Successful Microservices!
• Uber, Netflix etc.
• Fully automated CI / CD
• Automated testing
• Sometimes polyglot
• Top notch devops teams
• Large scale, single purpose apps
• Extensive monitoring
munz & more #18
Microservices
Runtimes
Application Container
Cloud Service
Microservices Runtimes
ACCS
• Polyglot: Java, node.js, PHP,
Python and Ruby
• Java: Upload compiled zipped Java
classes + JSON file with start command
• Easy to deploy and operate
• Lightweight: deployments run in containers
Polyglot,	easy	to	use	microservices	runtime
Java CS
Create JCS
munz & more #24
Java CS
• Multi-module deployment is not a microservice
architecture.
• WebLogic Partitions:
– share same JVM…
– Dependancy on admin server
• Standalone Multi-server topologies could serve
as microservices runtime
– Full Java EE -> heavy infrastructure / footprint
– Licensing
munz & more #25
WLS
a.war b.war
a.war
WLS
P1 P2
a.war
WLS WLS
b.wara.war
Multi	module	deployment
WebLogic	Partitions
Multi-server	topology
Not	really	a	microservices	runtime
WebLogic Microservice Edition?
It should be
• Single instance
• No domain
• No cluster
• Lightweight
Stay tuned …
munz & more #26
Docker
based Runtimes
Welcome Mini J
Artesania Raspi cluster runs
• Docker
• Docker Swarm
• Kubernetes
Live hacking session at
Oracle CODE 2017 CDMX
DIY Raspi Docker Cluster
munz & more #29
Component Price
Raspi 4x	38€
Micro	SD	 4x	11€
Power 28€
Wifi 22€
Case 30€
Wires 10€
Kubernetes
Google Kubernetes
munz & more #31
Docker Swarm
Docker Swarm
munz & more #33
Swarm vs. Kubernetes
Swarm …
• Wasn’t impressive when released,
but this has changed
• Is easier to understand
and to operate
• Covers a lot of what K8s does
• Only secure mode
– automatic TLS certs
• Is built-in and tightly linked to Docker API
munz & more #34
Docker	Swarm	&	K8s: flexible	microservices	RT,	but	bring	operational	complexity
Oracle Container
Cloud Service
(OCCS)
OCCS
munz & more #36
OCCS
• OCCS = Oracle’s container cloud service
• Abstracts away complexity of Kubernetes or Docker
Swarm
– Neither based on Swarm nor Kubernetes
• Uses service concept like in Swarm
• Integrates with Docker Hub, Wercker, Developer CS
• Allows deployment of stacks
• PaaS: Very easy to use (e.g. docker run …)
munz & more #37
Docker	based	microservices	runtime.	Easier	to	operate	than	Swarm	or	Kubernetes.
Function as
a Service
AWS	Example	used	here.	FaaS was	announced	at	OOW	2016.
Edit Code / Upload
munz & more #39
event: event passed to
function
context: runtime context
callback: optional return
(or null)
Definition: Function as a Service
• Auto scaling
• True pay per use
• Stateless
• Event based
munz & more #40
Definition
• Choose memory
-> compute power
• Using container tech
Characteristics
FaaS vs. K8s Microservices
FaaS fulfills M. Fowler’s microservices definition
munz & more #41
AWS Lambda compared to Docker with Kubernetes
✅
Benefits	of	FaaS
- serverless
- zero	config auto	scaling	
- true	pay	per	use
->	higher	abstraction
Limits	of	FaaS
- language/framework	choice
- resource	limits
- execution	time	/	size
- vendor	lock-in
->	reduced	flexibility
munz & more #42
Is	𝛌 the	new	μ ?
FaaS:	Fullfill microservices	criteria.	Low	price,	automatic	scaling.	Vendor	lock-in?
There is more needed
to succed with
microservices ...
1.) Your Organization
Conway’s Law
2.) Automation and Monitoring
• Developer Cloud Service
– Builds and runs deployments for ACCS, JCS
• Wercker (free!)
– Provisions software in Docker Containers
munz & more #45
Wercker
• Recently acquired by Oracle
• Pipelines execute steps on code
– Pipelines == series of steps
– Execute inside Docker container
• Workflows
– chained and branched pipelines
– Represented as wercker.yaml in github
• Quickly provision ready to run container infrastructure
– Connects to github for source
– Push images to Docker hub (or any registry)
– Restart OCCS via webhooks
munz & more #46
https://app.wercker.com
munz & more #47
Microservices Runtimes
Oracle
JCS
Oracle
ACCS
Swarm Kubernetes Oracle
OCCS
FaaS
Docker
Polyglot No Yes Yes Yes Yes Yes
Size	
infrastructure
L/XL S S S S XS
Complexity L S M XL S XS
Elasticity auto
(complex)
easy	scale scale scale easy	scale auto
Stateless No
(SLSB)
(Yes) Yes Yes Yes Yes
Event based No
(JMS)
No No No No Yes
TL;DR #microservices #runtimes
Tradeoff: flexibility vs
simplicity / ACCS is easy,
lightweight & polyglot /
Docker: Swarm vs Kubernetes vs
OCCS / FaaS: true pay per use
& automatic scale & stateless
/ 𝛌 could be the new µ!
@frankmunz
www.linkedin.com/in/frankmunz/
www.munzandmore.com/blog
facebook.com/cloudcomputingbook
facebook.com/weblogicbook
@frankmunz
youtube.com/weblogicbook
-> more than 50 web casts
Don’t be
shy J
• Graphics on title page by M. Fowler
https://martinfowler.com/articles/microservices/images/sketch.png

More Related Content

PDF
Serverless / FaaS / Lambda and how it relates to Microservices
PDF
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
PDF
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
PDF
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
PDF
"[WORKSHOP] K8S for developers", Denis Romanuk
PPTX
Why docker | OSCON 2013
PPTX
Multi tenancy for docker
PPTX
The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...
Serverless / FaaS / Lambda and how it relates to Microservices
Oracle CODE 2017 San Francisco: Docker on Raspi Swarm to OCCS
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
Oracle Java Cloud Service JCS (and WebLogic 12c) - What you Should Know
"[WORKSHOP] K8S for developers", Denis Romanuk
Why docker | OSCON 2013
Multi tenancy for docker
The Good, the Bad and the Ugly of Networking for Microservices by Mathew Lodg...

What's hot (20)

PDF
Cloudfoundry Overview
PPTX
Server 2016 sneak peek
PPTX
Containers vs. VMs: It's All About the Apps!
PDF
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
PPTX
Docker and Microsoft - Windows Server 2016 Technical Deep Dive
PDF
Docker HK Meetup - 201707
PDF
How we dockerized a startup? #meetup #docker
PPTX
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
PPTX
VMware Hybrid Cloud Service - Overview
PPTX
OpenStack Icehouse Overview
PPTX
Windows Server and Docker - The Internals Behind Bringing Docker and Containe...
PDF
Orchestrating Linux Containers while tolerating failures
PDF
Docker Birthday #3 - Intro to Docker Slides
PPTX
Docker Introduction
PDF
Docker & kubernetes
PPTX
Docker Datacenter Overview and Production Setup Slides
PPTX
Docker 101 - Nov 2016
PPTX
Docker SF Meetup January 2016
PPTX
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
PDF
Innovating faster with SBT, Continuous Delivery, and LXC
Cloudfoundry Overview
Server 2016 sneak peek
Containers vs. VMs: It's All About the Apps!
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Docker and Microsoft - Windows Server 2016 Technical Deep Dive
Docker HK Meetup - 201707
How we dockerized a startup? #meetup #docker
Serverless Presentation from Devoxx 2017 Casablanca (AWS Lambda / FaaS / Fn ...
VMware Hybrid Cloud Service - Overview
OpenStack Icehouse Overview
Windows Server and Docker - The Internals Behind Bringing Docker and Containe...
Orchestrating Linux Containers while tolerating failures
Docker Birthday #3 - Intro to Docker Slides
Docker Introduction
Docker & kubernetes
Docker Datacenter Overview and Production Setup Slides
Docker 101 - Nov 2016
Docker SF Meetup January 2016
CloudStack vs OpenStack vs Eucalyptus: IaaS Private Cloud Brief Comparison
Innovating faster with SBT, Continuous Delivery, and LXC
Ad

Similar to Microservices Runtimes (20)

PDF
Rami Sayar - Node microservices with Docker
PPTX
The Microservices world in. NET Core and. NET framework
PPTX
Accelerate DevOps/Microservices and Kubernetes
PDF
node.js and Containers: Dispatches from the Frontier
PDF
Monolithic to Microservices Architecture
PPTX
Accelerate Delivery: Business case for Agile DevOps, CI/CD and Microservices
PPTX
Microservices deck
PDF
MongoDB Europe 2016 - Powering Microservices with Docker, Kubernetes, and Kafka
PPTX
Building Micro-Services with Scala
PPTX
doitUNIT I - Docker-Containerization.pptx
PPTX
Cloud 2.0: Containers, Microservices and Cloud Hybridization
PPTX
Containerization - The DevOps Revolution
PPTX
Exploring microservices in a Microsoft landscape
PPTX
Microservices
PPTX
Docker - HieuHoang
PDF
Microservices with Spring Cloud
PPTX
Serverless: The next major shift in cloud computing
PDF
Serverless brewbox
PPTX
WSO2 Workshop Sydney 2016 - Microservices
PPTX
Kubernetes solutions
Rami Sayar - Node microservices with Docker
The Microservices world in. NET Core and. NET framework
Accelerate DevOps/Microservices and Kubernetes
node.js and Containers: Dispatches from the Frontier
Monolithic to Microservices Architecture
Accelerate Delivery: Business case for Agile DevOps, CI/CD and Microservices
Microservices deck
MongoDB Europe 2016 - Powering Microservices with Docker, Kubernetes, and Kafka
Building Micro-Services with Scala
doitUNIT I - Docker-Containerization.pptx
Cloud 2.0: Containers, Microservices and Cloud Hybridization
Containerization - The DevOps Revolution
Exploring microservices in a Microsoft landscape
Microservices
Docker - HieuHoang
Microservices with Spring Cloud
Serverless: The next major shift in cloud computing
Serverless brewbox
WSO2 Workshop Sydney 2016 - Microservices
Kubernetes solutions
Ad

More from Frank Munz (8)

PDF
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
PDF
Docker from A to Z, including Swarm and OCCS
PPTX
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
PDF
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
PDF
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
PDF
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
PDF
WebLogic JMX for DevOps
PDF
Oracle Service Bus (OSB) for the Busy IT Professonial
Java One 2017: Open Source Big Data in the Cloud: Hadoop, M/R, Hive, Spark an...
Docker from A to Z, including Swarm and OCCS
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
What You Should Know About WebLogic Server 12c (12.2.1.2) #oow2015 #otntour2...
Docker in the Oracle Universe / WebLogic 12c / OFM 12c
12 Things About WebLogic 12.1.3 #oow2014 #otnla15
WebLogic JMX for DevOps
Oracle Service Bus (OSB) for the Busy IT Professonial

Recently uploaded (20)

PPTX
artificial intelligence overview of it and more
PPTX
CSharp_Syntax_Basics.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PPTX
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
PPTX
Digital Literacy And Online Safety on internet
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
Behind the Smile Unmasking Ken Childs and the Quiet Trail of Deceit Left in H...
DOCX
Unit-3 cyber security network security of internet system
PPTX
innovation process that make everything different.pptx
PPTX
QR Codes Qr codecodecodecodecocodedecodecode
PDF
“Google Algorithm Updates in 2025 Guide”
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PPTX
international classification of diseases ICD-10 review PPT.pptx
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
artificial intelligence overview of it and more
CSharp_Syntax_Basics.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxx
durere- in cancer tu ttresjjnklj gfrrjnrs mhugyfrd
Digital Literacy And Online Safety on internet
Paper PDF World Game (s) Great Redesign.pdf
LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1
Triggering QUIC, presented by Geoff Huston at IETF 123
Slides PPTX World Game (s) Eco Economic Epochs.pptx
An introduction to the IFRS (ISSB) Stndards.pdf
The Internet -By the Numbers, Sri Lanka Edition
Behind the Smile Unmasking Ken Childs and the Quiet Trail of Deceit Left in H...
Unit-3 cyber security network security of internet system
innovation process that make everything different.pptx
QR Codes Qr codecodecodecodecocodedecodecode
“Google Algorithm Updates in 2025 Guide”
presentation_pfe-universite-molay-seltan.pptx
Module 1 - Cyber Law and Ethics 101.pptx
international classification of diseases ICD-10 review PPT.pptx
Unit-1 introduction to cyber security discuss about how to secure a system
Slides PDF The World Game (s) Eco Economic Epochs.pdf

Microservices Runtimes