4 ms·
Will the client libraries be updated in tandem with the 1.1 release? Especially the PHP extension as it seems to be missing SETNX as far as I can tell.
by pierrefar 17y ago
Will the client libraries be updated in tandem with the 1.1 release? Especially the PHP extension as it seems to be missing SETNX as far as I can tell.
- antirez 17y agoHello pierrefar. Yes, the most important client libs will support (many already do) 1.1 sorted sets, MSET and MSETNX commands (Multi keys set in a single command atomically), and the other features once 1.1 will be released. But about PHP, I've good news, there are two new fully featured high quality implementations of the Redis protocol for PHP: Predis (http://github.com/nrk/predis/ http://github.com/nrk/predis/) and Rediska (http://rediska.geometria-lab.net/ http://rediska.geometria-lab.net/). Both with support for consistent hashing. Also the PHP C module got two new developers and is now much more stable, supporting the full 1.0 protocol AFAIK: http://github.com/owlient/phpredis http://github.com/owlient/phpredis So the client libs arena is getting better and better fortunately. Other good quality client libs are for Ruby, Java, and Go Language. Python is getting better with the time too.
- pierrefar 17y agoThanks. I'm actually writing a CMS using Redis and absolutely need SETNX (which one current PHP-only lib supports well). I would like to move to a compiled PHP module so that I get a nice performance boost. Coupled with this new log-based persistence, I'll be more comfortable with the whole set up. If you want to talk more, my email is hello at (my username).com.