Regarding CQ (as pointed out by Anthony), keep in mind that CQs, unlike Register Interest (RI), do not update any values in the local, client-side cache (e.g. CACHING_PROXY). CQ only allows you to receive "events" when the data of "interest" (expressed by the OQL predicate) changes on the server-side. ________________________________ From: Anthony Baker <bak...@vmware.com> Sent: Thursday, July 8, 2021 8:26 AM To: user@geode.apache.org <user@geode.apache.org> Subject: Re: Apache Geode | Client Private Cache
The client can use the ‘register interest’ API’s to receive events from the server when a matching key is updated. The events can be delivered with HA and durability guarantees, very much like a messaging system. Another option is to use Continuous Queries to receive events based on a predicate clause evaluated on the server. The strong consistency guarantee applies to the geode cluster—clients and remote WAN sites do not participate in synchronous replication to preserve availability and latency. See https://geode.apache.org/docs/guide/12/developing/events/how_client_server_distribution_works.html<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgeode.apache.org%2Fdocs%2Fguide%2F12%2Fdeveloping%2Fevents%2Fhow_client_server_distribution_works.html&data=04%7C01%7Cjblum%40vmware.com%7C42adf4f9c69948e2fff608d94224bd13%7Cb39138ca3cee4b4aa4d6cd83d9dd62f0%7C0%7C0%7C637613547824433529%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=eaHMuuROAxoLX44X0DWtC6dFsEUDPyWJn91X4wEsE%2Fg%3D&reserved=0>. Anthony On Jul 8, 2021, at 6:49 AM, Sarath Prabath Redlapalli Jaya <harrysarath2...@gmail.com<mailto:harrysarath2...@gmail.com>> wrote: Hi, Since Geode clients try to cache keys locally to save network trips & given the model of strong consistency, how does it handle key updates / deletes / sooner expirations ? Regards