Browse files

Updated the Readmeh

  • Loading branch information...
1 parent f8ec766 commit d85e9e77e758e2235bfb66bbc05020cf563b9296 @3rd-Eden 3rd-Eden committed May 5, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 README.md
View
7 README.md
@@ -70,12 +70,17 @@ ring.replaceServer('192.168.0.104:11212','192.168.0.112:11212');
ring.getNode('foo'); // => '192.168.0.112:11212'
```
-**Add server**
+**Add a server**
Adds a new server to the hash ring, but please note that this could cause a shift in current key -> server distribution.
``` javascript
ring.addServer('192.168.0.102:11212');
```
+**Remove a server**
+Remove a server from the generated hash ring.
+
+``` javascript
+ring.removeServer('192.168.0.102:11212');
For a more extensive documentation: http://3rd-eden.github.com/node-hashring/

0 comments on commit d85e9e7

Please sign in to comment.