benedekh / WeLoveClouds

Repository for submissions on the CloudDB course.
0 stars 1 forks source link

Make heartbeat messages optional in KVServer #207

Closed benedekh closed 7 years ago

benedekh commented 7 years ago

in a sense that it shall be similar to the statistical logging framework.

If the IP + port are present in the command-line parameters, then connect to that endpoint, otherwise 'send' the heartbeat messages to a standard destination (e.g. stdout / logging).

The purpose of the enhancement is to ease the testing of KVServer (no need for commenting/removing many lines of code).