SlideShare a Scribd company logo
Reactive Architecture
Reactive Architecture
• Based on asynchronous message-passing
• Non-blocking using PUSH mechanism
• No state, locking, or synchronization
• Share Nothing Architecture
• Scale up/out
• => Pay what you consume
• Premiss: Inherently unreliable network & components
• Isolate & encapsulate failure
• Redundancy & fault-tolerance as main principles
• Keep latency consistent => real-time
• Protect against slow consumers & producers
• Use observables models & stateful clients
Bibliography
• Reactive Architecture — an overview,
http://www.reactivemanifesto.org
• Netflix’ resilience
concept,http://techblog.netflix.com/2011/07/netflix-simian-
army.html
• Reactive Extensions for the JVM,
https://github.com/Netflix/RxJava
• Hystrix — latency & fault tolerance library,
https://github.com/Netflix/Hystrix
Reactive Architecture

More Related Content

PDF
Codemotion Amsterdam 2016 - Building microservices with Vert.x
PPTX
Kovalenko Volodymyr "Distributed Systems: Theory and Practice"
PDF
Utrecht JUG - Building microservices with Vert.x
ODP
Caching technology comparison
PDF
Service Discovery: From Classic to VPC
PDF
VJUG 24 - Building microservices with Vert.x
PDF
JBCNConf 2017 - Building microservices with Vert.x
PDF
My adventure with WebSockets
Codemotion Amsterdam 2016 - Building microservices with Vert.x
Kovalenko Volodymyr "Distributed Systems: Theory and Practice"
Utrecht JUG - Building microservices with Vert.x
Caching technology comparison
Service Discovery: From Classic to VPC
VJUG 24 - Building microservices with Vert.x
JBCNConf 2017 - Building microservices with Vert.x
My adventure with WebSockets

What's hot (20)

PPTX
Building Cloud - Where SDN Could Help
PDF
GeekOut 2017 - Microservices in action at the Dutch National Police
PDF
Malmberg meetup June 2018 - Building microservices with Vert.x
PPTX
Reporting
PPTX
BizTalk Server Performance Tips
PDF
Ohio Valley Oracle Application User Group
PPTX
Scale out Magento 2 at AWS
PPTX
Sqlviking
PPTX
Architecting Single Page Applications
PPTX
Manage your compactions before they manage you!
PDF
The Need for Speed - EpiCenter 2010
PDF
Devoxx UK 2016 - Building microservices with Vert.x
PPTX
linkerd: The Cloud Native Service Mesh
PDF
A prototype of utilizing Apache Kafka and Lightweight M2M protocol as the bac...
PDF
App specific app architecture
PPTX
UIT Presentation - Oct 17th, 2014
PPTX
cloudstack participation
PPTX
Modifying and Extending the ESB Toolkit
PPTX
How to automate your BizTalk Installations and Deployments with Chef
PPTX
Backendless 3.0 Overview
Building Cloud - Where SDN Could Help
GeekOut 2017 - Microservices in action at the Dutch National Police
Malmberg meetup June 2018 - Building microservices with Vert.x
Reporting
BizTalk Server Performance Tips
Ohio Valley Oracle Application User Group
Scale out Magento 2 at AWS
Sqlviking
Architecting Single Page Applications
Manage your compactions before they manage you!
The Need for Speed - EpiCenter 2010
Devoxx UK 2016 - Building microservices with Vert.x
linkerd: The Cloud Native Service Mesh
A prototype of utilizing Apache Kafka and Lightweight M2M protocol as the bac...
App specific app architecture
UIT Presentation - Oct 17th, 2014
cloudstack participation
Modifying and Extending the ESB Toolkit
How to automate your BizTalk Installations and Deployments with Chef
Backendless 3.0 Overview
Ad

Similar to Reactive Architecture (20)

PPTX
MicroService Architecture
PDF
Proto kubernetes onswitc_hengines_tue100418
PDF
OpenStack 101: Introduction & Technical Overview
PPTX
Decomposing the monolith into embeddable microservices using OWIN, WebHooks, ...
KEY
Eclipse Enterprise Content Repository (ECR)
PDF
Mini-Training: NancyFX
PDF
2011 Essex Summit: Openstack/Hyper-V clouds
PPTX
Architecture of Falcon, a new chat messaging backend system build on Scala
PPTX
Decomposing the Monolith using Microservices that don't give you pain
PDF
The twelve factor app
PPTX
Getting Started with Apache CloudStack
PDF
Txlf2012
PPTX
12 Factor App Methodology
PDF
Developing Enterprise Applications for the Cloud, from Monolith to Microservice
PPTX
OpenStack at EBSCO
PPTX
Developing Enterprise Applications for the Cloud, from Monolith to Microservices
PDF
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
PDF
Apereo OAE - Architectural overview
PDF
Nginx caching
PDF
OpenStack Block Storage 101
MicroService Architecture
Proto kubernetes onswitc_hengines_tue100418
OpenStack 101: Introduction & Technical Overview
Decomposing the monolith into embeddable microservices using OWIN, WebHooks, ...
Eclipse Enterprise Content Repository (ECR)
Mini-Training: NancyFX
2011 Essex Summit: Openstack/Hyper-V clouds
Architecture of Falcon, a new chat messaging backend system build on Scala
Decomposing the Monolith using Microservices that don't give you pain
The twelve factor app
Getting Started with Apache CloudStack
Txlf2012
12 Factor App Methodology
Developing Enterprise Applications for the Cloud, from Monolith to Microservice
OpenStack at EBSCO
Developing Enterprise Applications for the Cloud, from Monolith to Microservices
2 Day Bootcamp for OpenStack--Cloud Training by Mirantis (Preview)
Apereo OAE - Architectural overview
Nginx caching
OpenStack Block Storage 101
Ad

Recently uploaded (20)

DOCX
Boost your energy levels and Shred Weight
PPTX
Commmunication in Todays world- Principles and Barriers
PPTX
Learn how to prevent Workplace Incidents?
PDF
Top 10 Visionary Entrepreneurs to Watch in 2025
PPTX
The Hidden Link Between Self-Talk and Self-Worth.pptx
PPTX
Emotional Intelligence- Importance and Applicability
PPTX
show1- motivational ispiring positive thinking
PDF
Red Light Wali Muskurahat – A Heart-touching Hindi Story
PDF
technical writing on emotional quotient ppt
PPTX
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
PPT
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
PPTX
How to Deal with Imposter Syndrome for Personality Development?
PPTX
Presentation on interview preparation.pt
PPTX
Learn how to use Portable Grinders Safely
PPTX
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
PPTX
Travel mania in india needs to change the world
PDF
Quiet Wins: Why the Silent Fish Survives.pdf
PPTX
Identity Development in Adolescence.pptx
PPT
proper hygiene for teenagers for secondary students .ppt
PPTX
UNIVERSAL HUMAN VALUES for NEP student .pptx
Boost your energy levels and Shred Weight
Commmunication in Todays world- Principles and Barriers
Learn how to prevent Workplace Incidents?
Top 10 Visionary Entrepreneurs to Watch in 2025
The Hidden Link Between Self-Talk and Self-Worth.pptx
Emotional Intelligence- Importance and Applicability
show1- motivational ispiring positive thinking
Red Light Wali Muskurahat – A Heart-touching Hindi Story
technical writing on emotional quotient ppt
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
cypt-cht-healthy-relationships-part1-presentation-v1.1en.ppt
How to Deal with Imposter Syndrome for Personality Development?
Presentation on interview preparation.pt
Learn how to use Portable Grinders Safely
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
Travel mania in india needs to change the world
Quiet Wins: Why the Silent Fish Survives.pdf
Identity Development in Adolescence.pptx
proper hygiene for teenagers for secondary students .ppt
UNIVERSAL HUMAN VALUES for NEP student .pptx

Reactive Architecture

  • 3. • Based on asynchronous message-passing • Non-blocking using PUSH mechanism • No state, locking, or synchronization
  • 4. • Share Nothing Architecture • Scale up/out • => Pay what you consume
  • 5. • Premiss: Inherently unreliable network & components • Isolate & encapsulate failure • Redundancy & fault-tolerance as main principles
  • 6. • Keep latency consistent => real-time • Protect against slow consumers & producers • Use observables models & stateful clients
  • 7. Bibliography • Reactive Architecture — an overview, http://www.reactivemanifesto.org • Netflix’ resilience concept,http://techblog.netflix.com/2011/07/netflix-simian- army.html • Reactive Extensions for the JVM, https://github.com/Netflix/RxJava • Hystrix — latency & fault tolerance library, https://github.com/Netflix/Hystrix

Editor's Notes

  • #2: Nothing new (telco in the past)Requirements for modern IT era & IoT
  • #3: react to events
the event-driven nature enables the following qualitiesreact to load
focus on scalability by avoiding contention on shared resourcesreact to failure
build resilient systems with the ability to recover at all levelsreact to usershonor response time guarantees regardless of load
  • #4: * No tiersHolographic, across the entire tech stack, top to bottom, weakest linkAsync app implements loosely coupled design better RATHER THAN method callsMessage-passingInteract through consumption/production of (PUSH)events => message passing => better hardware utilizationNon-blocking => responsive at all timesNo state, locking, synchronizationThinking of event propagation & component interaction rather than low-level threading primitives
  • #5: Elasticity
  • #6: Resilience on the component level instead on app server level Premise: inerherintly unreliable networkMake failure scenarios explicit in the programming model redundancy and fault-toleranceMake failure a first class construct Isolate failureManageable from outside the failed contextEncapsulate failure+context => sent to failure managers that react
  • #7: Responsive, real-time interactionKeep latency consistent regardless of load => O(1)protection against slow producers/consumersObservable models (no locking), event streams, stateful clients