typesafe reactive platform: monitoring 1.0, commercial features and more
TRANSCRIPT
![Page 1: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/1.jpg)
Typesafe Reactive Platform:Monitoring 1.0, Commercial features and more
Jamie Allen (@jamie_allen)Senior Director of Global Services
![Page 2: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/2.jpg)
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
OPENCORE
![Page 3: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/3.jpg)
Agenda
• Overview – Reactive Platform• Deep Dive – Improving Fault Tolerance (Resilience)• Next Steps – Getting Started
![Page 4: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/4.jpg)
I’m Jamie Allen | @jamie_allen
![Page 5: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/5.jpg)
Becomes fast fish that eats slow fish
![Page 6: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/6.jpg)
Becomes streaming video delivery service
![Page 7: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/7.jpg)
Is fighting for top talent on prime time
![Page 8: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/8.jpg)
“Fundamental shift to digital business requires 50% of software in the next 5 years
to be built with a new model.”
![Page 9: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/9.jpg)
Reactive: The new way of building software
![Page 10: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/10.jpg)
Reactive Manifesto penned
Industry aligned
![Page 11: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/11.jpg)
Reactive Streams defined
Included in JDK 9
![Page 12: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/12.jpg)
Developers empowered
“You allowed us to come up with a design that we could only dream of before.”
“It’s hard to put into words how exciting it has been to work on a project like this.”
“You made programming fun again.”
“You saved my career.”
![Page 13: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/13.jpg)
Reactive Platform Overview
![Page 14: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/14.jpg)
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 15: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/15.jpg)
![Page 16: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/16.jpg)
Enhance UsabilityIdentify Bottlenecks
Improve Performance
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 17: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/17.jpg)
Boost ResilienceStreamline Rollouts
Increase Predictability
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 18: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/18.jpg)
Mitigate Data LossReduce Ops BurdenImprove Cluster Health
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 19: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/19.jpg)
Protect ServersDelight Customers
Block Bad Behavior
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 20: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/20.jpg)
Unlock DataRevitalize ArchitectureMaximize Investments
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 21: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/21.jpg)
Reduce RiskEase Maintenance
Improve Predictability
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 22: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/22.jpg)
Eliminate ConflictsReduce GuessworkSpeed Development
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 23: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/23.jpg)
Boost ProductivityMitigate Production Risk
Speed Knowledge Transfer
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 24: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/24.jpg)
OPENCORE
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
![Page 25: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/25.jpg)
Focusing on Fault Tolerance for Resilient systems
![Page 26: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/26.jpg)
System Orchestration
Application Monitoring
Application Availability
Partition Healing
Security Notifications
Legacy Integration
Expert Support
Certified Build
OPENCORE
![Page 27: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/27.jpg)
![Page 28: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/28.jpg)
Strengthening Resilience - Network Partition handling
![Page 29: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/29.jpg)
• Network partitions - fundamental problem in distributed systems
• Akka SBR helps make decisions • Pre-built strategies, when to down nodes in cluster
• Static Quorum (like Zookeeper)• Keep Majority• Keep Oldest• Keep Referee
Akka Split Brain Resolver
![Page 30: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/30.jpg)
Heartbeats
heartbeats
heartbeats
What network partitions look like to Ops
A
![Page 31: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/31.jpg)
Heartbeats
heartbeats
heartbeats
Yikes, everyone is down!
A
What network partitions look like to Ops
![Page 32: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/32.jpg)
Heartbeats
heartbeats
heartbeats
Hey team, `n-1` is down!I’ll take over `A`!
A
What network partitions look like to Ops
![Page 33: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/33.jpg)
Heartbeats
heartbeats
heartbeats A A
Good if n-1 really is downBad if n-1 is just very unresponsive
Fundamentally, it is hard to distinguish the two states in distributed systems
What network partitions look like to Ops
Hey team, `n-1` is down!I’ll take over `A`!
![Page 34: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/34.jpg)
Static Quorum (3 (> (n/2 +1))
A
Akka Split Brain Resolver
![Page 35: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/35.jpg)
Static Quorum (3 (> (n/2 +1))
A
we need to down ourselves
Akka Split Brain Resolver
![Page 36: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/36.jpg)
A
Keep Majority (aka. dynamic quorum)
Akka Split Brain Resolver
![Page 37: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/37.jpg)
A
Keep Majority (aka. dynamic quorum)
we need to down ourselves
Akka Split Brain Resolver
![Page 38: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/38.jpg)
referee node
Keep Majority (aka. dynamic quorum)
A
down-all-if-less-than-nodes
Akka Split Brain Resolver
![Page 39: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/39.jpg)
referee node
Keep Referee
A
can’t see referee node!
down-all-if-less-than-nodes
Akka Split Brain Resolver
![Page 40: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/40.jpg)
referee node
down-if-all-alone
Keep Referee
A
can’t see referee node!
Akka Split Brain Resolver
![Page 41: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/41.jpg)
oldest node
down-if-all-alone
Keep Oldest
A
can’t see oldest node!
Akka Split Brain Resolver
![Page 42: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/42.jpg)
oldest node
down-if-all-alone
Keep Oldest
A
can’t see oldest node!
oldest node can change,if “up until now oldest node” leaves the cluster
This is more dynamic than keep-referee.
Akka Split Brain Resolver
![Page 43: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/43.jpg)
• No Brainer – Using Akka Cluster, deploy AWS• Next Steps - read docs, download Reactive Platform
Akka Split Brain Resolver
![Page 44: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/44.jpg)
Strengthening Resilience - System Orchestration
![Page 45: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/45.jpg)
ConductR
• Message-driven apps run on 10s, 100s, 1000s of nodes• Beyond 3 nodes, challenging for ops• ConductR, eases deployment and management
• focused on resilience for your system, not infrastructure
![Page 46: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/46.jpg)
ConductR
• Manage microservices-based apps• Automated cluster startup• Dynamic service discovery• Scalable rolling updates
![Page 47: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/47.jpg)
ConductR
• Hardcore resilience for systems• Load balancing at scale• Auto recovery failed apps/nodes• Advanced partition resolution
![Page 48: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/48.jpg)
ConductR
• Smooth release process• Sandbox for Dev and Ops• Immutable, standardized• Various packaging formats
(Docker, JVM)
![Page 49: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/49.jpg)
ConductR
• Keep your existing tools• Infrastructure agnostic• Combine with Monitoring• Consolidated logging
![Page 50: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/50.jpg)
Without ConductR• Build machines• OS• App server• Apps lifecycle
• Add resilience• Config Load balancer• Config port
With ConductR• Build nodes w/ ConductR• OS• ConductR
• Deploy apps/ services to cluster via ConductR
Resilient from the core, not as an add-on
![Page 51: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/51.jpg)
ConductR
• No Brainer – Using Akka Cluster, deploy AWS, 3+ nodes• Next Steps - view interactive demo, enjoy sandbox
![Page 52: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/52.jpg)
Looking After System Resilience - Application Monitoring
![Page 53: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/53.jpg)
• Asynchronous apps pose new challenges• Context is lost• Traces less useful• Easy to get flooded with data
Monitoring
![Page 54: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/54.jpg)
Monitoring
• Monitor asynchronous apps• Real-time big picture• Configurable metrics• Customizable thresholds
![Page 55: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/55.jpg)
Monitoring
• Enhance user experience• Design for performance• Fix bugs, code level views• Boost resilience, ConductR
![Page 56: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/56.jpg)
Monitoring
• Vision for full coverage for Reactive systems:• Akka Streams, Data Flows• Futures, Scala and Java 8 • Tracing Play , Akka HTTP
![Page 57: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/57.jpg)
Monitoring
• No Brainer – building Akka-based apps• Next Steps - view interactive demo, download Monitoring
![Page 58: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/58.jpg)
The world is going Reactive
![Page 59: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/59.jpg)
Reactive PlatformGetting Started
![Page 60: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/60.jpg)
Sign up to get license ID• Get Started on Typesafe.com• Register for a free account• Apply ID to existing project, or start a new one
Getting Started with RP
![Page 61: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/61.jpg)
Use with your new RP project• Developer sandbox with Docker• Full deployment evaluation also available
Experiment with ConductR
![Page 62: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/62.jpg)
Use with your new RP project• Developer sandbox with Docker• Full deployment evaluation also available
Experiment with ConductR
![Page 63: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/63.jpg)
GET IN TOUCH
Help is just a click away. Get in touch with Typesafe about:
• Production licensing and subscriptions• Additional services and support• On-site, expert training
CONTACT US
![Page 64: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more](https://reader035.vdocuments.us/reader035/viewer/2022062522/588638901a28aba0188b5f1d/html5/thumbnails/64.jpg)