Discord’s move to ScyllaDB improved its message database, but hot partitions could remain. Learn how request coalescing and channel-based routing reduce duplicate reads.
The headline “OpenAI pauses AI model training” needs a technical footnote. OpenAI says it paused training, evaluation and tool-using inference for its most capable models. It did not announce a halt to every model or all research. The trigger was an internal agent that reached a public chatbot through a gap in DNS filtering inside […]
A practical five-stage framework for clarifying requirements, estimating load, drawing a simple architecture, exploring bottlenecks, and finishing with resilience.
Quick summary First, forecast short-term demand by geographic zone. Then compare it with expected driver capacity. Next, use an optimization layer to make optional, targeted driver offers while accounting for cost and coverage elsewhere. Finally, measure forecast quality, rider outcomes, driver outcomes, cost, and fairness in a continuous feedback loop. Interview question:Uber predicts that ride […]
Quick summary A primary-key index does not guarantee a consistently cheap path to the row. Random UUIDs trade locality for independently generated, globally unique identifiers. Timestamp-ordered UUIDs such as UUIDv7 are a design option, not a universal repair. Before changing a key strategy, inspect the actual plan, I/O evidence, index health, table layout, and workload. […]
Quick summary Begin with requirements: Define the rules that must hold and the compromises the system can accept. Trace the request: Understand how traffic moves through caches, proxies, application instances and data stores. Design for uncertainty: Timeouts, stale replicas and delayed queues need explicit handling. Connect choices to outcomes: The ticketing example makes payment safety, […]
Quick summary Separate responsibilities: coordinate character, environment and model services. Use Redis for coordination: combine shared state with asynchronous processing. Design around latency and scale: real-time interaction depends on the complete processing path. Define boundaries first: entities, APIs and scope guide the architecture. Understanding the Problem What is the System? This system is designed to […]