BSD Ports

devel/py-hash_ring 1.3.1_2 DragonFly

Implementation of consistent hashing in Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel, python
Package size
7.6 KiB, 28.2 KiB installed

Description

Implements consistent hashing that can be used when the number of server nodes can increase or decrease (like in memcached). The hashing ring is built using the same algorithm as libketama.

Consistent hashing is a scheme that provides a hash table functionality in a way that the adding or removing of one slot does not significantly change the mapping of keys to slots.

In the other systems

SystemPortVersion
DragonFlydevel/py-hash_ring1.3.1_2
FreeBSDdevel/py-hash_ring1.3.1_2
HardenedBSDdevel/py-hash_ring1.3.1_2
GhostBSDdevel/py-hash_ring1.3.1_2

Install

Binary package:

pkg install py311-hash_ring

From DPorts:

cd /usr/dports/devel/py-hash_ring && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The py311-hash_ring port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing