BM
Bashar ModallalSOFTWARE · AI · SYSTEMS
All courses

Backend Engineering

Build an order service, from its first HTTP request through a release you can measure and roll back.

Beginner

  1. Follow an HTTP Request

    Trace one order request from DNS and TLS through routing, application code and the response.

    10 min read
  2. Design Your First Resource API

    Specify the paths, methods, status codes and error bodies for creating and retrieving an order.

    9 min read
  3. Give Request Handling a Clear Structure

    Separate parsing, pricing rules and persistence so one rule can be tested without a running server.

    Upcoming lesson

Intermediate

  1. Validate Inputs and Business Rules

    Distinguish malformed input from an invalid order transition and return an error the caller can act on.

    Upcoming lesson
  2. Sessions and Order Ownership

    Follow a signed-in request and test that each customer can read and change only their own orders.

    Upcoming lesson
  3. Test an API at Its Boundaries

    Use unit, database and HTTP tests to cover a price change, a failed write and a broken response contract.

    Upcoming lesson

Advanced

  1. Prevent Two Buyers Taking the Last Item

    Compare a conditional update with a transaction and demonstrate which inventory invariant each preserves.

    Upcoming lesson
  2. Move Slow Work into Background Jobs

    Move receipts to a worker and decide how retries, acknowledgments and job status reach the customer.

    Upcoming lesson
  3. Cache Reads Without Serving Stale Orders

    Choose cache keys, expiry and invalidation by following one order before and after an update.

    Upcoming lesson

Expert

  1. Find a Tail Latency Regression

    Trace a slow checkout, compare median and p99 latency and test whether the bottleneck moves after a fix.

    Upcoming lesson
  2. Release a Breaking Change in Stages

    Evolve an order field while old clients and old service versions are still sending traffic.

    Upcoming lesson
  3. Capstone — Decide Whether Checkout Can Launch

    Use a load test, a failure budget and a rollback rehearsal to make a release decision for the order service.

    Upcoming lesson