facebook/mcrouter

Mcrouter couple questions

swood opened this issue · 0 comments

swood commented

Hello.

I would like to ask couple questions about Mcrouter and cases which worries me at the moment:

  1. I have some count of server servers (for example 10). What if one of them have some network issues and his place has been engaged by a spare machine, but only for half clients. The second half of clients still using the mentioned server without any problems. Does any ways to prevent this situation for example by checking health through the neighbour instance of Mcrouter?

  2. Okay, we managed problems with the server with half network visibility. Now all clients using main servers, but some keys a duplicate. I assume you may suggest fixing this problem in the code of the application. But, Mcrouter is using some hash to distribute keys on servers. Does any possibility to force hash and update keys by this hash? Maybe it is a terrible idea and someone could suggest some better.