Git Product home page Git Product logo

Comments (3)

charsyam avatar charsyam commented on August 23, 2024

@highkay I recommend you to read this article about consistent-hashing(http://www.codeproject.com/Articles/56138/Consistent-hashing)

In Consistent Hashing, it is correct. because, consistent hashing doesn't move items position. It just changes where to find key with minimum rehashing of keys.

from twemproxy.

highkay avatar highkay commented on August 23, 2024

@charsyam Does it mean there has none solution to access the some of the "old" data after I added a new node in the twemproxy? Because the twemproxy could not find some "old" data on a new node (in fact they are on the old nodes) following the key hashing policy. Does the twemproxy have any automatic way to move the (affacted) data on exist nodes to new nodes?

from twemproxy.

manjuraj avatar manjuraj commented on August 23, 2024

@highkay you might have to code up a manual workaround to make this happen.

from twemproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.