Forty Thousand Refreshes
An API serves 180,000 requests per second against 2.4 million concurrent sessions. Access tokens are self-contained JWTs with a 900 second lifetime, so a disabled account keeps working until its current token expires. Security wants that window under 60 seconds. Two proposals:
A. Cut the access token lifetime to 60 seconds and leave the resource servers stateless.
B. Keep 900 seconds and have the gateway test every request against a revoked-subject set in Redis.
Steady-state refresh rate is sessions divided by token lifetime:
Which reading is correct?
Sign in to answer questions and track your progress
Sign In