Architecture Payoff
💎 The Pure DDD & CQRS Advantage
Take a moment to step back and realize what we have accomplished. By separating Domain Logic (commands, aggregate invariants, and events) from Infrastructure Concerns (SQLite, Postgres, HTTP API protocols, network sandboxing, and runtime-specific environments), we have made our application completely robust, future-proof, and flexible.- Want to run your microservice as a lightweight, zero-dependency serverless edge component? Set
DATABASE_BACKEND=sqlite. - Need to scale to enterprise workloads on AWS with thousands of events per second? Enable
DATABASE_BACKEND=postgres. - Want to run globally distributed edge containers with serverless SQL backends? Set
DATABASE_BACKEND=neonorDATABASE_BACKEND=turso. - Want MySQL for a self-hosted or managed relational backend? Set
DATABASE_BACKEND=mysql. - Want Redis-backed event persistence and faster cross-client UI wakeups? Set
DATABASE_BACKEND=redisandREALTIME_BACKEND=redis. - Want MySQL persistence with Redis wake notifications? Set
DATABASE_BACKEND=mysqlandREALTIME_BACKEND=redis.