Software Engineering Architecture Lab

SaaS Subscription Billing: System Design Case Study

A subscription platform: DDD, bounded contexts, billing, invoices, domain events and service extraction. Covers DDD, bounded contexts and billing.

A subscription platform: DDD, bounded contexts, billing, invoices, domain events and service extraction.

Topics

  • DDD
  • bounded contexts
  • billing
  • invoices
  • events
  • multi-tenancy

Other case studies

  • Global Marketplace — An Amazon-like e-commerce platform: orders, inventory, payments and distributed transactions.
  • Payments Platform — A Stripe-like payment API: idempotency, ledgers, retries, consistency and failure handling.
  • Ride-Sharing Platform — An Uber-like dispatch system: live location, real-time matching, geo-partitioning and event streams.
  • Video Streaming Platform — A Netflix-like streaming service: CDN, caching, microservices, resilience and personalisation at scale.