Fork me on GitHub
cougar from Betfair

Cougar Binary Interface Shutdown Sequence

Cougar services that support both http and binary transports, need a mechanism for shutting down the binary interface. While the http traffic can be blocked by taking the node OOS at load balancer, the binary traffic needs to be stopped at the individual node level. We also need to ensure that the inflight requests are served gracefully, before the sessions are closed.

Approach

The interaction works as below.

BinProtocolSuspend

Test Scenarios covered