node.js - NodeJS Memcached - Use multiple servers -


how can add multiple memcache server in nodejs?

like in php:

$memcache = new memcache; $memcache->addserver('memcache_host', 11211); $memcache->addserver('memcache_host2', 11211); 

thanks radu

the library installed when npm install memcached seems node-memcached.

adding multiple memcached servers explained in documentation, here.


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -