Space-Based Architecture
Replicates data and processing in an in-memory grid to scale elastically and eliminate the database bottleneck.
Context
Extremely high-load systems (e-commerce flash sales, ticketing, trading) where the database is the limit.
Solution
Multiple processing instances share a distributed memory (data grid). The database is updated asynchronously.
Tradeoffs
| Pro | Con |
|---|---|
| Extreme horizontal scalability | Very high operational complexity |
| Ultra-low latency | Eventual persistence |
#architecture #scaling