+ All Categories
Home > Software > Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

Date post: 24-Jan-2017
Category:
Upload: typesafeinc
View: 2,569 times
Download: 0 times
Share this document with a friend
64
Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more Jamie Allen (@jamie_allen) Senior Director of Global Services
Transcript
Page 1: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

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

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

I’m Jamie Allen | @jamie_allen

Page 5: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

Becomes fast fish that eats slow fish

Page 6: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

Becomes streaming video delivery service

Page 8: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

“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

Reactive: The new way of building software

Page 10: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

Reactive Manifesto penned

Industry aligned

Page 11: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

Reactive Streams defined

Included in JDK 9

Page 12: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

Reactive Platform Overview

Page 14: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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
Page 16: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

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

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

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

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

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

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

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

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

Focusing on Fault Tolerance for Resilient systems

Page 26: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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
Page 28: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

Strengthening Resilience - Network Partition handling

Page 29: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

• 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

Heartbeats

heartbeats

heartbeats

What network partitions look like to Ops

A

Page 31: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

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

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

Static Quorum (3 (> (n/2 +1))

A

Akka Split Brain Resolver

Page 35: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

A

Keep Majority (aka. dynamic quorum)

Akka Split Brain Resolver

Page 37: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

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

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

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

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

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

• 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

Strengthening Resilience - System Orchestration

Page 45: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

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

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

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

ConductR

• Keep your existing tools• Infrastructure agnostic• Combine with Monitoring• Consolidated logging

Page 50: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

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

Looking After System Resilience - Application Monitoring

Page 53: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

• 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

Monitoring

• Monitor asynchronous apps• Real-time big picture• Configurable metrics• Customizable thresholds

Page 55: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

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

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

The world is going Reactive

Page 59: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

Reactive PlatformGetting Started

Page 60: Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

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

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

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

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

Recommended