News for hackers. Stuff that matters.
Re:GhostDB – A Fast Distributed Cache by nodesocket on Wednesday July 08, 2020 @08:44PM (#23775877)
Great project. I did not see an explanation on the architecture of a cluster. Is data replicated to all nodes, or is data only stored on a single node (sharded). What happens when a node in the cluster goes down? Does there have to be a consensus (odd number of nodes) for the cluster to be "healthy"?
Re:GhostDB – A Fast Distributed Cache by cmckn on Wednesday July 08, 2020 @08:50PM (#23775922)
> GhostDB provides a very large hash table that is distributed across multiple machines.

Sounds like no replication to me, AKA the memcached model. I can't find how to actually configure a cluster (the `Cluster Configuration` section of the docs doesn't contain anything related to hosts). I also can't find anything client side that would distribute requests to a list of nodes with a consistent hash, for ex. I can't find a client at all, actually.

Still, interesting project, kind of aiming for Redis features and a memcached topology.

Re:GhostDB – A Fast Distributed Cache by GhostDBCache on Thursday July 09, 2020 @07:02AM (#23778862)
The clients are the SDKs. Our docs are getting an update now to better explain how to configure clusters.

The SDKs are in separate repos currently (this is due to how university made us structure the project).

Re:GhostDB – A Fast Distributed Cache by GhostDBCache on Thursday July 09, 2020 @07:00AM (#23778854)
Currently we follow the memcached model so there is no replication however, remember this is straight out of university were we had to limit scope considerably and were on a tight time constraint but we aim to add data replication, consensus etc.