devel/py-hash_ring 1.3.1_2 FreeBSD
Implementation of consistent hashing in Python
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, python
- Package size
- 8.3 KiB, 26.8 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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-hash_ring | 1.3.1_2 |
| DragonFly | devel/py-hash_ring | 1.3.1_2 |
| HardenedBSD | devel/py-hash_ring | 1.3.1_2 |
| GhostBSD | devel/py-hash_ring | 1.3.1_2 |
Install
Binary package:
pkg install py312-hash_ring
From the ports tree:
cd /usr/ports/devel/py-hash_ring/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-hash_ring>0:devel/py-hash_ring
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.3.1_2 | 1.3.1_2 | 1.3.1_1 | 1.3.1_2 | 1.3.1_2 |
| FreeBSD:14:quarterly | 1.3.1_2 | 1.3.1_2 | n/a | 1.3.1_2 | 1.3.1_2 |
| FreeBSD:15:latest | 1.3.1_2 | 1.3.1_2 | n/a | 1.3.1_2 | 1.3.1_2 |
| FreeBSD:15:quarterly | 1.3.1_2 | 1.3.1_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.3.1_2 | 1.3.1_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
${PYTHON_PKGNAMEPREFIX}python-memcached>=0: databases/py-python-memcached
The full lists below include those, and their dependencies in turn.
Build dependencies 11
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Message after installing
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| hash_ring-1.3.1.tar.gz | 3970 | f86b96517bc5cb7dbf34bbbc51cdd5968170877b43bc1ab7c9eb39345cff4dd7 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.