Nava2 / cs9864-realtime-bluemix

Repository for CS 9864 project
1 stars 0 forks source link

Implement heartbeat checks for registrar #48

Closed Nava2 closed 8 years ago

Nava2 commented 8 years ago

The client registrar needs a heartbeat to check on its registered services.

Suggested implementation: On each URL, every X seconds, do a HEAD / request and if a non-network error or success is returned, then it's available.

Nava2 commented 8 years ago

Also, there should be a route PUT /heartbeat that is used for a running service to update that it's still running. This gives better fault detection.

This is not worth doing yet, please focus on your paper presentation.