2 ms·
> Even if the response changes only very infrequently, permissions are not what you want to be serving stale responses for. But perhaps the permission updates
by amelius 5y ago
> Even if the response changes only very infrequently, permissions are not what you want to be serving stale responses for.
But perhaps the permission updates are slow. Like, you change a permission, wait 5 seconds, and the system tells you that they are updated across all servers.
- bastawhiz 5y agoThe delay is either in replicating the data to all of the sources of truth, or invalidating the cache. Invalidate the cache too soon and you're recaching stale data. Caches only increase the delay more.