Building Microservices (Nov 26-27)
Register for this masterclass
Outcome
In this masterclass you will learn what makes a good microservice, how to use concepts from domain driven design to define service boundaries, explore how to plan and manage a migration from a monolith to the microservice architecture plus much more.
Why Attend?
Because it is focused on outcomes. We explore the pitfalls and downsides of implementing the architecture, as well as how to mitigate problems. For example: how to effectively deal with distributed transactions and the implications of CAP theorem.
You will also discover whether microservices are right choice for your business. If they are, then after this masterclass you will have a clear idea of how to make it happen, by receiving concrete tools to implement the migration to a microservices based architecture in an incremental fashion, all while continuing to ship new features.
Course Overview
Please note that the 2 Day outline below is purely indicative. There is the flexibility to spend more (or less) time on specific subjects, and this can usually be accommodated as the material is broken down into modules that can be swapped around. This will be determined during the class, based on the groups wishes. Please also be aware the masterclass itself is not a hands-on coding class, but is designed to be interactive with lots of time for attendees to work together and ask questions.
Day 1: Introducing Microservices & Service Modelling
Introducing Microservices
- What microservices are: Technology & SOA
- Advantages of microservices
- Disadvantages of microservices
- When should you use them, and when shouldn’t you use them?
Service Modelling
- Characteristics of “good” services
- Introduction to domain driven design
- Usefulness of Bounded Contexts when defining service boundaries Splitting Out Services
- Working out where to start
- Splitting stateless services
- Database refactoring patterns
- Use of strangler and branch by abstraction patterns
- Discussion of CAP theory
- Distributed transactions
- Eventual consistency
Day 2: Service Collaboration, Testing, Observability, Resiliency & Scaling, User Interfaces / Mobile
Service Collaboration
- Pitfalls of service collaboration
- Synchronous vs asynchronous
- Event-based collaboration vs Request/Response
- Coverage of technology options including: HTTP over REST & RPC; Actor frameworks; Message Brokers including Kafka
- Choreography vs Orchestration
Testing
- End-to-end testing in a microservice world
- Test types and feedback
- Consumer-driven contracts
- Testing in production?
Observability
- Log aggregation
- Correlation IDs
- Metrics collection
- Semantic monitoring
- Real-user monitoring
- Synthetic Transactions
Resiliency & Scaling
- Types of scaling (scaling cube + more)
- Scaling for load vs scaling for resiliency
- Circuit Breakers and connection pooling
- Bulkheads & timeouts
- Service Meshes & Message Brokers
User Interfaces / Mobile
- UI aggregation models
- General-purpose API gateways
- Backends-for-frontends
- GraphQL