https://www.ory.sh/ logo
#talk-oathkeeper
Title
# talk-oathkeeper
s

sticky-guitar-94474

04/12/2022, 12:14 PM
Can someone point any resources on the following (oauth2_introspection -> config.cache) • what’s the caching mechanism of oathkeeper’s authenticators • Does it utilise any other system internally ?
d

damp-sunset-69236

04/12/2022, 1:35 PM
Authenticators use ristretto as a cache backend
🙌 1
s

sticky-guitar-94474

04/12/2022, 2:05 PM
Cool, I guess in scenarios where oathkeeper has replicas, it’d be better to use own caching right? Since the default cache is not shared across these replicas
d

damp-sunset-69236

04/13/2022, 8:51 AM
This is an additional logic and this needs for a systems with a lot of incoming traffic
I think that the best solution in that case is to use redis or something else to enable scaling oathkeeper with cache enabled
It would be easier to implement support of redis instead of dealing with consensus algorithms and building something by ourselves
Anyway, you can always open an issue for an additional feature.
s

sticky-guitar-94474

04/13/2022, 9:22 AM
Yeah sure, right now we are using redis But if we can surely add the feature to add config for redis would be great
I'll raise a feature issue