SlideShare a Scribd company logo
1 of 29
REACTING TO THE FUTURE OF
APPLICATION ARCHITECTURE
GRACE JANSEN
#jfall
SUBJECT
#jfall
Reacting to the future of
application architecture
Grace Jansen
Developer Advocate
IBM
@gracejansen27
SUBJECT
#jfall
Evolution of software
SUBJECT
#jfall
Bees and Software Link
#jfall
Food Foraging
#jfall
Long Live the Queen
#jfall
Bees atWar
#jfall
Reactive Manifesto
ResilientElastic
Message-
Driven
Responsive
#jfall
ReactiveArchitecture, the
future of application
architecture?
SUBJECT
#jfall
Reactive programming vs
Reactive systems
VS
SUBJECT
#jfall
So, how can we enable these reactive
bee-haviours?
• Context
• Model
• Bounded Context
• Ubiquitous Language
• Aggregate Roots
@gracejansen27
#jfall
Domain Driven Design
(DDD)
SUBJECT
#jfall
Asynchronous Communication
SUBJECT
#jfall
Event-Sourcing/CQRS
SUBJECT
#jfall
High Availability / Eventual
Consistency
#jfall
Sharding
SUBJECT
#jfall
Back Pressure
SUBJECT
#jfall
Bulkheading
#jfall
Circuit Breaking
#jfall
Reactive Frameworks
#jfall
RealWorld Example -Verizon
175MVisits/Month
50M UniqueVisitors/Month
2.5 Billion Interactions/Year
88% Interactions are Digital
48% Digital Sales on Mobile Devices
Always Up For Iconic Launch
#jfall
RealWorld Example
• Conversion rate UP by 1.6x (from 1.9% to 3.1%)
• Page response time improved from 7-10 seconds to 2-3 seconds
• Runs using 1/8th of Infrastructure
• Deployment time improved from 4-8 hours to 30 minutes
• Developers are 20-40% more productive
• Order completion improved from 41 minutes to 27 minutes
SUBJECT
#jfall
Why should you care?
ResilientElastic
Message-
Driven
Responsive
SUBJECT
#jfall
What CanYou Do?
SUBJECT
#jfall
Links to Learn More
• https://www.reactivemanifesto.org/
• https://developer.ibm.com/series/reactive-in-practice/
• https://www.oreilly.com/learning/why-reactive
• https://www.lightbend.com/blog/understand-reactive-architecture-
design-and-programming-in-less-than-12-minutes
• https://akka.io/
• https://www.lagomframework.com/
• https://vertx.io/
• https://www.lightbend.com/case-studies
• https://towardsdatascience.com/cap-theorem-and-distributed-
database-management-systems-5c2be977950e
SUBJECT
#jfall
Thank You
@gracejansen27
https://www.linkedin.co
m/in/grace-jansen/
“Please rate my talk in
the official J-Fall app”
#jfall
JFall19 Reacting to the Future of Application Architecture
JFall19 Reacting to the Future of Application Architecture

More Related Content

Similar to JFall19 Reacting to the Future of Application Architecture

Voxxed microservices Reactive Bees
Voxxed microservices Reactive BeesVoxxed microservices Reactive Bees
Voxxed microservices Reactive BeesGrace Jansen
 
TDC - Reacting to the future of application architecture
TDC - Reacting to the future of application architectureTDC - Reacting to the future of application architecture
TDC - Reacting to the future of application architectureGrace Jansen
 
W-Jax - Reacting to the Future of Application Architecture
W-Jax - Reacting to the Future of Application ArchitectureW-Jax - Reacting to the Future of Application Architecture
W-Jax - Reacting to the Future of Application ArchitectureGrace Jansen
 
JVMCon - Reacting to the future of application architecture
JVMCon - Reacting to the future of application architectureJVMCon - Reacting to the future of application architecture
JVMCon - Reacting to the future of application architectureGrace Jansen
 
CDC 2019 - Reacting to the future of application architecture
CDC 2019 - Reacting to the future of application architectureCDC 2019 - Reacting to the future of application architecture
CDC 2019 - Reacting to the future of application architectureGrace Jansen
 
Functional Programmer's Starter Kit
Functional Programmer's Starter KitFunctional Programmer's Starter Kit
Functional Programmer's Starter KitGarreth Dottin
 
DevoxxMA - Reacting to the future of application architecture
DevoxxMA - Reacting to the future of application architectureDevoxxMA - Reacting to the future of application architecture
DevoxxMA - Reacting to the future of application architectureGrace Jansen
 
CodeCamp Cluj Napoca - Reacting to the future of application architecture
CodeCamp Cluj Napoca - Reacting to the future of application architectureCodeCamp Cluj Napoca - Reacting to the future of application architecture
CodeCamp Cluj Napoca - Reacting to the future of application architectureGrace Jansen
 
Overcoming Continuous Delivery Impedance
Overcoming Continuous Delivery ImpedanceOvercoming Continuous Delivery Impedance
Overcoming Continuous Delivery ImpedanceMark Rendell
 
Building Enterprise Apps with ASP.NET Core 2.1
Building Enterprise Apps with ASP.NET Core 2.1Building Enterprise Apps with ASP.NET Core 2.1
Building Enterprise Apps with ASP.NET Core 2.1Jason Taylor
 
DevNexus 2019 - Reacting to the future of application architecture (Full Conf...
DevNexus 2019 - Reacting to the future of application architecture (Full Conf...DevNexus 2019 - Reacting to the future of application architecture (Full Conf...
DevNexus 2019 - Reacting to the future of application architecture (Full Conf...Grace Jansen
 
Devoxx UK - Reacting to the future of application architecture
Devoxx UK - Reacting to the future of application architectureDevoxx UK - Reacting to the future of application architecture
Devoxx UK - Reacting to the future of application architectureGrace Jansen
 
Being Reactive with Spring
Being Reactive with SpringBeing Reactive with Spring
Being Reactive with SpringKris Galea
 
Functional Browser Automation Testing for Newbs
Functional Browser Automation Testing for NewbsFunctional Browser Automation Testing for Newbs
Functional Browser Automation Testing for NewbsBryan Arendt
 
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and HowBoston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and HowAndreas Grabner
 
Red Hat JBoss xPaaS Keynote at Devoxx Belgium 2014
Red Hat JBoss xPaaS Keynote at Devoxx Belgium 2014Red Hat JBoss xPaaS Keynote at Devoxx Belgium 2014
Red Hat JBoss xPaaS Keynote at Devoxx Belgium 2014Markus Eisele
 
Firebase: What you need to know
Firebase: What you need to knowFirebase: What you need to know
Firebase: What you need to knowJielynn Diroy
 
Get your mobile app in production in 3 months: Native and Reactive Mobile Apps
Get your mobile app in production in 3 months: Native and Reactive Mobile AppsGet your mobile app in production in 3 months: Native and Reactive Mobile Apps
Get your mobile app in production in 3 months: Native and Reactive Mobile AppsAckee
 
Reactive Microservices with Quarkus
Reactive Microservices with QuarkusReactive Microservices with Quarkus
Reactive Microservices with QuarkusNiklas Heidloff
 

Similar to JFall19 Reacting to the Future of Application Architecture (20)

Voxxed microservices Reactive Bees
Voxxed microservices Reactive BeesVoxxed microservices Reactive Bees
Voxxed microservices Reactive Bees
 
TDC - Reacting to the future of application architecture
TDC - Reacting to the future of application architectureTDC - Reacting to the future of application architecture
TDC - Reacting to the future of application architecture
 
W-Jax - Reacting to the Future of Application Architecture
W-Jax - Reacting to the Future of Application ArchitectureW-Jax - Reacting to the Future of Application Architecture
W-Jax - Reacting to the Future of Application Architecture
 
JVMCon - Reacting to the future of application architecture
JVMCon - Reacting to the future of application architectureJVMCon - Reacting to the future of application architecture
JVMCon - Reacting to the future of application architecture
 
CDC 2019 - Reacting to the future of application architecture
CDC 2019 - Reacting to the future of application architectureCDC 2019 - Reacting to the future of application architecture
CDC 2019 - Reacting to the future of application architecture
 
Functional Programmer's Starter Kit
Functional Programmer's Starter KitFunctional Programmer's Starter Kit
Functional Programmer's Starter Kit
 
DevoxxMA - Reacting to the future of application architecture
DevoxxMA - Reacting to the future of application architectureDevoxxMA - Reacting to the future of application architecture
DevoxxMA - Reacting to the future of application architecture
 
CodeCamp Cluj Napoca - Reacting to the future of application architecture
CodeCamp Cluj Napoca - Reacting to the future of application architectureCodeCamp Cluj Napoca - Reacting to the future of application architecture
CodeCamp Cluj Napoca - Reacting to the future of application architecture
 
Overcoming Continuous Delivery Impedance
Overcoming Continuous Delivery ImpedanceOvercoming Continuous Delivery Impedance
Overcoming Continuous Delivery Impedance
 
Building Enterprise Apps with ASP.NET Core 2.1
Building Enterprise Apps with ASP.NET Core 2.1Building Enterprise Apps with ASP.NET Core 2.1
Building Enterprise Apps with ASP.NET Core 2.1
 
DevNexus 2019 - Reacting to the future of application architecture (Full Conf...
DevNexus 2019 - Reacting to the future of application architecture (Full Conf...DevNexus 2019 - Reacting to the future of application architecture (Full Conf...
DevNexus 2019 - Reacting to the future of application architecture (Full Conf...
 
Devoxx UK - Reacting to the future of application architecture
Devoxx UK - Reacting to the future of application architectureDevoxx UK - Reacting to the future of application architecture
Devoxx UK - Reacting to the future of application architecture
 
Being Reactive with Spring
Being Reactive with SpringBeing Reactive with Spring
Being Reactive with Spring
 
Functional Browser Automation Testing for Newbs
Functional Browser Automation Testing for NewbsFunctional Browser Automation Testing for Newbs
Functional Browser Automation Testing for Newbs
 
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and HowBoston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
Boston DevOps Days 2016: Implementing Metrics Driven DevOps - Why and How
 
Red Hat JBoss xPaaS Keynote at Devoxx Belgium 2014
Red Hat JBoss xPaaS Keynote at Devoxx Belgium 2014Red Hat JBoss xPaaS Keynote at Devoxx Belgium 2014
Red Hat JBoss xPaaS Keynote at Devoxx Belgium 2014
 
SOAT Agile Day 2017 DDD
SOAT Agile Day 2017 DDDSOAT Agile Day 2017 DDD
SOAT Agile Day 2017 DDD
 
Firebase: What you need to know
Firebase: What you need to knowFirebase: What you need to know
Firebase: What you need to know
 
Get your mobile app in production in 3 months: Native and Reactive Mobile Apps
Get your mobile app in production in 3 months: Native and Reactive Mobile AppsGet your mobile app in production in 3 months: Native and Reactive Mobile Apps
Get your mobile app in production in 3 months: Native and Reactive Mobile Apps
 
Reactive Microservices with Quarkus
Reactive Microservices with QuarkusReactive Microservices with Quarkus
Reactive Microservices with Quarkus
 

More from Grace Jansen

JPrime_JITServer.pptx
JPrime_JITServer.pptxJPrime_JITServer.pptx
JPrime_JITServer.pptxGrace Jansen
 
SwissJUG_15_factor_app.pptx
SwissJUG_15_factor_app.pptxSwissJUG_15_factor_app.pptx
SwissJUG_15_factor_app.pptxGrace Jansen
 
SwissJUG_Bringing the cloud back down to earth.pptx
SwissJUG_Bringing the cloud back down to earth.pptxSwissJUG_Bringing the cloud back down to earth.pptx
SwissJUG_Bringing the cloud back down to earth.pptxGrace Jansen
 
ThroughTheLookingGlass_EffectiveObservability.pptx
ThroughTheLookingGlass_EffectiveObservability.pptxThroughTheLookingGlass_EffectiveObservability.pptx
ThroughTheLookingGlass_EffectiveObservability.pptxGrace Jansen
 
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earthPittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earthGrace Jansen
 
Javaland_JITServerTalk.pptx
Javaland_JITServerTalk.pptxJavaland_JITServerTalk.pptx
Javaland_JITServerTalk.pptxGrace Jansen
 
JavaLand_To InstantOn and Beyond.pptx
JavaLand_To InstantOn and Beyond.pptxJavaLand_To InstantOn and Beyond.pptx
JavaLand_To InstantOn and Beyond.pptxGrace Jansen
 
Jfokus_Bringing the cloud back down to earth.pptx
Jfokus_Bringing the cloud back down to earth.pptxJfokus_Bringing the cloud back down to earth.pptx
Jfokus_Bringing the cloud back down to earth.pptxGrace Jansen
 
FooConf23_Bringing the cloud back down to earth.pptx
FooConf23_Bringing the cloud back down to earth.pptxFooConf23_Bringing the cloud back down to earth.pptx
FooConf23_Bringing the cloud back down to earth.pptxGrace Jansen
 
DevoxxBelgium_StatefulCloud.pptx
DevoxxBelgium_StatefulCloud.pptxDevoxxBelgium_StatefulCloud.pptx
DevoxxBelgium_StatefulCloud.pptxGrace Jansen
 
UtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptx
UtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptxUtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptx
UtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptxGrace Jansen
 
JCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxJCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxGrace Jansen
 
JCON_Adressing the transaction challenge in a cloud-native world.pptx
JCON_Adressing the transaction challenge in a cloud-native world.pptxJCON_Adressing the transaction challenge in a cloud-native world.pptx
JCON_Adressing the transaction challenge in a cloud-native world.pptxGrace Jansen
 
JavaZone_Addressing the transaction challenge in a cloud-native world.pptx
JavaZone_Addressing the transaction challenge in a cloud-native world.pptxJavaZone_Addressing the transaction challenge in a cloud-native world.pptx
JavaZone_Addressing the transaction challenge in a cloud-native world.pptxGrace Jansen
 
JavaZone_Mother Nature vs Java – the security face off.pptx
JavaZone_Mother Nature vs Java – the security face off.pptxJavaZone_Mother Nature vs Java – the security face off.pptx
JavaZone_Mother Nature vs Java – the security face off.pptxGrace Jansen
 
Boost developer productivity with EE, MP and OL (Devoxx Ukraine 22).pptx
Boost developer productivity with EE, MP and OL (Devoxx Ukraine 22).pptxBoost developer productivity with EE, MP and OL (Devoxx Ukraine 22).pptx
Boost developer productivity with EE, MP and OL (Devoxx Ukraine 22).pptxGrace Jansen
 
Addressing the transaction challenge in a cloud-native world Devoxx Ukraine 2022
Addressing the transaction challenge in a cloud-native world Devoxx Ukraine 2022Addressing the transaction challenge in a cloud-native world Devoxx Ukraine 2022
Addressing the transaction challenge in a cloud-native world Devoxx Ukraine 2022Grace Jansen
 
JBCNConf_Addressing_The_Transaction_Challenge_LRA.pptx
JBCNConf_Addressing_The_Transaction_Challenge_LRA.pptxJBCNConf_Addressing_The_Transaction_Challenge_LRA.pptx
JBCNConf_Addressing_The_Transaction_Challenge_LRA.pptxGrace Jansen
 
2022-Devnexus-StatefulMicroservices.pptx.pdf
2022-Devnexus-StatefulMicroservices.pptx.pdf2022-Devnexus-StatefulMicroservices.pptx.pdf
2022-Devnexus-StatefulMicroservices.pptx.pdfGrace Jansen
 
How to become a superhero without even leaving your desk!
How to become a superhero without even leaving your desk!How to become a superhero without even leaving your desk!
How to become a superhero without even leaving your desk!Grace Jansen
 

More from Grace Jansen (20)

JPrime_JITServer.pptx
JPrime_JITServer.pptxJPrime_JITServer.pptx
JPrime_JITServer.pptx
 
SwissJUG_15_factor_app.pptx
SwissJUG_15_factor_app.pptxSwissJUG_15_factor_app.pptx
SwissJUG_15_factor_app.pptx
 
SwissJUG_Bringing the cloud back down to earth.pptx
SwissJUG_Bringing the cloud back down to earth.pptxSwissJUG_Bringing the cloud back down to earth.pptx
SwissJUG_Bringing the cloud back down to earth.pptx
 
ThroughTheLookingGlass_EffectiveObservability.pptx
ThroughTheLookingGlass_EffectiveObservability.pptxThroughTheLookingGlass_EffectiveObservability.pptx
ThroughTheLookingGlass_EffectiveObservability.pptx
 
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earthPittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
PittsburgJUG_Cloud-Native Dev Tools: Bringing the cloud back to earth
 
Javaland_JITServerTalk.pptx
Javaland_JITServerTalk.pptxJavaland_JITServerTalk.pptx
Javaland_JITServerTalk.pptx
 
JavaLand_To InstantOn and Beyond.pptx
JavaLand_To InstantOn and Beyond.pptxJavaLand_To InstantOn and Beyond.pptx
JavaLand_To InstantOn and Beyond.pptx
 
Jfokus_Bringing the cloud back down to earth.pptx
Jfokus_Bringing the cloud back down to earth.pptxJfokus_Bringing the cloud back down to earth.pptx
Jfokus_Bringing the cloud back down to earth.pptx
 
FooConf23_Bringing the cloud back down to earth.pptx
FooConf23_Bringing the cloud back down to earth.pptxFooConf23_Bringing the cloud back down to earth.pptx
FooConf23_Bringing the cloud back down to earth.pptx
 
DevoxxBelgium_StatefulCloud.pptx
DevoxxBelgium_StatefulCloud.pptxDevoxxBelgium_StatefulCloud.pptx
DevoxxBelgium_StatefulCloud.pptx
 
UtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptx
UtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptxUtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptx
UtrechtJUG_Exploring statefulmicroservices in a cloud-native world.pptx
 
JCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptxJCON_15FactorWorkshop.pptx
JCON_15FactorWorkshop.pptx
 
JCON_Adressing the transaction challenge in a cloud-native world.pptx
JCON_Adressing the transaction challenge in a cloud-native world.pptxJCON_Adressing the transaction challenge in a cloud-native world.pptx
JCON_Adressing the transaction challenge in a cloud-native world.pptx
 
JavaZone_Addressing the transaction challenge in a cloud-native world.pptx
JavaZone_Addressing the transaction challenge in a cloud-native world.pptxJavaZone_Addressing the transaction challenge in a cloud-native world.pptx
JavaZone_Addressing the transaction challenge in a cloud-native world.pptx
 
JavaZone_Mother Nature vs Java – the security face off.pptx
JavaZone_Mother Nature vs Java – the security face off.pptxJavaZone_Mother Nature vs Java – the security face off.pptx
JavaZone_Mother Nature vs Java – the security face off.pptx
 
Boost developer productivity with EE, MP and OL (Devoxx Ukraine 22).pptx
Boost developer productivity with EE, MP and OL (Devoxx Ukraine 22).pptxBoost developer productivity with EE, MP and OL (Devoxx Ukraine 22).pptx
Boost developer productivity with EE, MP and OL (Devoxx Ukraine 22).pptx
 
Addressing the transaction challenge in a cloud-native world Devoxx Ukraine 2022
Addressing the transaction challenge in a cloud-native world Devoxx Ukraine 2022Addressing the transaction challenge in a cloud-native world Devoxx Ukraine 2022
Addressing the transaction challenge in a cloud-native world Devoxx Ukraine 2022
 
JBCNConf_Addressing_The_Transaction_Challenge_LRA.pptx
JBCNConf_Addressing_The_Transaction_Challenge_LRA.pptxJBCNConf_Addressing_The_Transaction_Challenge_LRA.pptx
JBCNConf_Addressing_The_Transaction_Challenge_LRA.pptx
 
2022-Devnexus-StatefulMicroservices.pptx.pdf
2022-Devnexus-StatefulMicroservices.pptx.pdf2022-Devnexus-StatefulMicroservices.pptx.pdf
2022-Devnexus-StatefulMicroservices.pptx.pdf
 
How to become a superhero without even leaving your desk!
How to become a superhero without even leaving your desk!How to become a superhero without even leaving your desk!
How to become a superhero without even leaving your desk!
 

Recently uploaded

Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
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
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
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
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
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.
 
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
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
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
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 

Recently uploaded (20)

Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
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
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
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
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
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 ...
 
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
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
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
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 

JFall19 Reacting to the Future of Application Architecture

Editor's Notes

  1. A single website may now handle as much traffic as the entire internet did a decade ago!! Distribute out different services Easily add features, deploy small part of application Isolate failure New problems --> users have new ever-demanding expectations Doesn't expect an application to fail or have no access Expect responses as soon as they click Shopping cart example How can we tackle these new demands and expectations user's put on applications? Where do we go in our evolution? Biology background inspiration --> nature inspire our apps Bees = system of individuals, independent but common goal
  2. The 100 million-year-old fossil was found in a mine in the Hukawng Valley of Myanmar (Burma) and preserved in amber. Discovered in 2006
  3. Independant Observers Act as soon as possible - quick to respond
  4. Colony Independently continues Impact of Queen being lost is managed Has the potential to be catastrophic but isn’t
  5. Guards recruit more bees to defend hive Limited number of bees - so switch roles to make up numbers and go back to original role after Dynamically increase number of guards
  6. Creation of the Reactive Manifesto in 2013, by Jonas Bonér to collaborate and solidify what the core principles were for building reactive applications and systems REACT to users (Responsive)- user click a button REACT to load (Elastic) - black friday and login/book table REACT to failure (Resilient) - monitor, replace service REACT to events (event-driven) - achieve other 3 principles how do we achieve this? same way bees do async comm - dancer bee, guard bee recruiting Let’s say that our system should: . Be responsive to interactions with its users . Handle failure and remain available during outages . Strive under varying load conditions . Be able to send, receive, and route messages in varying network conditions These answers actually convey the core reactive traits as defined in the manifesto. It is important to realize that reactive traits not only set you up for success right now, but also play very well with where the industry is headed, toward location-transparent, ops-less distributed services.
  7. bees = sophisticated system, appear simplistic, actually complicated efficient society of independent individuals acting as a whole We want to mimic what bees have achieved - tall ask, bees have had millennia, but by implementing reactive architecture we can start to achieve this
  8. If it’s our goal to build responsive applications in an event-driven world, we need to be making sure we are getting the most out of the hardware on which we’re running. We do this through concurrency and parallelism. Reactive programming is one tool which aims to try and tackle this. Reactive programming is a great technique for managing internal logic and dataflow transformation, locally within the components, as a way of optimizing code clarity, performance and resource efficiency. Reactive systems puts the emphasis on distributed communication and gives us tools to tackle resilience and elasticity in distributed systems. Reactive programming is a paradigm in which declarative code is used in order to construct asynchronous processing pipelines. Translated, this is essentially the same process our minds perform when we try to multitask. Rather than true parallel tasking, we actually switch tasks and split those tasks efficiently during their duration. This method of switching tasks enables us to efficiently use our time instead of having to wait for the previous task to complete. This is exactly what reactive programming was created to enable and is an event-based model in which data is pushed to a consumer, as it becomes available turning it into an asynchronous sequences of events. Reactive programming is a very useful implementation technique for managing internal logic and dataflow transformation, locally within components. However, once there are multiple nodes, there is a need to start thinking hard about things like data consitency, cross-node communication, orchestration, failure management, separation of concerns and responsibilities, etc, i.e. there is a need to think about system architecture. Reactive programming cannot address these issues or address the need for resilience and elasticity within a system. So, instead, to maximize the value of reactive programming, it’s recommended to use it as a tool to build a reactive system.
  9. Architectural tools – enable reactive behaviours
  10. Sphere of knowledge or activity Subject area on which the application is intended to apply Development approach as opposed to a physical tool Aims to ease the creation of complex applications – divides up large systems into bounded contexts A DDD aggregate is a cluster of domain objects that can be treated as a single unit. An aggregate will have one aggregate root. DDD = independent areas of a problem as bounded contexts, emphasises a common language to talk Any references from outside the aggregate should only go to the aggregate root. The root can thus ensure the integrity of the aggregate as a whole. How do we achieve efficient communication across these bounded contexts/services? Focus on the core domain and domain logic. Base complex designs on models of the domain. Constantly collaborate with domain experts, in order to improve the application model and resolve any emerging domain-related issues. Message-driven Lagom framework
  11. Communication between Microservices needs to be based on Asynchronous Message-Passing An asynchronous boundary between services is necessary in order to decouple them, and their communication flow, in time—allowing concurrency—and in space—allowing distribution and mobility. Without this decoupling it is impossible to reach the level of compartmentalization and containment needed for isolation and resilience. Asynchronous and non-blocking execution = more cost-efficient through more efficient use of resources, minimizes contention (congestion) on shared resources in the system, which is one of the biggest hurdles to scalability, low latency, and high throughput. It’s best illustrated with an example… bees queuing = wasted resource, equivalent to threads But why is blocking so bad? The fundamental shift is that we’ve moved from "data at rest" to "data in motion. Applications today need to react to changes in data in close to real time—when it happens First Wave = data at rest, batch processing, hours of latency, overnight Second Wave = hybrid architecture, lambda architecture, 2 layers (batch and speed layers), added needless complexity – 2 data pipelines and need to merge them afterwards Third Wave – fully embrace data in motion, stream processing architecture, event logging/sourcing….. Lagom framework Message-driven / responsiveness
  12. Event Sourcing ensures that all changes to application state are stored as a sequence of events (e.g. business objects is persisted by storing a sequence of state changing events) Command Query Responsibility Segregation --> disassociate writes (commands) and reads (queries) Applying event sourcing on top of CQRS means persisting each event on the write part of the application. Read part is derived from the sequence of events. Bees brains = local databases Dance floor – write to bees brains Bees can query their own brains (read) May not be most up to date but that’s ok Responsiveness Lagom framework
  13. Tradeoff Dance floor  bees assume the food is still available until another bee comes back and says otherwise More representative of the way the world works Given enough time, all nodes will become consistent Not perfect  sharding to help improve consistency Lagom framework CAP Theorum
  14. Form of Database partitioning, separates very large databases into smaller, faster, more manageable parts called data shards Shard = small parts of a whole Meant to make v. large databases more manageable Greater parallelism, without collisions Two bees at the same cell – fill up multiple cells (sharding) Finite space in the hive – sharding out the hive into cells – operate in parallel across cells, reducing contention Imagine one huge cell, only one bee can fill up at a time Resiliency/elasticity Lagom framework
  15. Form of feedback/flow control Without feedback, a distributed system can easily become unstable and fail. Any component that cannot support the worst possible case of loading in the system can become a bottleneck. BLOCKING Without Feedback, other components will continue to increase the load until they are in turn congested, resulting in the ultimate collapse! When one component is struggling to keep-up, the system as a whole needs to respond in a sensible way. It is unacceptable for the component under stress to fail catastrophically or to drop messages in an uncontrolled fashion. Since it can’t cope and it can’t fail it should communicate the fact that it is under stress to upstream components and so get them to reduce the load. This back-pressure is an important feedback mechanism that allows systems to gracefully respond to load rather than collapse under it. this mechanism helps ensure that the system is resilient under load, and will provide information that may allow the system itself to apply other resources to help distribute the load, see Elasticity. Backpressure = built wherever the publisher is faster than the subscriber Honeycomb vs nectar ratio Resiliency / responsiveness
  16. Builhead use in industry to partition a ship into segments, so that sections can be sealed off if the hull is breeched. --> concept can be applied in software development to segregate resources Protect limited resources from being exhausted. Dancer communicating how many bees should go to food source Resiliency/responsiveness Akka
  17. Bees are intelligent actors, software isn’t so we have to program to imitate it Protect resources and help them recover Circuit breaker opens when a particular type of error occurs multiple times in a short period. An open circuit breaker prevents further requests to be made. They usually close after a certain amount of time, giving enough space for underlying services to recover. Resiliency Akka
  18. third party libraries Spring Reaactor RxJava is a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences. Microprofile Reactive Streams is an integration SPI - it allows two different libraries that provide asynchronous streaming to be able to stream data to and from each other. Play Framework is a web development framework that empowers developers to build highly scalable, lightning-fast applications with an ease unparalleled on the JVM. Play is built on top of Akka and Akka HTTP Lagom is an opinionated microservices framework that builds on top of Akka and Play
  19. Switch off bits of system to deal with load of customers trying to buy new phones – reactive solved this Google: “faster page loads, the more successful it will be”, people don’t want to wait Performance plays a major role in the success of any online venture. Case studies that show how high-performing sites engage and retain users better than low-performing ones: Pinterest increased search engine traffic and sign-ups by 15% when they reduced perceived wait times by 40%. COOK increased conversions by 7%, decreased bounce rates by 7%, and increased pages per session by 10% when they reduced average page load time by 850 milliseconds (14.2 secs). Here are a couple case studies where low performance had a negative impact on business goals: The BBC found they lost an additional 10% of users for every additional second their site took to load. DoubleClick by Google found 53% of mobile site visits were abandoned if a page took longer than 3 seconds to load.
  20. Lagom and Play
  21. 2nd Link – blog series making StocmTrader Reactive Case studies includes, Groupon, Verizon, LinkedIn, PayPal, Intel, Samsung, Twitter, etc… Mention Book! “Reactive Systems Explained”