Skip to content
Browse files

doc updates

  • Loading branch information...
1 parent 9a9d2fd commit 0a5e9c54b3adb7cbe1d93a91c049b1788dedf7f2 @jehiah jehiah committed Mar 13, 2011
Showing with 60 additions and 0 deletions.
  1. +2 −0 README.md
  2. BIN simplehttp/libsimplehttp.a
  3. BIN simplehttp/simplehttp.o
  4. +58 −0 simplememdb/README.md
View
2 README.md
@@ -11,6 +11,7 @@ The following daemons are built on simplehttp and included
* simpletokyo - a HTTP /get /post /del /fwmatch /incr interface in front of ttserver
* sortdb - Sorted database server
* simplegeo
+ * simplememdb - an in-memory version of simpletokyo
* qrencode
INSTALL INSTRUCTIONS
@@ -36,4 +37,5 @@ Some modules have additional dependencies:
* [json-c](http://oss.metaparadigm.com/json-c/)
* [tokyocabinet](http://fallabs.com/tokyocabinet/) / [tokyotyrant](http://fallabs.com/tokyotyrant/)
* [qrencode](http://fukuchi.org/works/qrencode/index.en.html)
+* [pcre](http://www.pcre.org/)
View
BIN simplehttp/libsimplehttp.a
Binary file not shown.
View
BIN simplehttp/simplehttp.o
Binary file not shown.
View
58 simplememdb/README.md
@@ -0,0 +1,58 @@
+simplememdb
+===========
+
+in-memory http accessible tokyo cabinet database
+
+Cmdline usage:
+
+ -a 0.0.0.0 (address to bind to)
+ -p 8080 (port to bind to)
+ -D daemonize (default off)
+
+API endpoints:
+
+ * /get
+ parameter: key
+
+ * /put
+ parameter: key
+ parameter: value
+
+ * /del
+ parameter: key
+
+ * /dump
+ parameter:regex (optional regex to dump specific keys)
+
+ * /fwmatch
+ parameter:key
+ parameter:max (optional)
+ parameter:length (optional)
+ parameter:offset (optional)
+
+ * /fwmatch_int (returns values added with /incr)
+ parameter:key
+ parameter:max (optional)
+ parameter:length (optional)
+ parameter:offset (optional)
+
+ * /incr
+ parameter:key
+ parameter:value
+
+ * /get_int (to return values added with /incr)
+ parameter:key (accepts multiple &key= parameters)
+
+ * /vanish (empty the database)
+
+ * /stats (example output)
+ parameter: format=json|txt
+
+ * /exit
+
+Dependencies
+
+ * [libevent](http://monkey.org/~provos/libevent/) 1.4.13+
+ * [json-c](http://oss.metaparadigm.com/json-c/)
+ * [tokyocabinet](http://fallabs.com/tokyocabinet/)
+ * [pcre](http://www.pcre.org/)

0 comments on commit 0a5e9c5

Please sign in to comment.
Something went wrong with that request. Please try again.