SlideShare a Scribd company logo
1 of 54
Download to read offline
Hugh McKee (@mckeeh3), Developer Advocate
Akka and Kubernetes:
The beginning of a beautiful relationship
Hugh McKee (@mckeeh3), Developer Advocate
Hugh McKee (@mckeeh3), Developer Advocate
Hugh McKee (@mckeeh3), Developer Advocate
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
The actor model in computer science is a mathematical model of
concurrent computation that treats "actors" as the universal primitives
of concurrent computation. In response to a message that it receives,
an actor can: make local decisions, create more actors, send more
messages, and determine how to respond to the next message
received. Actors may modify their own private state, but can only affect
each other through messages (avoiding the need for any locks).
Wikipedia
Akka cluster and Kubernetes
Live demo
“Crop Circle”
Shows
Running Pods / JVMs
“Crop Circle”
Shows
Running Pods / JVMs
POD / JVM
POD / JVM
POD / JVM
Entity
Shard
Singleton
HTTP Server
Pod
Entities added as needed
Inactive entities shutdown
Microservice Application
Resilience and Scale Demo
The enabler of these characteristics is a Cloud-Ready Message Driven Model.
Lightbend codified these principles into the Reactive Manifesto in 2013; 24,000+ signatories around the world so far.
Responsive Resilient Elastic
React to
Users
React to
Failures
React to
Load Variance
Low latency / High
performance
Real-time / NRT
Graceful, Non-catastrophic
Recovery
Self-Healing
Responsive in the face of
changing loads
Reactive Systems
Java Maven K8
Project Review
Clustered Entity Actors
You
entity 64
Load Balancer
Me
entity 17
Other
entity 76
You
entity 64
Load Balancer
Me
entity 17
Other
entity 76
Clustered Entity Actors
Code Review
Load Balancer
Pod 1
Load Balancer
Pod 2Pod 1 Pod 3
Load Balancer
Pod 2Pod 1 Pod 3
Distributed Actors
Cluster Aware
Actors
Distributed Actors
Cluster Aware
Actors
Distributed Actors
Cluster Aware
Actors
Distributed Actors
Cluster Aware
Actors
Distributed Actors
Cluster Aware
Actors
Distributed Actors
Cluster Aware
Actors
Cluster Aware Actors
Code Review
Shard Distribution
Akka Cluster Singleton
Shard Distribution
Akka Cluster Singleton
Shard Distribution
Akka Cluster Singleton
Entity Distributed Sharding
Akka Cluster Sharding
Entity Distributed
Sharding
Akka Cluster Sharding
Event Sourcing & CQRS
Akka Persistence & Persistence Query
Event Sourcing & CQRS
Akka Persistence &
Persistence Query
User ID Time Event
You 64 08:11 Add Item 1567
Me 17 08:15 Add Item 3254
Other 76 08:16 Add Item 8359
You 64 08:20 Add Item 2632
Me 17 08:20 Add Item 4983
Other 76 08:24 Change Item 8359
You 64 08:25 Remove Item 1567
You 64 08:26 Add shipping address
Other 76 08:30 Add Item 2438
Me 17 08:33 Add shipping address
Me 17 08:33 Add billing address
You 64 08:35 Add billing address
Event Sourcing & CQRS
You
entity 64
Load Balancer
Me
entity 17
Other
entity 76
Akka Reactive Systems and Kubernetes
Responsive Resilient Elastic
React to
Users
React to
Failures
React to
Load Variance
Low latency / High
performance
Real-time / NRT
Graceful, Non-catastrophic
Recovery
Self-Healing
Responsive in the face of
changing loads
a beautiful relationship
/akka-java-cluster-openshift
/akka-java-cluster.git
/akka-java-cluster-aware.git
/akka-java-cluster-singleton.git
/akka-java-cluster-sharding.git
/akka-java-cluster-persistence.git
/akka-java-cluster-persistence-query.git
https://github.com/mckeeh3…
Upgrade your grey matter!

Get the free O’Reilly book by Hugh McKee, 

Developer Advocate at Lightbend
https://www.lightbend.com/ebooks
Hugh McKee (@mckeeh3), Developer Advocate
hugh.mckee@lightbend.com
Akka and Kubernetes:
The beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationship

More Related Content

Similar to Akka and Kubernetes, the beginning of a beautiful relationship

Evolution as a Tool for Understanding and Designing Collaborative Systems
Evolution as a Tool for Understanding and Designing Collaborative SystemsEvolution as a Tool for Understanding and Designing Collaborative Systems
Evolution as a Tool for Understanding and Designing Collaborative SystemsWilfried Elmenreich
 
Go Reactive: Event-Driven, Scalable, Resilient & Responsive Systems
Go Reactive: Event-Driven, Scalable, Resilient & Responsive SystemsGo Reactive: Event-Driven, Scalable, Resilient & Responsive Systems
Go Reactive: Event-Driven, Scalable, Resilient & Responsive SystemsJonas Bonér
 
Fun with Functional Programming in Clojure - John Stevenson - Codemotion Amst...
Fun with Functional Programming in Clojure - John Stevenson - Codemotion Amst...Fun with Functional Programming in Clojure - John Stevenson - Codemotion Amst...
Fun with Functional Programming in Clojure - John Stevenson - Codemotion Amst...Codemotion
 
Coates p: 1999 agent based modelling
Coates p: 1999 agent based modellingCoates p: 1999 agent based modelling
Coates p: 1999 agent based modellingArchiLab 7
 
User needs and legally ruled collaboration in the VirtualLife virtual world p...
User needs and legally ruled collaboration in the VirtualLife virtual world p...User needs and legally ruled collaboration in the VirtualLife virtual world p...
User needs and legally ruled collaboration in the VirtualLife virtual world p...Vytautas Čyras
 
Artificial intelligence apporoach to robotics
Artificial intelligence apporoach to roboticsArtificial intelligence apporoach to robotics
Artificial intelligence apporoach to roboticsEr. rahul abhishek
 
Pete^2 - research presentation wk7
Pete^2 - research presentation wk7Pete^2 - research presentation wk7
Pete^2 - research presentation wk7guest8a50ac
 
Framsticks
FramsticksFramsticks
FramsticksSayyed Z
 
Reactive applications and Akka intro used in the Madrid Scala Meetup
Reactive applications and Akka intro used in the Madrid Scala MeetupReactive applications and Akka intro used in the Madrid Scala Meetup
Reactive applications and Akka intro used in the Madrid Scala MeetupMiguel Pastor
 
Functional Programming with Immutable Data Structures
Functional Programming with Immutable Data StructuresFunctional Programming with Immutable Data Structures
Functional Programming with Immutable Data Structureselliando dias
 
Oop2011 actor presentation_stal
Oop2011 actor presentation_stalOop2011 actor presentation_stal
Oop2011 actor presentation_stalMichael Stal
 
Agent architectures
Agent architecturesAgent architectures
Agent architecturesguesta6bfe2
 
Scaling software with akka
Scaling software with akkaScaling software with akka
Scaling software with akkascalaconfjp
 
An Introduction to Network Theory
An Introduction to Network TheoryAn Introduction to Network Theory
An Introduction to Network TheorySocialphysicist
 
Complexity and Freedom
Complexity and FreedomComplexity and Freedom
Complexity and FreedomFlemming Funch
 
Could A Model Of Predictive Voting Explain Many Long-Range Connections? by Su...
Could A Model Of Predictive Voting Explain Many Long-Range Connections? by Su...Could A Model Of Predictive Voting Explain Many Long-Range Connections? by Su...
Could A Model Of Predictive Voting Explain Many Long-Range Connections? by Su...Numenta
 

Similar to Akka and Kubernetes, the beginning of a beautiful relationship (20)

Evolution as a Tool for Understanding and Designing Collaborative Systems
Evolution as a Tool for Understanding and Designing Collaborative SystemsEvolution as a Tool for Understanding and Designing Collaborative Systems
Evolution as a Tool for Understanding and Designing Collaborative Systems
 
Go Reactive: Event-Driven, Scalable, Resilient & Responsive Systems
Go Reactive: Event-Driven, Scalable, Resilient & Responsive SystemsGo Reactive: Event-Driven, Scalable, Resilient & Responsive Systems
Go Reactive: Event-Driven, Scalable, Resilient & Responsive Systems
 
Fun with Functional Programming in Clojure - John Stevenson - Codemotion Amst...
Fun with Functional Programming in Clojure - John Stevenson - Codemotion Amst...Fun with Functional Programming in Clojure - John Stevenson - Codemotion Amst...
Fun with Functional Programming in Clojure - John Stevenson - Codemotion Amst...
 
Coates p: 1999 agent based modelling
Coates p: 1999 agent based modellingCoates p: 1999 agent based modelling
Coates p: 1999 agent based modelling
 
User needs and legally ruled collaboration in the VirtualLife virtual world p...
User needs and legally ruled collaboration in the VirtualLife virtual world p...User needs and legally ruled collaboration in the VirtualLife virtual world p...
User needs and legally ruled collaboration in the VirtualLife virtual world p...
 
Artificial intelligence apporoach to robotics
Artificial intelligence apporoach to roboticsArtificial intelligence apporoach to robotics
Artificial intelligence apporoach to robotics
 
Pete^2 - research presentation wk7
Pete^2 - research presentation wk7Pete^2 - research presentation wk7
Pete^2 - research presentation wk7
 
Framsticks
FramsticksFramsticks
Framsticks
 
Reactive applications and Akka intro used in the Madrid Scala Meetup
Reactive applications and Akka intro used in the Madrid Scala MeetupReactive applications and Akka intro used in the Madrid Scala Meetup
Reactive applications and Akka intro used in the Madrid Scala Meetup
 
Functional Programming with Immutable Data Structures
Functional Programming with Immutable Data StructuresFunctional Programming with Immutable Data Structures
Functional Programming with Immutable Data Structures
 
Individual based models
Individual based modelsIndividual based models
Individual based models
 
Oop2011 actor presentation_stal
Oop2011 actor presentation_stalOop2011 actor presentation_stal
Oop2011 actor presentation_stal
 
Agent architectures
Agent architecturesAgent architectures
Agent architectures
 
Agent architectures
Agent architecturesAgent architectures
Agent architectures
 
Scaling software with akka
Scaling software with akkaScaling software with akka
Scaling software with akka
 
Ai applications study
Ai applications  studyAi applications  study
Ai applications study
 
Ai applications study
Ai applications  studyAi applications  study
Ai applications study
 
An Introduction to Network Theory
An Introduction to Network TheoryAn Introduction to Network Theory
An Introduction to Network Theory
 
Complexity and Freedom
Complexity and FreedomComplexity and Freedom
Complexity and Freedom
 
Could A Model Of Predictive Voting Explain Many Long-Range Connections? by Su...
Could A Model Of Predictive Voting Explain Many Long-Range Connections? by Su...Could A Model Of Predictive Voting Explain Many Long-Range Connections? by Su...
Could A Model Of Predictive Voting Explain Many Long-Range Connections? by Su...
 

More from Hugh McKee

The End of the Data Ice Age.pdf
The End of the Data Ice Age.pdfThe End of the Data Ice Age.pdf
The End of the Data Ice Age.pdfHugh McKee
 
How Secure Serverless Microservice Platforms Completely Change Dev & Ops.pdf
How Secure Serverless Microservice Platforms Completely Change Dev & Ops.pdfHow Secure Serverless Microservice Platforms Completely Change Dev & Ops.pdf
How Secure Serverless Microservice Platforms Completely Change Dev & Ops.pdfHugh McKee
 
From Monolithic Microservices to Micro Streams.pdf
From Monolithic Microservices to Micro Streams.pdfFrom Monolithic Microservices to Micro Streams.pdf
From Monolithic Microservices to Micro Streams.pdfHugh McKee
 
Microservice design patterns
Microservice design patternsMicroservice design patterns
Microservice design patternsHugh McKee
 
How to build megaservices mind7 2021 June 29
How to build megaservices   mind7 2021 June 29How to build megaservices   mind7 2021 June 29
How to build megaservices mind7 2021 June 29Hugh McKee
 
Yavaconf 2021 building io t digital twins with java and akka
Yavaconf 2021 building io t digital twins with java and akkaYavaconf 2021 building io t digital twins with java and akka
Yavaconf 2021 building io t digital twins with java and akkaHugh McKee
 
7 Reasons why your microservices should use Event Sourcing & CQRS
7 Reasons why your microservices should use Event Sourcing & CQRS7 Reasons why your microservices should use Event Sourcing & CQRS
7 Reasons why your microservices should use Event Sourcing & CQRSHugh McKee
 
The Evolution From Monolith to Microservices to Serverless and Beyond
The Evolution From Monolith to Microservices to Serverless and BeyondThe Evolution From Monolith to Microservices to Serverless and Beyond
The Evolution From Monolith to Microservices to Serverless and BeyondHugh McKee
 
7 reasons-why-es-cqrs
7 reasons-why-es-cqrs7 reasons-why-es-cqrs
7 reasons-why-es-cqrsHugh McKee
 
Akka and Kubernetes, the beginning of a beautiful relationship - JEEConf 19 Kiev
Akka and Kubernetes, the beginning of a beautiful relationship - JEEConf 19 KievAkka and Kubernetes, the beginning of a beautiful relationship - JEEConf 19 Kiev
Akka and Kubernetes, the beginning of a beautiful relationship - JEEConf 19 KievHugh McKee
 
Akka and Kubernetes, the beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationshipAkka and Kubernetes, the beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationshipHugh McKee
 
Akka and Kubernetes, the beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationshipAkka and Kubernetes, the beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationshipHugh McKee
 
Akka and-kubernetes
Akka and-kubernetesAkka and-kubernetes
Akka and-kubernetesHugh McKee
 
7 Reasons why your microservices should use Event Sourcing & CQRS
7 Reasons why your microservices should use  Event Sourcing & CQRS7 Reasons why your microservices should use  Event Sourcing & CQRS
7 Reasons why your microservices should use Event Sourcing & CQRSHugh McKee
 
Akka java-es-cqrs
Akka java-es-cqrsAkka java-es-cqrs
Akka java-es-cqrsHugh McKee
 

More from Hugh McKee (15)

The End of the Data Ice Age.pdf
The End of the Data Ice Age.pdfThe End of the Data Ice Age.pdf
The End of the Data Ice Age.pdf
 
How Secure Serverless Microservice Platforms Completely Change Dev & Ops.pdf
How Secure Serverless Microservice Platforms Completely Change Dev & Ops.pdfHow Secure Serverless Microservice Platforms Completely Change Dev & Ops.pdf
How Secure Serverless Microservice Platforms Completely Change Dev & Ops.pdf
 
From Monolithic Microservices to Micro Streams.pdf
From Monolithic Microservices to Micro Streams.pdfFrom Monolithic Microservices to Micro Streams.pdf
From Monolithic Microservices to Micro Streams.pdf
 
Microservice design patterns
Microservice design patternsMicroservice design patterns
Microservice design patterns
 
How to build megaservices mind7 2021 June 29
How to build megaservices   mind7 2021 June 29How to build megaservices   mind7 2021 June 29
How to build megaservices mind7 2021 June 29
 
Yavaconf 2021 building io t digital twins with java and akka
Yavaconf 2021 building io t digital twins with java and akkaYavaconf 2021 building io t digital twins with java and akka
Yavaconf 2021 building io t digital twins with java and akka
 
7 Reasons why your microservices should use Event Sourcing & CQRS
7 Reasons why your microservices should use Event Sourcing & CQRS7 Reasons why your microservices should use Event Sourcing & CQRS
7 Reasons why your microservices should use Event Sourcing & CQRS
 
The Evolution From Monolith to Microservices to Serverless and Beyond
The Evolution From Monolith to Microservices to Serverless and BeyondThe Evolution From Monolith to Microservices to Serverless and Beyond
The Evolution From Monolith to Microservices to Serverless and Beyond
 
7 reasons-why-es-cqrs
7 reasons-why-es-cqrs7 reasons-why-es-cqrs
7 reasons-why-es-cqrs
 
Akka and Kubernetes, the beginning of a beautiful relationship - JEEConf 19 Kiev
Akka and Kubernetes, the beginning of a beautiful relationship - JEEConf 19 KievAkka and Kubernetes, the beginning of a beautiful relationship - JEEConf 19 Kiev
Akka and Kubernetes, the beginning of a beautiful relationship - JEEConf 19 Kiev
 
Akka and Kubernetes, the beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationshipAkka and Kubernetes, the beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationship
 
Akka and Kubernetes, the beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationshipAkka and Kubernetes, the beginning of a beautiful relationship
Akka and Kubernetes, the beginning of a beautiful relationship
 
Akka and-kubernetes
Akka and-kubernetesAkka and-kubernetes
Akka and-kubernetes
 
7 Reasons why your microservices should use Event Sourcing & CQRS
7 Reasons why your microservices should use  Event Sourcing & CQRS7 Reasons why your microservices should use  Event Sourcing & CQRS
7 Reasons why your microservices should use Event Sourcing & CQRS
 
Akka java-es-cqrs
Akka java-es-cqrsAkka java-es-cqrs
Akka java-es-cqrs
 

Recently uploaded

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 

Akka and Kubernetes, the beginning of a beautiful relationship

  • 1. Hugh McKee (@mckeeh3), Developer Advocate Akka and Kubernetes: The beginning of a beautiful relationship
  • 2. Hugh McKee (@mckeeh3), Developer Advocate
  • 3. Hugh McKee (@mckeeh3), Developer Advocate
  • 4. Hugh McKee (@mckeeh3), Developer Advocate
  • 5. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 6. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 7. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 8. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 9. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 10. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 11. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 12. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 13. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 14. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 15. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 16. The actor model in computer science is a mathematical model of concurrent computation that treats "actors" as the universal primitives of concurrent computation. In response to a message that it receives, an actor can: make local decisions, create more actors, send more messages, and determine how to respond to the next message received. Actors may modify their own private state, but can only affect each other through messages (avoiding the need for any locks). Wikipedia
  • 17. Akka cluster and Kubernetes Live demo
  • 19. “Crop Circle” Shows Running Pods / JVMs POD / JVM POD / JVM POD / JVM
  • 21. Entities added as needed Inactive entities shutdown
  • 24. The enabler of these characteristics is a Cloud-Ready Message Driven Model. Lightbend codified these principles into the Reactive Manifesto in 2013; 24,000+ signatories around the world so far. Responsive Resilient Elastic React to Users React to Failures React to Load Variance Low latency / High performance Real-time / NRT Graceful, Non-catastrophic Recovery Self-Healing Responsive in the face of changing loads Reactive Systems
  • 33.
  • 46. Event Sourcing & CQRS Akka Persistence & Persistence Query
  • 47. Event Sourcing & CQRS Akka Persistence & Persistence Query
  • 48. User ID Time Event You 64 08:11 Add Item 1567 Me 17 08:15 Add Item 3254 Other 76 08:16 Add Item 8359 You 64 08:20 Add Item 2632 Me 17 08:20 Add Item 4983 Other 76 08:24 Change Item 8359 You 64 08:25 Remove Item 1567 You 64 08:26 Add shipping address Other 76 08:30 Add Item 2438 Me 17 08:33 Add shipping address Me 17 08:33 Add billing address You 64 08:35 Add billing address Event Sourcing & CQRS
  • 50. Akka Reactive Systems and Kubernetes Responsive Resilient Elastic React to Users React to Failures React to Load Variance Low latency / High performance Real-time / NRT Graceful, Non-catastrophic Recovery Self-Healing Responsive in the face of changing loads a beautiful relationship
  • 52. Upgrade your grey matter!
 Get the free O’Reilly book by Hugh McKee, 
 Developer Advocate at Lightbend https://www.lightbend.com/ebooks
  • 53. Hugh McKee (@mckeeh3), Developer Advocate hugh.mckee@lightbend.com Akka and Kubernetes: The beginning of a beautiful relationship