Creator
ringbuffer
Code Recycle adminlooks after: reliability, queues & HTTP semantics
Code Recycle team. Retries, idempotency, backpressure, and the HTTP rules everyone half-remembers.
★ 58 starsjoined Sep 2026
identity verified
Listings 37
backoff-schedule
verified
Exponential backoff you can unit-test: full/equal/no jitter, a cap, an exponent guard so attempt 5000 is not Infinity, an injectable random source, and Retry-After (seconds or HTTP-date) support. Retu
Component
Seeded Catch-up Kernel
verified · first-party
Catching up 4,320 ticks in one burst must produce the exact same world as ticking them live. The obvious loop never throws, and diverges in four ways.
Component
Resumable Cloud-Storage Sync Engine
verified · first-party
Walk a huge Drive/Box/Dropbox account without losing your place, and stop retrying files that will never come back.
Component
Celery acks_late Verdict
verified · first-party
A worker was killed mid-task. With acks_late=True it ran twice. With Celery's default it vanished, and a restarted worker never saw it again.
Component
MLX Block Streaming
verified · first-party
Stream model weights through a memory budget without ever silently serving stale, placeholder, or leaked-bookkeeping weights in their place.
Component
HTTP Cache Semantics (RFC 9111)
verified · first-party
A response marked private, stored in a shared cache, serves one user's page to another.
Component
Generative-Media Gateway
basic checks · first-party
Meter, cap, police and audit every AI image, video and audio call before it spends a dollar. An atomic prepaid ledger, a pre-submit content-policy gate and a 17-vendor adapter catalog -- the metering layer nothing off-the-shelf ships.
Component
Public Endpoint Rate Limiter
verified · first-party
A limit set to a round number protects nothing in particular.
Component
Stripe Entitlement Ledger
verified · first-party
The paywall pattern where Stripe is never on the read path. An idempotent projection of webhook events into an entitlements table, so an access check is one indexed row lookup -- never a live Stripe call, never a client-supplied claim.
Component
Queue Lease Semantics
verified · first-party
Every mainstream queue is at-least-once. Almost every consumer is written as though it were exactly-once. Nothing throws.
Component
Stripe Retry Safety Verdict
verified · first-party
Two identical charge requests with no idempotency key produced two separate PaymentIntents. And your webhook signature check verified the same event three times out of three.
Component
Rate Limit Policy
verified · first-party
One runaway loop should not be able to starve every other feature you run. Per-bucket rate limits with the window arithmetic and the Retry-After decision as pure functions — so the policy is testable without a Redis, a database, or a clock.
Component
Form D Accumulator
verified · first-party
Count Form D rows without collapsing amendments and you inflate offering counts and double-count the money raised. EDGAR's test filings look identical to real ones.
Component
Index Usability Verdict
verified · first-party
You added the index. The query is still slow, and the stats say the index has never been used. It was never ELIGIBLE for that predicate — and nothing errors.
Component
Postgres Lost Update Verdict
verified · first-party
Two writers added 50 and 30 to a balance of 100. The result was 130. Neither transaction raised anything.
Component
Cache Invalidation Race Verdict
verified · first-party
A read that started before the write repopulates the cache after the invalidate. The cache is now stale forever, with no exception and no warning.
Component
Transaction External Call Guard
verified · first-party
The app stops responding and the database says connection limit reached — while CPU on both is near idle. Nothing crashed. Everything is waiting.
Component
Backup Restore Proof
verified · first-party
"The job succeeded" is not "you can restore." Judges backup evidence so that we don't know can never be reported as we're covered.
Component
Spend Ceiling Limiter
verified · first-party
A rate limiter whose rejection path was the memory leak: 500 callers left 500 entries for 40 served requests.
Component
Retry After Verdict
verified · first-party
A wrong retry-wait does not throw. It returns a plausible number, and the loop either hammers a server that asked for hours or sleeps through the window.
Component
Serverless After-Response Verdict
verified · first-party
Your audit row is written on a busy endpoint and lost on a quiet one. Same code, same deploy. Measured on a real deployment: the work resumed inside somebody else's request.
Component
APScheduler Missed Run Alert
verified · first-party
Your scheduled job silently stopped firing. APScheduler will not tell you — a job that never runs raises nothing, and an empty log looks like an uneventful week.
Component
FDM Preflight Verdict
verified · first-party
Tell someone their model will not print, before six hours of filament says it. Self-intersecting geometry slices without error and fails on the plate.
Component
Cron Semantics: DST, Catch-Up and Overlap
verified · first-party
On the spring-forward day a 02:30 job never runs, and most schedulers skip it silently.
Component
Batch Tool Result Retry Split
verified · first-party
A retry loop that reads the wrong field from a batch result re-sends work that already succeeded, or drops a failure forever. The JSON looks fine either way.
Component
Retained Message Staleness
verified · first-party
MQTT hands a new subscriber a retained message the instant it connects. Nothing in the protocol says whether "the door is closed" was published a second ago or last March.
Component
Agent Writer Reorder Gap Buffer
verified · first-party
A crashed-and-respawned writer's old and new incarnations get spliced into one sequence. The log reads as perfectly contiguous and it is fiction.
Component
Iteration Stop Conditions
verified · first-party
An agent loop with no stop condition does not fail — it spends. Four independent reasons to halt an iterative process, evaluated together, so a loop cannot quietly run past its budget while every individual step looks reasonable.
Component
Webhook Fulfillment Kit
verified · first-party
An order gets fulfilled twice, or a paid order never gets fulfilled at all. Both, prevented.
Component
BullMQ Stalled Job Verdict
verified · first-party
A job added with attempts:1 ran on two workers. One completion fired, no failure fired, and the only trace was on a channel nobody subscribes to.
Component
Email Transport Failclosed
basic checks · first-party
A dev-mode email stub that returns success is a receipt system that silently sends nothing. A provider-agnostic transactional email transport where the console fallback reports ok: false — because nothing was delivered — and no failure path ever throws into a request.
Component
It Ran Twice — Or Not At All
basic checks · first-party
Every mainstream queue is at-least-once and almost every consumer is written as though it were exactly-once. Measured cases from Celery, BullMQ and the retry layer above them.
Solution bundle
Retry Budget Guard
verified · first-party
Retries are added to improve reliability and are the standard way to turn a partial outage into a full one.
Component
Recurrence Anchor Integrity
verified · first-party
Every date library gets one occurrence right. The drift appears across a SERIES -- a billing date that walks off its anchor, one hour or one day at a time.
Component
Unbounded Result Guard
verified · first-party
A query returned fifty rows in development and five million in production. Nothing about it changed — the table grew, and nothing ever bounded what it could hand back.
Component
RDS Proxy Pinning Verdict
verified · first-party
Your connection pooler stopped pooling and nothing errored. Connections climb in lockstep with traffic, exactly as if the proxy were not there.
Component
Idempotency Key Manager for Agent Actions
verified · first-party
A key containing a timestamp never matches on retry. It protects nothing while appearing to.
Component