Menu

#Await

198 posts

Feed·
20 of 198 posts
Never mark a crypto order paid twice: confirmations, reorgs and out-of-order webhooks
🖼️
0Read More

Never mark a crypto order paid twice: confirmations, reorgs and out-of-order webhooks

DEV Community: backend·Coldtill·about 17 hours ago
#exkT7IOY
#devtobackend#devto#dev#payment#coldtill

A classic crypto checkout bug goes like this. A webhook comes in, the shop marks the order paid, a...

15s
‘South Park’ Parodies ‘GTA VI’ Hype With Dog Poop Gameplay
📰
0Read More

‘South Park’ Parodies ‘GTA VI’ Hype With Dog Poop Gameplay

Deadline·Glenn Garner·about 20 hours ago
#9t3SzYUK
#deadline#south#gamers#await#release

As gamers await the release of Grand Theft Auto VI next month, South Park once again took aim at the upcoming game, this time armed with dog poop.…

15s
Gap-free invoice numbers in SQL Server (and why IDENTITY can't give you them)
📰
0Read More

Gap-free invoice numbers in SQL Server (and why IDENTITY can't give you them)

DEV Community: database·Zohaib Ahmad·2 days ago
#6w41mpic
#devtodatabase#devto#dev#number#sale

Accountants care about receipt and invoice numbers more than developers expect. If they see S-10481,...

15s
Three bugs a point-of-sale can't afford, and how I designed them out in ASP.NET Core
🖼️
0Read More

Three bugs a point-of-sale can't afford, and how I designed them out in ASP.NET Core

DEV Community: dotnet·Zohaib Ahmad·2 days ago
#e8RKscTQ
#devtodotnet#devto#dev#sale#stock

A point-of-sale looks like the easiest app in the world: a list of products, a cart, a "Charge"...

15s
Mastering Distributed Transactions: Saga Pattern & Outbox for Microservice Data Consistency
📰
0Read More

Mastering Distributed Transactions: Saga Pattern & Outbox for Microservice Data Consistency

DEV Community: microservices·Muhammad Tahir·2 days ago
#YRnq6zgx
#devtomicroservices#devto#dev#order#await

Ensuring data consistency across distributed microservices is a critical challenge that often leads to complex architectural debt. This article unveil

15s
My Logging Middleware Ate the Request Body
📰
0Read More

My Logging Middleware Ate the Request Body

DEV Community: webdev·Sukhpinder Singh·3 days ago
#qz6irB8U
#devtowebdev#devto#dev#body#request

I added request-body logging and a downstream handler started seeing empty payloads. Here's why the request body is empty on a second read, with byte counts, and what EnableBuffering actually costs.

15s
Cache Stampede (Thundering Herd) in Node.js & Redis: Preventing Database Meltdowns on Cache Misses
📰
0Read More

Cache Stampede (Thundering Herd) in Node.js & Redis: Preventing Database Meltdowns on Cache Misses

DEV Community: redis·subashthiruppathy·3 days ago
#NdlKspsP
#devtoredis#devto#dev#redis#const

You added Redis in front of an expensive query, and it worked beautifully. The dashboard that took...

15s
TypeScript `Disposable` Protocol in 2026: Structuring Cleanup-Heavy Server Code With `using` and Stacks
🖼️
0Read More

TypeScript `Disposable` Protocol in 2026: Structuring Cleanup-Heavy Server Code With `using` and Stacks

DEV Community: javascript·jsmanifest·4 days ago
#csMSzhvN
#devtojavascript#devto#dev#await#using

Learn how TypeScript's Disposable protocol, using declarations, and DisposableStack eliminate resource leaks in Node.js servers through deterministic cleanup that executes at scope exit.

15s
From an Express SPA to Next.js 16: A Test-First Strangler Fig Migration of a Shared Auth System
🖼️
0Read More

From an Express SPA to Next.js 16: A Test-First Strangler Fig Migration of a Shared Auth System

DEV Community: nextjs·Henry Lee·4 days ago
#OWu0djLN
#devtonextjs#devto#dev#next#code

How we migrated a login system used by several products without breaking it: Playwright E2E tests as the spec, TDD on top, and session sharing between the old and new apps.

15s
How to test if an AI agent can find your pricing page (Playwright, no LLM)
📰
0Read More

How to test if an AI agent can find your pricing page (Playwright, no LLM)

DEV Community: ai·BotFumble·4 days ago
#EWZqx0af
#devtoai#devto#dev#pricing#await

A 60-line Playwright script that checks whether a browser agent can reach your pricing page and read your prices, plus the three bugs I hit writing it.

15s
GCS Write Errors Ran for 12.5 Hours in us-central1. Spool Uploads to Disk, Drain Later
🖼️
0Read More

GCS Write Errors Ran for 12.5 Hours in us-central1. Spool Uploads to Disk, Drain Later

DEV Community: node·Gabriel Anhaia·5 days ago
#3AXUo7i1
#devtonodejs#devto#dev#spool#const

Google's Oct 8 GCS incident listed no workaround. Build a bounded on-disk upload spool in Node that fills during an outage and drains with jitter.

15s
Your 'Pay Now' Button Can Charge Twice. Idempotency Keys Are the Fix Nobody Adds Until It Happens
📰
0Read More

Your 'Pay Now' Button Can Charge Twice. Idempotency Keys Are the Fix Nobody Adds Until It Happens

DEV Community: node·Anas Sheikh·6 days ago
#PzkR9DOG
#devtonodejs#devto#dev#await#request

A customer clicks "Pay now". Nothing happens for three seconds, so they click again. Or their phone...

15s