Understand correlation between client tracking and client side caching #917
Replies: 1 comment 1 reply
-
|
Hi @ayush-sarda, The client-side caching in this library refers to server-assisted client-side caching, described here. The main advantage of server-assisted client-side caching is that it invalidates the local cache promptly whenever the key is updated on the server, and it avoids race conditions by notifying the client through the same TCP connection. This is achieved by the per-connection If you don't need the server-assisted part, then you can simply wrap around the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This thread is aimed at understanding client tracking feature and how it's related to client side caching in the codebase.
CLIENT TRACKINGallows us to track the keys read by the clients and based on other parameters such asBCASTandPREFIX, we are configuring our server to control which and when clients should be notified, if there is an update in some key. Client side caching on the other hand allows us to cache data locally on the client's end.ClientOption.DisableCache, disables client side caching as well and hence does not suit my usecase.CLIENT TRACKINGand we are left with no choice but to disable entire client side caching.Beta Was this translation helpful? Give feedback.
All reactions