Skip to content

Instantly share code, notes, and snippets.

View yurishkuro's full-sized avatar

Yuri Shkuro yurishkuro

View GitHub Profile
@yurishkuro
yurishkuro / graph-15-nodes.json
Created November 21, 2023 15:52
Dependencies 15 nodes
[
{
"parent": "node_0",
"child": "node_7",
"callCount": 4
},
{
"parent": "node_0",
"child": "node_13",
"callCount": 10
  • What do Etcd, Consul, and Zookeeper do?
    • Service Registration:
      • Host, port number, and sometimes authentication credentials, protocols, versions numbers, and/or environment details.
    • Service Discovery:
      • Ability for client application to query the central registry to learn of service location.
    • Consistent and durable general-purpose K/V store across distributed system.
      • Some solutions support this better than others.
      • Based on Paxos or some derivative (i.e. Raft) algorithm to quickly converge to a consistent state.
  • Centralized locking can be based on this K/V store.