Add support for remote / distributed caching in API server #987
Labels
architecture
component/api-server
enhancement
New feature or request
p2
Non-critical bugs, and features that help organizations to identify and reduce risk
size/L
High effort
As the API server is now capable of running with multiple instances, we cannot rely on local caching for everything anymore.
We need a caching abstraction that supports both local caching (for deployments with only one API server instance), and remote caching. Alpine does not provide anything on that front, the built-in
CacheManager
is based on Caffeine and not customizable.I propose to build a caching layer based on JCache. JCache is supported by Caffeine, Redisson, and more. We can make the
CachingProvider
implementation configurable, such that users can choose their preferred provider at deploy time.CachingProvider
s can be discovered by their class name viaCaching.getCachingProvider("com.example.MyCachingProvider")
.The text was updated successfully, but these errors were encountered: