Continuous query cache
It should be fairly obvious by now that you could use Coherence cache events to implement a local, in-process view of the partitioned cache (or a subset of it) that is automatically kept up to date as the data in the cluster changes.
The good news is that such a thing already exists and is available for you to use, in the form of a ContinuousQueryCache, often referred to as CQC in Coherence circles.
The CQC is an extremely powerful feature that is frequently used to bring a subset of the data to users' desktops and update them in real time, which can be very useful in trading or logistics applications, for example.
Unlike other cache types, which are typically defined in the cache configuration file, the CQC can only be created ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access