ketama icon indicating copy to clipboard operation
ketama copied to clipboard

C library for consistent hashing, and langauge bindings

Results 10 ketama issues
Sort by recently updated
recently updated
newest added

There is a small typo in libketama/ketama.h. Should read `occurred` rather than `occured`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Around the line of latest commit: https://github.com/RJ/ketama/blob/master/libketama/ketama.c#L428 ``` C for( i = 0; i < numservers; i++ ) { float pct = (float)slist[i].memory / (float)memory; unsigned int ks = floorf(...

As per documentation https://docs.python.org/3/c-api/structures.html#c.Py_TYPE

> C library for consistent hashing, and langauge bindings Someone should fix it, maybe even remove the coma :)

This allows the PHP extension to work with PHP 7. This uses [pecl-compat](https://github.com/flaupretre/pecl-compat) to allow the same code to build against PHP 5 and PHP 7 at the same time....

Currently it is very hard to install the ketama Python bindings as it has to be done manually. Can you please release the bindings to PyPi so that anyone could...

Currently the Python implementation uses the C API which is very slow on PyPy. A CFFI implementation can be portable between CPython and PyPy and it's also easier to maintain...

Once properly compiled and installed libketama (installed in /usr/lib), I'm unable to compile the php extension. steps: - phpize - configure and the following error will appear: checking for ketama_roll...

`ketama_roll` segfaults if the continuum struct is too big to fit in shm