From e255235c20d1fae95dee3b93584b3cc277c0c79c Mon Sep 17 00:00:00 2001 From: antirez Date: Sun, 22 Mar 2009 15:15:51 +0100 Subject: [PATCH] doc changes --- doc/Benchmarks.html | 8 +++++++ doc/MgetCommand.html | 52 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 doc/MgetCommand.html diff --git a/doc/Benchmarks.html b/doc/Benchmarks.html index e33e7b71a..53f8bb44d 100644 --- a/doc/Benchmarks.html +++ b/doc/Benchmarks.html @@ -111,6 +111,14 @@ GET: 45497.73 requests per second INCR: 39370.47 requests per second LPUSH: 34803.41 requests per second LPOP: 37367.20 requests per second +Another one using a 64 bit box, a Xeon L5420 clocked at 2.5 Ghz:

+ ./redis-benchmark -q -n 100000
+PING: 111731.84 requests per second
+SET: 108114.59 requests per second
+GET: 98717.67 requests per second
+INCR: 95241.91 requests per second
+LPUSH: 104712.05 requests per second
+LPOP: 93722.59 requests per second
 
diff --git a/doc/MgetCommand.html b/doc/MgetCommand.html new file mode 100644 index 000000000..0e8120f22 --- /dev/null +++ b/doc/MgetCommand.html @@ -0,0 +1,52 @@ + + + + + + + +
+ + + +
+
+ +MgetCommand: Contents
  MGET _key1_ _key2_ ... _keyN_
    Return value
    Example
    See also +
+ +

MgetCommand

+ +
+ +
+ +
+

MGET _key1_ _key2_ ... _keyN_

+Time complexity: O(1) for every key
Get the values of all the specified keys. If one or more keys dont existor is not of type String, a 'nil' value is returned instead of the valueof the specified key, but the operation never fails.
+

Return value

Multi bulk reply

Example

+$ ./redis-cli set foo 1000
++OK
+$ ./redis-cli set bar 2000
++OK
+$ ./redis-cli mget foo bar
+1. 1000
+2. 2000
+$ ./redis-cli mget foo bar nokey
+1. 1000
+2. 2000
+3. (nil)
+$ 
+

See also

+ +
+ +
+
+ + +