Domain Driven Design & Microservices for Architects

Learn how to build Microservices applications starting with business analysis and domain driven design

  • 0.0 (0 Reviews)
  • 0 Students
  • 115 Lessons
  • Rajeev Sakhuja

Course Overview

PS: Focus is on designing Microservices not coding

  • No specific Microservices framework in use

  • All sample code is in plain JAVA to demonstrate/clarify understanding of DDD patterns, etc.

  • Models are developed in UML - using the PlantUML tool

  • PostgreSQL/MongDB/RabbitMQ/Kafka - free instances created on the cloud for demos & walkthroughs

PLEASE Do NOT join the course if you are looking for tutorials on Microservices Coding or specific framework!!!

What is this course about?

Microservices is a new way of building software in which an application is composed of an independent set of services. The biggest benefit of Microservices is that it enables an organization to transform at a very rapid pace. This speed to market is achieved due to the independent nature of the services that make up a Microservices application. Companies like Amazon, Netflix and Etsy have proven the value of Microservices beyond doubt.

Many organizations today are looking to adopt Microservices. These organizations are investing in technologies, tools, skills and are changing their software development and delivery processes as well. But still many organizations are failing to achieve the full benefits of Microservices; in fact many organizations feel that they have created technical debt by adopting Microservices.

So why is it that some organizations have been successful in adopting Microservices while others are not. One common aspect I have observed in companies that fail to adopt Microservices is that they treat Microservices as a purely technology initiative. They do not spend time in understanding the business aspects of their Microservices applications  !!!


Microservices is NOT just about technology

The key element of the Microservices architecture is that services are Independent. This independent aspect of the service is what makes it possible for Microservices to change independently of other services. If scope of the microservices is leading to inter-dependencies between services then it would lead to a need for change coordination between teams which in turn will lead to the same problems we have with Monolithic applications !!! Release cycles will be longer and there will be no benefit of the adoption of Microservices.

To ensure that these is no interdependencies between Microservices, a Microservices architect needs to understand the domain and then decide on the boundary and scope of the Microservices. This is where Domain Driven Design comes into picture. Once the Microservices business boundaries are defined the services should be built using appropriate Microservices design patterns and technologies.

Teams working on Microservices should not just look at the technical aspects of the service but MUST keep in mind that there are other considerations that play a critical part in the success of Microservices initiative. In order to


Role of a Microservices Architect

An IT professional working in the role of Microservices architect is responsible for may aspects depending on the maturity of Microservices adoption in their organization. Here are the list of activities that the architects is responsible for:

  • Evaluate the business benefits of Microservices for their specific organization

  • Build a Business case for Microservices

  • Educate the Business & IT stakeholders on pros/cons of Microservices

  • Apply Domain Driven Design to demarcate the boundaries of Microservices

  • Define the domain model for the Microservices

  • Do the technical design of Microservices

  • Guide and Mentor the Microservices teams

  • Evaluate the technologies | frameworks for the realization of Microservices

  • Build proof of concepts to show how things work

How will this course help?

This course will help developers & architects in building skills needed for successful implementation of Microservices applications. It consists of a combination of concepts, UML modelling and working code to demonstrate the implementation of Microservices. Students will learn the concepts of Domain driven design by way of common industry examples and a case study (ACME travels). 


Focus is on Architecture, Design and Development of Microservices.


1. Transformation & Microservices

2. Domain Driven Design

3. Applying the DDD strategic & tactical pattern

4. Event Driven Architecture

5. Event Storming

6. Data Management

7. Messaging

8. Distributed Transactions

9. API


IMPORTANT:

Code Samples

Focus is on the Microservices design not coding.

  • All of the sample code is in plain JAVA

  • Course does NOT cover any specific framework

  • SpringBoot is used in samples for API/GraphQL section

Please check out the course preview lectures before enrolling the course.

  • Review the topics covered

  • Make sure you understand instructor's accent


Pre-Requisites

  • Basic understanding of JAVA or any other programming language

  • Some experience with software development practices

PS:

Hand on part is optional but students are encouraged to do hands on tasks to get a better feel of the design patterns.

See more

FAQ

FAQ area empty

Course curriculum

15 chương 115 bài học 12 giờ 41 phút 7 bài học thử miễn phí
Chương 1 Course Ouline
Chương 2 Microservices Architecture
Chương 3 Introduction to Domain Driven Design
Chương 4 Understanding the Business Domain
  • Why understand the Business? 2:36
  • Introduction to Business Model Canvas 7:11
  • Exercise : ACME Travels Business Model Canvas 8:07
Chương 5 Domain Driven Design : Strategic Patterns
  • Introduction to DDD and Patterns 2:20
  • Business Subdomain Types 10:28
  • Exercise : ACME Subdomain Type Assignment 4:56
  • Understanding the Business Context 4:39
  • Business Domain Language 7:15
  • Strategic Pattern : Ubiquitous Language 7:33
  • Exercise : Define ACME's Ubiquitous Language 6:28
  • Strategic Pattern : Bounded Context 7:48
  • Discovering the Bounded Contexts in a Domain 7:05
  • Exercise : Identify ACME's Bounded Contexts 8:17
Chương 6 Bounded Context Relationships
  • Intro to DDD Integration Patterns 2:19
  • Managing BC Relationships using Context Maps 5:17
  • Symmetric Relationship Patterns 6:25
  • Asymmetric Relationship Patterns 8:15
  • One to Many Relationship Patterns 3:34
  • Exercise : Context Mapping for a Bank 5:37
Chương 7 Domain Driven Design - Tactical Patterns
  • Intro to DDD Tactical Patterns 1:38
  • Entity Object - Pattern 6:36
  • Value Object - Pattern 7:55
  • Exercise : Identify Entity & VO in ACME Sales Model 8:39
  • Hands On : Building the ACME Sales Entities & VO in JAVA 10:32
  • Aggregate & Factory - Pattern 5:25
  • Exercise : ACME Sales Use Case 3:55
  • Hands On : UML for ACME Sales Aggregates 4:52
  • Model Behavior : Anemic & Rich Models 8:55
  • Repository Object - Pattern 10:02
  • Hands On : ACME model Repository in UML & JAVA 10:12
  • Domain Service - Pattern 6:51
  • Application Services - Pattern 6:12
  • Infrastructure Services - Pattern 5:13
  • Hands On : ACME Domain Service, UML & JAVA 5:15
  • Hands On : Application and Infrastructure Services, UML & JAVA 6:12
Chương 8 Events Driven Architecture & Domain Events
  • Intro to Events in Microservices 1:55
  • Monolithic & Distributed Communication Patterns 7:07
  • Microservices Interaction Patterns 9:15
  • Event Driven Architecture 10:48
  • Hands On : Pub Sub with AMQP/RabbitMQ 9:46
  • Domain Events - Pattern 11:34
  • Hands On : Static Class Broker Pattern 8:28
  • Exercise : ACME Sales Domain Events 6:09
  • Hands On : Realization of ACME Domain Events 3:06
  • Integration Events - Pattern 7:13
  • Exercise : ACME Sales Integration Events 8:22
  • Hands On : Realization of ACME Integration Events (1 of 2) 7:51
  • Hands On : Realization of ACME Integration Events (2 of 2) 4:32
Chương 9 Event Storming for creating shared knowledge
  • Learning Objectives : Discovering the Events in a Domain 1:37
  • Introduction to Event Storming 7:20
  • Elements of Event Storming 8:24
  • Preparing for the ES Workshop 6:51
  • Conducting the ES Workshop 7:09
  • Exercise : ACME Sales ES Workshop 9:39
Chương 10 Microservices Data Management Patterns
  • Introduction to Microservices Data Persistence 1:31
  • Monolithic Apps - Shared Persistence Storage 5:30
  • Service Oriented Architecture (SOA) 2:25
  • Separate Database pattern 4:09
  • Brownfield Microservices : Database patterns | options 6:55
  • Shared Database Pattern 9:35
  • Shared Database : Challenges & Solutions 8:13
Chương 11 Microservices DB Performance Management
  • Need for more Data Patterns 2:36
  • Commands Query Separation (CQS) 4:26
  • Hands On : PostgreSQL Database for backend 9:54
  • Realization of Commands & Queries 5:47
  • Hands On : Build the CQS Pattern 10:37
  • Command Query Responsibility Segregation (CQRS) 7:17
  • Data Replication between WRITE-READ sides 3:29
  • Exercise : ACME CQRS for Proposal 6:26
  • Hands On : ACME CQRS command implementation 6:09
  • Event Sourcing and Event Store considerations 8:27
  • Hands On : MongoDB for ACME Sales READ side 7:53
  • Hands On : CQRS-v1 Proposal Subscriber 6:39
  • Hands On : CQRS-v2 Read side Query 2:20
Chương 12 Microservices Managing the Data Integrity
  • Introduction to Reliable Messaging 1:52
  • Designing for Failure 10:33
  • Exercise : Address ACME CQRS Write side failures 12:09
  • Exercise : Address ACME CQRS Read side failures 9:18
  • Hands On : Handling Duplicate Messages 5:49
Chương 13 Microservices and Kafka
  • Use of Kafka in Microservices 1:26
  • Kafka Overview 3:45
  • Kafka Concepts 11:22
  • Hands On : Create a Kafka Cluster 6:34
  • Hands On : Working with Kafka Producer 5:20
  • Hands On : Working with Kafka Consumer Groups 8:12
  • Kafka vs AMQP (RabbitMQ) 5:15
  • Exercise : Messaging for Microservices 7:12
Chương 14 Managing Distributed Transactions with SAGA
  • Distributed Transactions with SAGA 0:58
  • SAGA Pattern for distributed transactions 8:00
  • SAGA Choreography Vs. Orchestration 7:08
  • SAGA Implementation Considerations 4:11
  • Exercise : ACME Sales Booking Transaction SAGA 11:38
  • Hands On : UML & Code walkthrough of Booking SAGA 9:11
Chương 15 Microservices and API
  • Microservices-API Realization 2:14
  • Introduction to REST API 2:44
  • REST API Resources & Design constraints 7:16
  • API Management 6:38
  • Exercise : ACME REST API for Products 4:16
  • Hands On : ACME REST API in action 6:02
  • Introduction to GraphQL 10:19
  • GraphQL Schema Definition 9:21
  • Exercise : ACME GraphQL API for Products 4:52
  • Hands On : ACME GraphQL API in action 7:24

Requirment

  • Understanding of software development practices

  • Basic knowledge JAVA or any other programming language

Outcomes

  • Domain Driven Design

  • Architecting Microservices Application

  • Design Patterns for building Microservices & Distributed systems

  • Event Driven Architecture

  • Developing API for Microservices

  • Event Storming

  • Develop a Business case for Microservices

Instructor

...
Rajeev Sakhuja

0.0

  • ... 0 Student
  • ... 2 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all