jurmous / etcd4j

Java / Netty client for etcd, the highly-available key value store for shared configuration and service discovery.
Apache License 2.0
267 stars 83 forks source link

in memory caching using etcd4j #154

Closed naveenkumargp closed 7 years ago

naveenkumargp commented 7 years ago

Hi All, i want to store the etcd data into the local cache using this etcd4j i e i want cache the etcd data using this etcd client code .is it possible to do with this present code if not how do we change the code . can any one help to how to do this. Regards Naveen

ajaygk95 commented 7 years ago

Yes this would be very helpful for applications that executes GET requests, instead of trying to get data always from etcd a cache is more faster way.. Please suggest.

lburgazzoli commented 7 years ago

You can use a number of caching solutions like caffeine and build your own cache store/loader on top of etcd4j.

etc4j does not have any cache and won't have one.

naveenkumargp commented 7 years ago

thank you lburgazzoli i will try caffiene library module.

regards naveen