Courses / Data, AI & infrastructure / Microservices Fundamentals

₹499Self-paced

Microservices Fundamentals

Build a four-service system behind a gateway with tested contracts, private data, a saga with compensations, fault-tested resilience and one trace across every service.

  • Who it's for. Developers who can write a small HTTP service and know system-design basics, and want to judge when and how to split a system into services.
  • Before you start. Comfort writing a small HTTP service and tests in one language (the labs use Node.js with built-in modules only), reading JSON, and the System Design Fundamentals concepts of latency, queues and caching.
  • 28 to 49 hours of study with practice
  • 8 modules, 50 lessons
  • 4 guided projects and a final project

What you'll learn

  • Decide with evidence whether and where to split a system, and when to stay with one deployable.
  • Keep data private to each owner and assemble views with composition, read models and an outbox.
  • Add discovery, externalised configuration, health checks and graceful shutdown.
  • Protect callers with deadlines, bounded retries, circuit breakers, bulkheads and fallbacks proved by seeded fault tests.
  • Package, release and roll out services independently and write a decision record including when not to use microservices.

Skills you'll gain

  • Service boundaries
  • Communication contracts
  • Data ownership
  • Consistency
  • workflows
  • Discovery
  • configuration
  • Resilience
  • Observability
  • Deployment
  • trade-offs

Tools you'll use

  • Node.js (built-in modules)
  • Container compose description
  • Structured logs and trace context
  • Contract tests

Details to know

  • Certificate on completionIssued after your final project is reviewed
  • 8 module checkpointsA quiz and a practical task close each module
  • Self-pacedStudy any time; your progress is saved

How every lesson works

Each lesson follows the same four steps, so you always know what comes next.

  1. 01

    Watch & Learn

    A short animated video explains one idea at a time.

  2. 02

    Guided Practice

    Work through an example step by step and check the result.

  3. 03

    Quiz & Challenge

    Short questions check the idea has landed before you move on.

  4. 04

    Mini Project

    Build something useful from a project brief.

Learn at your own pace

This is a self-paced course. There are no live classes and no fixed timetable.

  • Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
  • Pick up where you left offYour progress is saved to your account.
  • Ask when you're stuckUse Ask Mentor inside the learning platform.

Your path in 3 phases

Each phase ends with something you have built and checked.

  1. 01

    Modules 1 to 3

    Boundaries, contracts and data

    Decide where to split, define and test versioned service contracts, and keep each service's data private with read models and an outbox.

    You build: Guided project: Boundaries and contracts for the order system.

  2. 02

    Modules 4 to 6

    Workflows, discovery and resilience

    Coordinate sagas with idempotent retries, add configuration, health and graceful shutdown, and protect callers with deadlines, breakers and fallbacks.

    You build: Guided project: Owned data and a reliable order workflow.

  3. 03

    Modules 7 to 8

    Observe, deploy and decide

    Make requests explainable with logs, traces and metrics, then release services independently and record when microservices are the wrong choice.

    You build: Guided project: Findable, resilient and observable services; Deploy, release and decide.

Full curriculum

8 modules and 50 lessons, 28 to 49 hours of study

01Service boundaries6 lessons, 2 to 4 hours

Lessons

  • Cost ledger of a split versus a single deployable
  • Decomposing by business capability
  • Bounded contexts and the same word meaning two things
  • Spotting a wrong boundary from coupling signals
  • Team ownership and the self-contained service
  • Carving a service out of a monolith with a strangler seam

After this module you can

  • Fill a cost ledger that lists what one network hop adds to a call and decide split or stay for a given team size
  • Derive candidate services from a capability map and reject candidates named after technical layers
  • Route one capability to a new service behind a facade while the monolith serves everything else, and prove both paths return the same result
02Communication contracts7 lessons, 3 to 5 hours

Lessons

  • Synchronous request and response with a deadline
  • Writing the contract before the code
  • Consumer-driven contract tests
  • Backward-compatible evolution and the tolerant reader
  • An error contract with status codes and structured bodies
  • Commands versus events in asynchronous messaging
  • Idempotent consumers and duplicate messages

After this module you can

  • Call a peer service over loopback HTTP with an explicit timeout and map a timeout to a 504-style error
  • Write a machine-checkable response contract for one endpoint and validate a real response against it
  • Make a consumer safe against redelivery by recording processed message ids and prove the effect happens once
03Data ownership6 lessons, 2 to 4 hours

Lessons

  • Database per service and the ownership rule
  • API composition for cross-service reads
  • Local read models fed by events
  • Referencing by id versus copying data
  • Schema changes inside the owner with expand and contract
  • The transactional outbox for reliable event publication

After this module you can

  • Enforce that only the owning service reads and writes its store by giving each service a private data file and failing any cross-access
  • Build a composer that joins data from two services in memory and returns a partial result when one source fails
  • Write the state change and the outgoing event in one local transaction and relay the event afterwards, surviving a crash between the two
04Consistency and workflows6 lessons, 3 to 4 hours

Lessons

  • Why a distributed transaction is avoided and what eventual consistency means
  • Choreographed saga with events
  • Orchestrated saga with a coordinator
  • Compensating actions when a step fails
  • Idempotency keys for retried commands
  • Testing sagas with seeded duplicates, loss and reordering

After this module you can

  • Demonstrate the inconsistent window between two service updates and measure how long it lasts
  • Complete a three-step order flow by services reacting to each other's events, with no central coordinator
  • Run a saga against a fault injector with a fixed seed and assert the final state is consistent across many runs
05Discovery and configuration6 lessons, 3 to 4 hours

Lessons

  • A service registry and client-side discovery
  • Heartbeats, TTL and removing dead instances
  • Externalised configuration and the twelve-factor config rule
  • An API gateway as a single entry point
  • Liveness and readiness health endpoints
  • Graceful shutdown and disposability

After this module you can

  • Register instances in a registry and resolve a service name to an instance address with round-robin selection
  • Expire instances that stop sending heartbeats and verify callers stop receiving their addresses
  • Handle SIGTERM by stopping new work, finishing in-flight requests and deregistering before exit
06Resilience7 lessons, 3 to 5 hours

Lessons

  • Deadlines that propagate across hops
  • Retries with exponential backoff and jitter
  • Retry amplification and retry budgets
  • The circuit breaker state machine
  • Bulkheads and concurrency limits
  • Fallbacks and degraded responses
  • Fault injection with a seeded schedule

After this module you can

  • Pass a remaining-time budget through a chain of calls so downstream work stops when the caller has given up
  • Retry only transient failures with growing, jittered waits drawn from a seeded generator
  • Drive a service through slow, error and drop faults from a seeded schedule and assert observable behaviour per fault
07Observability6 lessons, 3 to 4 hours

Lessons

  • Structured logs and a correlation id
  • Propagating W3C trace context
  • Spans and the parent-child tree
  • Request, error and duration metrics
  • Asserting on telemetry in tests
  • Diagnosing a slow request from a trace

After this module you can

  • Emit one JSON log line per event with a correlation id and find all lines of one request across services
  • Create, parse and forward a traceparent header so downstream spans share the caller's trace id
  • Locate the span responsible for added latency in a recorded trace and confirm the cause with a metric
08Deployment and trade-offs6 lessons, 3 to 4 hours

Lessons

  • One image and one process per service
  • Running several services with Compose
  • Independent releases and a contract gate
  • Rolling out an incompatible change safely
  • The distributed cost: a decision matrix against a modular monolith
  • When not to use microservices: a decision record

After this module you can

  • Write a Dockerfile for a Node.js service that contains only that service and starts one process with configuration from the environment
  • Describe services, a network and a volume in a compose file and check that it parses and names every capstone service
  • Write a decision record that states the context, options, chosen option, consequences and the review trigger, and test its completeness

What you'll build

4 guided projects along the way, then a final project.

  • Boundaries and contracts for the order system

    after module 2
  • Owned data and a reliable order workflow

    after module 4
  • Findable, resilient and observable services

    after module 7
  • Deploy, release and decide

    after module 8

Final project

A four-service order system (Catalog, Orders, Payments, Notifications) behind a gateway with consumer-driven contract tests, seeded failure tests, trace assertions and a decision record.

What you submit

Source and artifact submission: repository with four services, gateway, compose description and decision record.

How it's reviewed

Trainer-reviewed demonstration: live run of the happy path, one injected fault and the trace of a slow request. Marked against the course project review rubric.

Where you'll use it

  • Decide with evidence whether a feature should become its own service or stay in one deployable.
  • Trace a slow request across several services from structured logs and spans.

Roles that use these skills

  • Backend developer
  • Software architect
  • Platform engineer

Earn the certificate by building, not watching

  1. Complete the lessons and pass each module checkpoint.
  2. Build your final project and demonstrate it.
  3. OUTLEARN reviews your project and issues your certificate. It is not issued automatically.

Frequently asked questions

Do I need Docker?

Basic container ideas from Docker Fundamentals are needed only for module 8.

Which language do the labs use?

Node.js with built-in modules only.

How is Microservices Fundamentals structured, and is it open now?

It has 8 modules and 50 lessons. It is not yet released to learners.

Be first in when Microservices Fundamentals opens

Email us and we will tell you as soon as enrolment opens.

Notify me when it opens
₹499Opens soon
Notify me