using Hredis
Dear All,
is it recommended to using hredis because i see in document "If you use hiredis, be sure to rebuild it whenever you upgrade your version of node. There are mysterious failures that can happen between node and native code modules after a node upgrade."
thank you
then is this libs support for client sharding.?
thank you
jimmy
No, hiredis is not suggested, though it does work. It doesn't provide a significant benefit in most use cases, especially given the potential issues it can bring.
This library does not support sharding currently, as the Redis project itself does not yet have native sharding.
Hi Bryce, thank you for fast reply. btw how to connect redis using persistent connection?
thank you
jimmy
On Mon, Aug 12, 2013 at 1:10 PM, Bryce Baril [email protected]:
No, hiredis is not suggested, though it does work. It doesn't provide a significant benefit in most use cases, especially given the potential issues it can bring.
This library does not support sharding currently, as the Redis project itself does not yet have native sharing.
— Reply to this email directly or view it on GitHubhttps://github.com/mranney/node_redis/issues/473#issuecomment-22474771 .
I'm not sure I understand what you're asking -- connections to Redis through this client should be persistent.
oh Ok, sorry for the question, because i, new in node.js . usually i am using php-redis client which have two way to connect redis through persistent connection and connection.
i thought all client have this two connection method. and im looking for persistent connection.
thank you
On Mon, Aug 12, 2013 at 8:51 PM, Bryce Baril [email protected]:
I'm not sure I understand what you're asking -- connections to Redis through this client should be persistent.
— Reply to this email directly or view it on GitHubhttps://github.com/mranney/node_redis/issues/473#issuecomment-22494265 .