kishore-narendran / crdt-py

A library, that provides Conflict Free Replicated Data Types (CRDTs) for distributed Python applications.
17 stars 3 forks source link

Determining Client is active ? #2

Closed saitejar closed 8 years ago

saitejar commented 8 years ago

How to determine if a client is inactive, i.e he might have created a crdt instance and then exited the program..

kishore-narendran commented 8 years ago

That is not a concern, if the client does not use a CRDT, it will merely live in Redis, and not be accessed. If we want to collect such garbage CRDTs which have been created and not used, we can periodically go and delete the CRDT instance.

saitejar commented 8 years ago

okay.. we can do it passively, through garbage collection...