I’ve been playing around with redis recently.
Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
…Um, that’s from the official site. Actually I just use it as a key/value data store and some kind of message queue. I chose it because the language binding’s wide spread but not so as the PHP. I’ve googled for several benchmark of the php extension, finally looking into phpredis (not the php-redis). I encountered the compatibility problem with it today. The fix is easy and fast. (you could find it here). But my question is…
why doesn’t the compiler throw out a error when processing the undefined macro?
wondering… i’ll figure it out later…