15
Markus Jura @markusjura From Monolith to Microservices made simple

Lagom - From Monolith to Microservices made simple

Embed Size (px)

Citation preview

Page 1: Lagom - From Monolith to Microservices made simple

Markus Jura@markusjura

From Monolith to Microservices made simple

Page 2: Lagom - From Monolith to Microservices made simple

Overview

Page 3: Lagom - From Monolith to Microservices made simple

Mircoservices Framework on the JVM

Page 4: Lagom - From Monolith to Microservices made simple

• Asynchronous I/O

• Asynchronous communication as first class

• WebSocket support

• Reactive Streams support

• Distributed by default

• Built-on Akka Clustering, Sharding, Persistence

Reactive

Page 5: Lagom - From Monolith to Microservices made simple

• Akka Persistence

• Cassandra support

• CQRS and event sourcing

Persistence

Page 6: Lagom - From Monolith to Microservices made simple

• Run all microservices at once

• Embedded Cassandra DB

• Intra-service communication via service locator

• Hot reloading

Development tooling

Page 7: Lagom - From Monolith to Microservices made simple

• ConductR

• Akka Cluster support

• Service locator

• Consolidated logging

• Restart services automatically

• Handling network failures

• Rolling updates

• Monitoring support

Production support

Page 8: Lagom - From Monolith to Microservices made simple

Breaking the monolith

Page 9: Lagom - From Monolith to Microservices made simple

Monolith architecture

Page 10: Lagom - From Monolith to Microservices made simple

Mircoservice architecture

Page 11: Lagom - From Monolith to Microservices made simple

Demo

Page 12: Lagom - From Monolith to Microservices made simple

• Option 1 - manual REST client

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

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

Consuming Lagom services

Page 13: Lagom - From Monolith to Microservices made simple

• Implementing a Lagom descriptor

Consuming Monolith

Page 14: Lagom - From Monolith to Microservices made simple

• 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

Page 15: Lagom - From Monolith to Microservices made simple