22Reads are drowning our database primary. Someone suggested Multi-AZ. Does that help, and if not, what does?▼easyRazorpaySwiggyJPMorgan Chase○ sign inAsk whether Multi-AZ means a DB instance or a DB cluster. One has a non-readable standby; the other has two readers. That distinction decides whether the proposal can relieve the primary.Open full answer →
23A DynamoDB table provisioned at 6,000 writes per second throttles at 2,000. The partition key is a date shared by many items. Fix it.▼hard★ EssentialAmazon & AWSFlipkartPhonePe○ sign inA busy date key can throttle while table capacity remains available. Check the actual key distribution and throttling reason before adding capacity or shards.Open full answer →
28Traffic grew thirty percent a quarter and our model said two years of headroom. We ran out in five months. What went wrong?▼hardNetflixLinkedInFlipkart○ sign inWhere linear models break: compounding growth, step functions, peak days and saturation cliffs. Forecast per constrained resource, backtest, subtract lead time to get the real order-by date.Open full answer →
65The cluster adds four nodes and removes them again every ten minutes, all night, with flat traffic. Stop it.▼hardAmazon & AWSDatabricksDatadog◆ premiumTwo controllers with different opinions and no shared hysteresis. Flat traffic with an oscillating node count means the loop is driven by something other than demand, and the candidates are few.Open full answer →
01What does it mean for a service to be stateless, and why does everyone insist on it?▼easyNewGoogleAmazon & AWSInfosysunlockedStateless does not mean there is no state. It means the state is not in the instance, which is what lets you kill any instance at any time. Every scaling and deployment property people want depends on that one thing.Open full answer →
09When would you scale a system vertically rather than horizontally? Give me a case where vertical wins.▼easyOracleSAPGoldman SachsunlockedThe default answer is 'horizontal' because interviews reward it. The correct answer names the constraint that makes distribution expensive and knows when one big machine is the engineering choice.Open full answer →