Re:Time Series, the new shiny?
by siculars on Tuesday May 10, 2016 @07:41AM
(#11666484)
Author here. We hash the key so the number of bytes are negligible. So, I'd agree, I don't think it matters.
[ Parent
| on HN ]
Isn't it more about the number of cycles it takes to generate the hash more than it's size, since you're likely to do that very often in a db context?
Probably. I'd venture to say the reason we use SHA is due to its uniform distribution over its speed (or lack thereof.)
I guess it's worth investigating, murmur has been in use by some big names (cassandra, elastic search, hadoop, etc...) for a while in similar contexts.
Re:Time Series, the new shiny?
by RBerenguel on Tuesday May 10, 2016 @08:51AM
(#11666789)
I was pretty sure (checked almost 2 years ago) that murmur3 had a uniform distribution, too. And in terms of speed is a relatively easy gain