Distributed Systems Pattern: Single Socket Channel
fetched at August 19, 2020

When we are using Leader and Followers, we need to ensure that messages between the leader and each follower are kept in order, with a retry mechanism for any lost messages. We need to do this while keeping the cost of new connections low, so that opening new connections doesn't increase the system's latency. A Single Socket Channel maintains the order of the requests sent to a server by using a single TCP connection


Visit Link
🤖 CodeKN.com

Follow our Twitter bot for more updates.