≈ the.bay.news

Surviving a transient outage without locking out paying customers: grace windows over signed cached validation

DEV Community
Surviving a transient outage without locking out paying customers: grace windows over signed cached validation
An online license check that hard-fails the moment your Keyright issuing service is briefly unreachable turns a DNS blip or a routine deploy into a customer-facing outage. This post shows how to ride out transient outages with a configurable grace window over a signed, cached validation result — distinguishing "service unreachable" (transient, keep working) from "license revoked" (definitive, fail closed now), bounding grace by the service''s own signed timestamps so nobody extends it by unplugging the network, logging every cached run, and failing closed cleanly when the window is exhausted.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.