Liveness probe is a mechanism used by orchestrator platforms, to determine which process has gone faulty and then usually attempts to restart it, how is dependent on the orchestrator. The faults are very much dependent on the process code, determining faults is dependent on both process code and the orchestration...
I heard you wanted a practical distributed systems, so here it is writing hello world of distributed systems - a distributed counter. For a little of background, let’s just say you are trying to write a likes service which tracks likes for a particular post and you want to horizontally scale this service by adding...