Design and Data Management

0.0(0)
Studied by 9 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:05 PM on 4/10/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

28 Terms

1
New cards
  1. Single Responsibility Principle (SRP)

  2. Independence

  3. Decentralized Data Management

  4. Resilience

  5. API-First Communication

Give the characteristics of Well-Designed Microservices (SIDRA)

2
New cards

Single Responsibility Principle (SRP)

Each microservice should focus on a single capability or responsibility.

3
New cards

Independence

Services should be independently deployable and testable.

4
New cards

Decentralized Data Management

Each microservice owns its data.

5
New cards

Resilience

Failures in one service should not

crash the entire system.

6
New cards

API-First communication

Services interact via

APIs (REST, gRPC, GraphQL, Messaging Queues).

7
New cards

Domain-Driven Design (DDD)

Identify business domains and subdomains

8
New cards

Bounded Contexts

Group related functionality (e.g., Order service, payment service)

9
New cards

Synchronous Communication

A request/response communication style where a service waits for an immediate reply (e.g., REST, gRPC).

10
New cards

Asynchronous Communication

An event-driven communication style where services communicate through messages without waiting for immediate responses.

11
New cards

Prefer async messaging to reduce tight coupling

What is the best practice for communication patterns?

12
New cards

Containerization

Packaging applications and dependencies into containers using tools like Docker.

13
New cards

Auto-scaling

Automatically increasing or decreasing service instances based on workload demand.

14
New cards
15
New cards

Monolithic systems

single database for all modules.

16
New cards

Strong consistency

A consistency model where data changes are immediately visible to all services but can limit scalability.

17
New cards

Eventual Consistency

A model where data updates propagate asynchronously and eventually become consistent across services.

18
New cards

Sagas pattern

Long-running transactions split across multiple services. Coordination via: Choreography and Orchestration

19
New cards

CQRS (Command Query Responsibility Segregation):

Separate read and write models for efficiency

20
New cards

Event sourcing

Store changes as a sequence of events rather than

current state.

21
New cards
  1. API Composition

  2. Database View Replication

  3. Event-Driven Replication

Give the 3 Data Sharing Strategies (ADE)

22
New cards

API Composition

A data sharing strategy where a service aggregates data from multiple services through APIs.

23
New cards

Database View Replication

Creating read-only replicated views of data for reporting or querying.

24
New cards

Event-Driven Data Replication

Services publish events so other services can update their own data stores.

25
New cards

Polyglot Persistence

Using different types of databases for different microservices depending on their needs.

26
New cards

Authentication

The process of verifying the identity of a user or service.

27
New cards

Data Security

Encrypt sensitive data at rest and in transit.

28
New cards

Governance

API Gateway for access control, monitoring,

throttling.