Where does the code for consistent hashing reside? I have read how it is implemented (at a high level), but am unsure if it is exposed as a microservice between the web server and the app servers or on each app server (would seem unlikely).

  • $\begingroup$ Welcome to CS.SE! Could you edit your question to give us some background and context? It sounds like you read something; perhaps you could summarize what you've read and maybe a reference or citation or link to it? $\endgroup$
    – D.W.
    Jan 21 at 4:54
  • $\begingroup$ So I read that consistent hashing is a way to determine which server handles an incoming request. Regardless of the source, this is the summary of its intended use. What I am unsure of is the sequence. For example, is it client -> server containing consistent hashing code -> client -> server ? $\endgroup$ Jan 22 at 0:56
  • $\begingroup$ Do you mean en.wikipedia.org/wiki/Consistent_hashing? If so it is implementation-specific where it is implemented. $\endgroup$
    – D.W.
    Jan 22 at 2:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.