07-05-2016 3:02 PM - edited 02-04-2024 5:51 AM
Hi Team,
I have to call a SOAP based web services every 10 secs for each user and data remains same for all the user and it only changes after 10-15 mins. So I am looking to implement Caching logic for the same. Please suggest the best caching mechanism that can be used.
Regards, Pankaj
Not sure if this is strictly a Data Hub question, but if it is, Data Hub uses guava Cache internally to cache some data in memory https://github.com/google/guava/wiki/CachesExplained. Depending on the version of DH that you are using, and the exact nature of your needs, you can also look at EhCache http://www.ehcache.org/ or the extensive abilities of Spring https://spring.io/guides/gs/caching/ . All used since 5.7 and should be available as libraries in the deployed Data Hub.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.