{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:golang/github.com/toolkits/consistent","name":"github.com/toolkits/consistent","description":"Package consistent provides a consistent hashing function.\n\nConsistent hashing is often used to distribute requests to a changing set of servers.  For example,\nsay you have some cache servers cacheA, cacheB, and cacheC.  You want to decide which cache server\nto use to look up information on a user.\n\nYou could use a typical hash table and hash the user id\nto one of cacheA, cacheB, or cacheC.  But with a typical hash table, if you add or remove a server,\nalmost all keys will get remapped to different results, which basically could bring your service\nto a grinding halt while the caches get rebuilt.\n\nWith a consistent hash, adding or removing a server drastically reduces the number of keys that\nget remapped.\n\nRead more about consistent hashing on wikipedia:  http://en.wikipedia.org/wiki/Consistent_hashing","version":"v0.0.0-20150827090850-a6f56a64d1b1","softwareVersion":"v0.0.0-20150827090850-a6f56a64d1b1","license":"https://spdx.org/licenses/MIT","codeRepository":"https://github.com/toolkits/consistent","issueTracker":"https://github.com/toolkits/consistent/issues","url":"https://github.com/toolkits/consistent","programmingLanguage":{"@type":"ComputerLanguage","name":"Go"},"dateCreated":"2015-08-27","dateModified":"2015-08-27","datePublished":"2015-08-27","copyrightYear":2015,"downloadUrl":"https://proxy.golang.org/github.com/toolkits/consistent/@v/v0.0.0-20150827090850-a6f56a64d1b1.zip","softwareHelp":{"@type":"WebSite","url":"https://pkg.go.dev/github.com/toolkits/consistent#section-documentation"},"applicationCategory":"go","runtimePlatform":"go","developmentStatus":"active","sameAs":["https://pkg.go.dev/github.com/toolkits/consistent"],"https://www.w3.org/ns/activitystreams#likes":8,"https://forgefed.org/ns#forks":9}