Lagom overview
James Roper
@jroper
Lagom - enough, sufficient, adequate, just right
- Microservices framework for the JVM
- Provides Java and (soon) Scala API
Sub-themes
- Communication
- Persistence
- Development
- Production
Communication
- Type-safe service API
- Synchronous message passing using REST
- Asynchronous message passing using Kafka
- Location transparency
- Resilience
Persistence
- Domain Driven Design
- Event sourcing and CQRS
- In-built sharding across a cluster
- Cassandra, relational databases and more
Development
- Run all services with one command
- Hot reloads on code change
- Manages Cassandra, Kafka and service locator
- Use sbt or maven
Production
- Service orchestration using ConductR
- Scale up and down nodes for a service
- Automatic cluster management
- Locate services through ConductR