geode - GemFire : CacheLoader : Getting data from external database -


cacheloader : use case

one of main use case gemfire used is, used fast running cache holds recent data (example last 1 month) , remaining data sits in back-end database. mean gemfire data 1 month old overflowed database after 1 month. when user looking data beyond 1 month, need go database , data. cache loader suitable doing operation on cache misses , gets data database. regarding cache loader beleive cache misses triggered when operation on key , if key missing.

what not understand when data gets overflowed back-end, beleieve no reference exist in gemfire. user may not know key - operation on key, might need execute oql query on other fields other key. how cache miss triggered when don't know key?

then how cache loader fits overall solution?

geode not invoke cacheloader during query operation.

from geode documentation:

the loader called on cache misses during operations, , populates cache new entry value in addition returning value calling thread.

(emphasis own)


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -