LanguageEnglish
Build →

Use cases · QuorumAuth

Worked use case: an illustrative business, built from the sources and formulas shown. Not a customer story.

Token introspection latency: keep revocation, drop the verifier call

A worked example for platform teams. At these inputs, a verifier on the request path adds 12 ms of network wait to every request and takes 20.7 billion calls a month. QuorumAuth verifies tokens inside your service, takes both to 0 after sign-in, and refuses a revoked token within a minute. If a service loses contact with QuorumAuth, it refuses every token instead of trusting a stale list.

Updated

What it costs you today

per year

  • Verifier fleet cost a year, before$10,800

With QuorumAuth

per year

  • Saved on this breakdown: $10,800

At these inputs, against a verifier you run on the request path.

What a verifier on every request costs today

Take an API platform serving 2,000 requests a second. Each request crosses 4 services, and each service checks the caller’s token by calling a central verifier: a token introspection endpoint (RFC 7662) or an auth gateway you run. Every check is a network call on the request path. Introspection answers per request, at the cost of a network call, and a cached answer can be stale (RFC 7662 §4).

At these inputs, that is 20.7 billion verifier calls a month, or 20,736,000,000 calls over 2,592,000 seconds. Assume each call costs 3 ms, a median same-region hop plus verifier time. With 4 checks in a row, each request waits 12 ms on the network before it does any work.

The verifier is also a fleet to run. Assume each replica handles 2,000 checks a second and you keep 2 spare for failover and deploys: that is 6 replicas. At an assumed $150 a replica a month, the fleet costs $10,800 a year. And every service now depends on it: when the verifier slows down, every request slows down with it.

With QuorumAuth: keep revocation, drop the verifier call

Sign-in, and each session refresh, is a request to a QuorumAuth edge, the same in both models; every later request is verified in your service, without a round trip. At these inputs:

At these inputs A verifier on every request Verified in your service by QuorumAuth
Verifier calls a month after sign-in 20.7 billion 0
Network wait added per request 12 ms 0 ms
Verifier replicas you run 6 0
Verifier fleet cost a year $10,800 $0
A revoked token Refused while the verifier answers; a cached answer can be stale Refused within a minute; a cut-off service refuses every token

Checking every token, with and without the extra call

A verifier on every request

  • 20.7 billion verifier calls a month
  • 12 ms of network wait added per request
  • 6 verifier replicas to run and pay for

Verified in your service by QuorumAuth

  • 0 verifier calls after sign-in
  • 0 ms of network wait added per request
  • Revoked token refused within a minute; a cut-off service refuses every token.

In short At these inputs, verifier calls fall from 20.7 billion a month to 0, and the verifier fleet from 6 replicas to 0.

Two columns compare one request path at these inputs. A verifier on every request: 20.7 billion verifier calls a month, 12 ms of network wait added per request, and 6 verifier replicas to run. Verified in your service by QuorumAuth: 0 verifier calls after sign-in, 0 ms of network wait added per request, and 0 verifier replicas. A revoked token is refused within a minute, connected or not. A service that stops hearing from QuorumAuth refuses every token rather than trust an old list.

Sign-in is one request to a QuorumAuth edge in both models; QuorumAuth then drops the verifier call from every request.

Verifier calls fall from 20.7 billion a month to 0. Network wait added per request falls from 12 ms to 0. The verifier fleet falls from 6 replicas and $10,800 to 0 replicas and $0 a year, a saving of $10,800. QuorumAuth charges $0 per verification: verifications are never billed, so more token checks never raise the bill.

How it works

  1. Sign-in reaches an edge. The user or service signs in with one request to a QuorumAuth edge, as with any identity provider.
  2. Keys arrive once. The QuorumAuth SDK in your service fetches the signing keys the first time it sees an unknown key id, and again after a rotation. Every other check reads them from its cache.
  3. Revocations are pushed. QuorumAuth pushes each revocation to every service as it happens. A revocation a service already holds is refused even offline. A service that stops hearing from QuorumAuth refuses every token with a retryable error after a short fixed limit, under a minute, until it hears again.
  4. The check runs in process. The service verifies the signature, the expiry, the audience and one signed claim set, then answers. A delegated token can only narrow as it passes from one service to the next.

QuorumAuth still runs the authority that issues tokens and streams revocations. It sits off your request path, not out of your architecture. See how to revoke a JWT before it expires for the revocation side, and zero-trust service authentication for the whole service-to-service setup.

Conditions

  • The comparison is with central verification: token introspection, or an auth gateway you run, called for every check. If your services already check JWTs locally from a key set, QuorumAuth gives you revocation that holds in every service and tokens that narrow as they travel, on top of the call you already skip.
  • JWT and Biscuit tokens are verified in process. A Macaroon is still checked by a call to QuorumAuth.
  • The in-process check ships in the Rust and TypeScript SDKs.
  • A revocation takes effect when it reaches the service, not at the moment you revoke: within a minute, or the service refuses every token. A plain JWT checked locally stays valid until it expires: 1 hour by default on Amazon Cognito, 24 hours on Auth0. See the OWASP JWT cheat sheet.
  • A newly started service waits once, inside its first check, for its revocation view.
  • Every latency, capacity and cost input above is an assumption, not a measurement, and each computed number shows its formula. Change the inputs and the outcome moves with them: more traffic, more services per request or a slower hop all widen the gap.

Take the verifier off your request path

Count the token checks on one request, then start free on QuorumAuth and follow how to revoke a JWT before it expires. See machine-to-machine authentication for every service in the estate.

Key numbers

FigureTodayWith QuorumAuthSaved
Verifier calls a month after sign-in20,736,000,000 verifier calls per month after sign-in0 verifier calls per month after sign-in–
Network wait added per request12 ms per request0 ms per request–
Verifier replicas you run6 verifier replicas you run0 verifier replicas you run–
Verifier fleet cost a year$10,800 per year$0 per year$10,800 per year
Charge per verification–$0 per verification: verifications are never counted–
All figures, with sources and formulas

Assumptions you can change

FigureValue
Requests per second2,000 requests per second, assumed, not measured
Token checks per request4 token checks per request, one per service the request crosses, assumed
Seconds in a month2,592,000 seconds per month
Verifier capacity per replica (assumed, not measured)2,000 token checks per second per verifier replica
Spare verifier replicas2 spare replicas for failover and deploys
Cost per verifier replica (assumed, not measured)$150 per replica per month, compute and operations
Months in a year12 months
Verifier hop (assumed, not measured)3 ms per verifier call: median same-region hop plus verifier time, assumed, not measured

Sourced

FigureValueSource
Network calls per token check with QuorumAuth0 network calls per token check after sign-in: the SDK verifies incoming tokens locally, without a round tripQuorumAuth: zero-trust service authentication
QuorumAuth charge per verification$0 per verification: verifications are never countedQuorumAuth pricing
Default Amazon Cognito access-token lifetime1 hourAmazon Cognito: CreateUserPoolClient, access token validity
Default Auth0 access-token lifetime24 hoursAuth0: update access token lifetime

Computed

FigureValueFormula
Verifier calls a month after sign-in, before20,736,000,000 verifier calls per month after sign-inrequests_per_second * verifications_per_request * seconds_per_month
Requests per second, Token checks per request, Seconds in a month
Verifier calls a month, before, in billions20.7 billion verifier calls per monthverifier_calls_month_before / 1000000000
Verifier calls a month after sign-in, before
Verifier calls a month after sign-in, with QuorumAuth0 verifier calls per month after sign-inverifier_calls_month_before * network_calls_per_verification_after
Verifier calls a month after sign-in, before, Network calls per token check with QuorumAuth
Verifier replicas, before6 verifier replicas you runrequests_per_second * verifications_per_request / verifier_capacity_per_replica + verifier_spare_replicas
Requests per second, Token checks per request, Verifier capacity per replica (assumed, not measured), Spare verifier replicas
Verifier fleet cost a year, before$10,800 per yearverifier_replicas_before * replica_cost_month * months_per_year
Verifier replicas, before, Cost per verifier replica (assumed, not measured), Months in a year
Verifier replicas, with QuorumAuth0 verifier replicas you runverifier_replicas_before * network_calls_per_verification_after
Verifier replicas, before, Network calls per token check with QuorumAuth
Verifier fleet cost a year, with QuorumAuth$0 per yearverifier_replicas_after * replica_cost_month * months_per_year
Verifier replicas, with QuorumAuth, Cost per verifier replica (assumed, not measured), Months in a year
Network wait added per request, before12 ms per requestverifications_per_request * verify_hop_ms
Token checks per request, Verifier hop (assumed, not measured)
Network wait added per request, with QuorumAuth0 ms per requestverifications_per_request * network_calls_per_verification_after * verify_hop_ms
Token checks per request, Network calls per token check with QuorumAuth, Verifier hop (assumed, not measured)
Verifier fleet cost saved a year$10,800 per yearverifier_cost_year_before - verifier_cost_year_after
Verifier fleet cost a year, before, Verifier fleet cost a year, with QuorumAuth
Does QuorumAuth still need the network to check a token?

Only to sign in. Sign-in, and each session refresh, is a request to a QuorumAuth edge, as it is with a verifier; after that each service checks incoming tokens in process. It fetches signing keys when it meets a key id it does not know and after a rotation, and serves every other check from its cache. Revocations are pushed to it in the background. A newly started service waits once, inside its first check, for its revocation view.

How quickly does a revoked token stop working?

As soon as the revocation reaches the service. QuorumAuth pushes it as it happens. A service that stops hearing from QuorumAuth refuses every token with a retryable error after a fixed limit of under a minute, rather than admit a revoked one. A plain JWT stays valid until it expires: 1 hour by default on Amazon Cognito, 24 hours on Auth0.

My identity provider already issues JWTs that my services check locally from a key set. What do I gain?

The hop is already gone for you; what QuorumAuth adds is a revocation that holds in every service before the token expires, and delegated tokens narrowed each time they pass to another service. Both are checked in process, with no verifier call.

Which tokens and languages does this cover?

JWT and Biscuit tokens are verified inside your service. A Macaroon is still checked by a call to QuorumAuth. The in-process check ships in the Rust and TypeScript SDKs.

Sources

Talk to sales about QuorumAuth.

QuorumAuth is sold through our sales team. The Build page shows the drop-in sign-in on your origin and how to reach sales about your stack.

Go to Build and contact sales →