Lagom - From Monolith to Microservices made simple

Post on 23-Jan-2018

456 views 2 download

Transcript of Lagom - From Monolith to Microservices made simple

Markus Jura@markusjura

From Monolith to Microservices made simple

Overview

Mircoservices Framework on the JVM

• Asynchronous I/O

• Asynchronous communication as first class

• WebSocket support

• Reactive Streams support

• Distributed by default

• Built-on Akka Clustering, Sharding, Persistence

Reactive

• Akka Persistence

• Cassandra support

• CQRS and event sourcing

Persistence

• Run all microservices at once

• Embedded Cassandra DB

• Intra-service communication via service locator

• Hot reloading

Development tooling

• ConductR

• Akka Cluster support

• Service locator

• Consolidated logging

• Restart services automatically

• Handling network failures

• Rolling updates

• Monitoring support

Production support

Breaking the monolith

Monolith architecture

Mircoservice architecture

Demo

• Option 1 - manual REST client

• Option 2 - Lagom service client (coming soon!)

• Option 3 - Generated Swagger client (coming soon!)

Consuming Lagom services

• Implementing a Lagom descriptor

Consuming Monolith

• Getting started: lightbend.com/lagom

• Examples: lightbend.com/activator/templates

• Contribute: https://github.com/lagom

• Communicate:

• https://groups.google.com/forum/#!forum/lagom-framework

• https://gitter.im/lagom/lagom

• Lightbend Proof of Concept Program: lightbend.com/company/contact

Try it out