Aldo Visconti
abstract

Orbital is a distributed, microservices-based platform that aggregates real-time cryptocurrency market data and financial news behind a single API gateway, with a Kotlin Multiplatform client (desktop and web) on top. Application logic is decomposed into two specialized services, market-service and news-service, fronted by a gateway that proxies, caches, and rate-limits every client request. The project focuses on keeping that aggregated data available and durable independently of any single component failing. The CAP theorem trade-off is explicitly addressed: the system prioritizes availability over strict consistency, since a client is always better served a slightly stale cached price than an error. Fault tolerance is implemented through real, verified infrastructure: both PostgreSQL databases run with a streaming-replication standby, and the Redis cache runs under a three-node Sentinel quorum, so a single-instance failure does not take the gateway’s caching or rate-limiting down with it. Market data is continuously ingested by a standalone worker, decoupled from API traffic, which persists an append-only time series and performs a one-time historical backfill for newly observed coins.