{"action":"created","issue":{"url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/84","labels_url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/84/comments","events_url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/84/events","html_url":"https://github.com/grobian/carbon-c-relay/issues/84","id":96119807,"number":84,"title":"Metric hashing inconsistencies","user":{"login":"jjneely","id":10540,"avatar_url":"https://avatars.githubusercontent.com/u/10540?v=3","gravatar_id":"","url":"https://api.github.com/users/jjneely","html_url":"https://github.com/jjneely","followers_url":"https://api.github.com/users/jjneely/followers","following_url":"https://api.github.com/users/jjneely/following{/other_user}","gists_url":"https://api.github.com/users/jjneely/gists{/gist_id}","starred_url":"https://api.github.com/users/jjneely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjneely/subscriptions","organizations_url":"https://api.github.com/users/jjneely/orgs","repos_url":"https://api.github.com/users/jjneely/repos","events_url":"https://api.github.com/users/jjneely/events{/privacy}","received_events_url":"https://api.github.com/users/jjneely/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-20T17:49:18Z","updated_at":"2015-07-23T18:04:20Z","closed_at":null,"body":"Greetings,\r\n\r\nI recently implemented carbon's hashing routine in Go for a tool I wrote to help manage large consistent hashing clusters.  One quirk I ran into is this:\r\n\r\nhttps://github.com/jjneely/buckytools/commit/74b1ca565a0384345c7ee19055d048a5edb8014e\r\n\r\nPython's bisect.insort() method compares each tuple to each other rather than just the ring position which changes the order of the built hashring in some collision cases.  I don't see that this code handles this case.\r\n\r\nHave folks noticed small differences where metrics are routed as compared to Graphite's carbon implementation?"},"comment":{"url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/comments/124188130","html_url":"https://github.com/grobian/carbon-c-relay/issues/84#issuecomment-124188130","issue_url":"https://api.github.com/repos/grobian/carbon-c-relay/issues/84","id":124188130,"user":{"login":"grobian","id":667105,"avatar_url":"https://avatars.githubusercontent.com/u/667105?v=3","gravatar_id":"","url":"https://api.github.com/users/grobian","html_url":"https://github.com/grobian","followers_url":"https://api.github.com/users/grobian/followers","following_url":"https://api.github.com/users/grobian/following{/other_user}","gists_url":"https://api.github.com/users/grobian/gists{/gist_id}","starred_url":"https://api.github.com/users/grobian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grobian/subscriptions","organizations_url":"https://api.github.com/users/grobian/orgs","repos_url":"https://api.github.com/users/grobian/repos","events_url":"https://api.github.com/users/grobian/events{/privacy}","received_events_url":"https://api.github.com/users/grobian/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T18:04:20Z","updated_at":"2015-07-23T18:04:20Z","body":"Since implementing the unique positions in carbon-c-relay is harder, I'm going to discard it since its effect will be minimal, if ever to be observed."}}