Hi all, In C5 API Manager back end REST APIs (micro services) are protected using oauth2 token. Every time request comes to micro services, interceptor will validate the access token sent in the authorization header of the request. In order to validate the token we need to do a introspection call to the key manager. We can not do this introspection call to the key manager for each and every request. We need a caching layer at the interceptor level in order to cache the access tokens.
We are going to use local cache with small cache timeout periods for this. What are the best caching systems we can use for this. We can use either JCache (javax.cache), google guava cache[1] which are specially used as local caches. "Memcached" [2] is also another option but mostly used in distributed systems. [1] - https://github.com/google/guava/wiki/CachesExplained [2] - https://memcached.org/ -- Rajith Roshan Software Engineer, WSO2 Inc. Mobile: +94-72-642-8350 <%2B94-71-554-8430>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
