The two writes that were never one write
A microservice that updates its database and publishes an event isn’t doing one thing. It’s doing two things and hoping nothing happens in between.
Short write-ups on shipping, running and sharpening production software.
A microservice that updates its database and publishes an event isn’t doing one thing. It’s doing two things and hoping nothing happens in between.
CPU sat at 70%. The database was fine. One request still waited two and a half minutes for a worker to even notice it existed.
A 60-second TTL worked fine for four months, until one key got popular enough to expire into a crowd.
Priya found the incident channel already at 200 messages when she opened Slack. Checkout was timing out. Not failing, timing out, which is worse, because failing is…
A “fix” for the forgetting was quietly costing about $8,800 a month — nobody had checked.
Photo by Scott Rodgerson on Unsplash
Cross-Origin Resource Sharing (CORS) is a security feature inside browsers which prevent you from making HTTP requests to websites of another origin.