You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no built in support for this in Redis. You can do it at application level if the data model is simple. For instance persist each user information in a set of keys you can easily retrieve. When doing a sync write a merge function that presented with two versions of the data, do some sensible choice about what to do in order to provide a single version. Then set this version both on Redis and in the application local storage. You need some experience in distributed systems to do that but if you know your application very well, the access patterns, and there is a not too hard way in such an application to merge different versions, you may end with something good enough for your business requirements.
We all know that redis is client-server model. But i want to know use redis offline, and when sync is needed, i also can connect redis server to sync.
like Pouchdb and Couchdb
The text was updated successfully, but these errors were encountered: