Answers inline.

> On Jul 30, 2021, at 11:25 AM, Amit Pandey <amit.pandey2...@gmail.com> wrote:
> 
> Hi,
> Hope everyone is doing well. 
> I wanted to know what's the behavior of ClientRegionShortcut.CACHING_PROXY 
> vsClientRegionShortcut.PROXY.   My questions are :- 
>       • How does puts behave for   CACHING_PROXY   ? Are puts sent to the 
> servers right away as in ClientRegionShortcut.PROXY ?

Yes, puts are forwarded and replicated within the cluster before the method 
returns.

>       • For reads I understand  CACHING_PROXY  config might do a local read 
> where as the PROXY mode can’t ?

Yes if the key is present in the local cache it will do a local read.

>       • What happens to the cached data if another client updates the data ? 
> Is there any chance of state reads ?

Client may choose to receive events when the server is updated.  See “interest 
registration” and/or continuous queries. See:

https://geode.apache.org/docs/guide/113/developing/events/configure_client_server_event_messaging.html
https://geode.apache.org/docs/guide/113/developing/continuous_querying/how_continuous_querying_works.html


> Thanks for the help in advance.
> 
> Regards

Good luck!
Anthony

Reply via email to