Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

2,837 views

Published on

Application development has come a long way. From client-server, to desktop, to web based applications served by monolithic application servers, the need to serve billions of users and hundreds of devices have become crucial to today's business. Typesafe Reactive Platform helps you to modernize your applications by transforming the most critical parts into microservice-style architectures which support extremely high workloads and allow you to serve millions of end-users.

Published in: Software
  • Be the first to comment

Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more

  1. 1. Typesafe Reactive Platform: Monitoring 1.0, Commercial features and more Jamie Allen (@jamie_allen) Senior Director of Global Services
  2. 2. System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build OPEN CORE
  3. 3. Agenda • Overview – Reactive Platform • Deep Dive – Improving Fault Tolerance (Resili ence) • Next Steps – Getting Started
  4. 4. I’m Jamie Allen | @jamie_allen
  5. 5. Becomes fast fish that eats slow fish
  6. 6. Becomes streaming video delivery servi ce
  7. 7. Is fighting for top talent on prime time
  8. 8. “Fundamental shift to digital business requires 50% of software in the next 5 years to be built with a new model.”
  9. 9. Reactive: The new way of building software
  10. 10. Reactive Manifesto penned Industry aligned
  11. 11. Reactive Streams defined Included in JDK 9
  12. 12. 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.”
  13. 13. Reactive Platform Overview
  14. 14. OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  15. 15. Enhance Usability Identify Bottlenecks Improve Performance OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  16. 16. Boost Resilience Streamline Rollouts Increase Predictability OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  17. 17. Mitigate Data Loss Reduce Ops Burden Improve Cluster Health OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  18. 18. Protect Servers Delight Customers Block Bad Behavior OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  19. 19. Unlock Data Revitalize Architecture Maximize Investments OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  20. 20. Reduce Risk Ease Maintenance Improve Predictability OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  21. 21. Eliminate Conflicts Reduce Guesswork Speed Development OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  22. 22. Boost Productivity Mitigate Production Risk Speed Knowledge Transfer OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  23. 23. OPEN CORE System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build
  24. 24. Focusing on Fault Tolerance for Resilient systems
  25. 25. System Orchestratio n Application Monitoring Application Availability Partition Healing Security Notifications Legacy Integration Expert Support Certified Build OPEN CORE
  26. 26. Strengthening Resilience - Network Partition handling
  27. 27. • Network partitions - fundamental problem in distrib uted 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
  28. 28. Heartbeats What network partitions look like to Ops A
  29. 29. Heartbeats Yikes, everyone is down! A What network partitions look like to Ops
  30. 30. Heartbeats Hey team, `n-1` is down! I’ll take over `A`! A What network partitions look like to Ops
  31. 31. Heartbeats A A Good if n-1 really is down Bad 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`!
  32. 32. Static Quorum (3 (> (n/2 +1)) A Akka Split Brain Resolver
  33. 33. Static Quorum (3 (> (n/2 +1)) A we need to down ourselves Akka Split Brain Resolver
  34. 34. A Keep Majority (aka. dynamic quorum) Akka Split Brain Resolver
  35. 35. A Keep Majority (aka. dynamic quorum) we need to down ourselves Akka Split Brain Resolver
  36. 36. referee node Keep Majority (aka. dynamic quorum) A down-all-if-less-than-nodes Akka Split Brain Resolver
  37. 37. referee node Keep Referee A can’t see referee node! down-all-if-less-than-nodes Akka Split Brain Resolver
  38. 38. referee node down-if-all-alone Keep Referee A can’t see referee node! Akka Split Brain Resolver
  39. 39. oldest node down-if-all-alone Keep Oldest A can’t see oldest node! Akka Split Brain Resolver
  40. 40. 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
  41. 41. • No Brainer – Using Akka Cluster, deploy AWS • Next Steps - read docs, download Reactive Platfor m Akka Split Brain Resolver
  42. 42. Strengthening Resilience - System Orchestration
  43. 43. ConductR • Message-driven apps run on 10s, 100s, 1000s of no des • Beyond 3 nodes, challenging for ops • ConductR, eases deployment and management • focused on resilience for your system, not infrastruct ure
  44. 44. ConductR • Manage microservices-based a pps • Automated cluster startup • Dynamic service discovery • Scalable rolling updates
  45. 45. ConductR • Hardcore resilience for systems • Load balancing at scale • Auto recovery failed apps/nod es • Advanced partition resolution
  46. 46. ConductR • Smooth release process • Sandbox for Dev and Ops • Immutable, standardized • Various packaging formats (Docker, JVM)
  47. 47. ConductR • Keep your existing tools • Infrastructure agnostic • Combine with Monitoring • Consolidated logging
  48. 48. Without ConductR • Build machines • OS • App server • Apps lifecycle • Add resilience • Config Load balanc er • Config port With ConductR• Build nodes w/ Conduc tR • OS • ConductR • Deploy apps/ services to cluster via Conduct R Resilient from the core, not as an add- on
  49. 49. ConductR • No Brainer – Using Akka Cluster, deploy AWS, 3+ n odes • Next Steps - view interactive demo, enjoy sandbox
  50. 50. Looking After System Resilience - Application Monitoring
  51. 51. • Asynchronous apps pose new challenges • Context is lost • Traces less useful • Easy to get flooded with data Monitoring
  52. 52. Monitoring • Monitor asynchronous apps • Real-time big picture • Configurable metrics • Customizable thresholds
  53. 53. Monitoring • Enhance user experience • Design for performance • Fix bugs, code level views • Boost resilience, ConductR
  54. 54. Monitoring • Vision for full coverage for Rea ctive systems: • Akka Streams, Data Flows • Futures, Scala and Java 8 • Tracing Play , Akka HTTP
  55. 55. Monitoring • No Brainer – building Akka-based apps • Next Steps - view interactive demo, download Monit oring
  56. 56. The world is going Reactive
  57. 57. Reactive Platform Getting Started
  58. 58. 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
  59. 59. Use with your new RP project • Developer sandbox with Docker • Full deployment evaluation also available Experiment with ConductR
  60. 60. Use with your new RP project • Developer sandbox with Docker • Full deployment evaluation also available Experiment with ConductR
  61. 61. 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

×