jakekgrog / GhostDB

GhostDB is a distributed, in-memory, general purpose key-value data store that delivers microsecond performance at any scale.
http://www.ghostdbcache.com
BSD 3-Clause "New" or "Revised" License
750 stars 44 forks source link

Add handler to get leader node #45

Closed jakekgrog closed 3 years ago

jakekgrog commented 3 years ago

As this system is a leader-follower system, we need some way of determining which node in the cluster is the leader. This PR addresses this by adding a handler on the server to return the leader node IP address.