/orderhash

a local stateful orderly hash algorithm.

Primary LanguageGoApache License 2.0Apache-2.0

orderhash

GitHub codecov Release Godoc Go Report Card Download

A local stateful orderly hash algorithm.

installation

go get -u github.com/chenquan/orderhash

purpose

It is used to ensure the order of consumer and producer message consumption and sending during concurrency, and improve the concurrent throughput.

example: https://github.com/chenquan/go-queue/blob/master/kafka