すべてのオプション
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ] [  experimental  ]
[ ソース: python-uhashring  ]

パッケージ: python3-uhashring (2.4-1)

python3-uhashring に関するリンク

Screenshot

Debian の資源:

python-uhashring ソースパッケージをダウンロード:

メンテナ:

外部の資源:

類似のパッケージ:

試験的な (experimental の) パッケージ

警告: このパッケージは experimental ディストリビューションのものです。つまり、おそらく不安定でバグがあり、それどころかデータの損失を起こすかもしれません。使用前には、変更履歴やその他の参照可能なドキュメントを必ず調べてください。

full featured consistent hashing python library compatible with ketama

Uhashring implements consistent hashing in pure Python.

Consistent hashing is mostly used on distributed systems/caches/databases as this avoid the total reshuffling of your key-node mappings when adding or removing a node in your ring (called continuum on libketama). More information and det ails about this can be found in the *literature* section.

This full featured implementation offers:

 * a lot of convenient methods to use your consistent hash ring in real world
   applications.
 * simple integration with other libs such as memcache through monkey
   patching.
 * a full ketama compatibility if you need to use it.
 * all the missing functions in the libketama C python binding (which is not
   even available on pypi) for ketama users.
 * possibility to use your own weight and hash functions if you don't care
   about the ketama compatibility.
 * Instance-oriented usage, so you can use your consistent hash ring object
   directly in your code (see advanced usage).
 * tests of implementation, key distribution and ketama compatibility.

Per node weight is also supported and will affect the nodes distribution on the ring.

その他の python3-uhashring 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • enhances

python3-uhashring のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 12.1 kB51.0 kB [ファイル一覧]