Name | Modified | Size | Downloads / Week |
---|---|---|---|
kvs-1.0.2.zip | 2012-03-30 | 1.6 MB | |
readme | 2012-03-30 | 1.2 kB | |
kvs-1.0.0.zip | 2012-03-29 | 2.8 MB | |
Totals: 3 Items | 4.4 MB | 0 |
0. BUILDING AND INSTALLATION (Briefly) kvs is a memory based key-value storage system. kvs是一个基于内存的key-value存储系统。 kvs is similar to memcache,but easier to use. kvs与memcahce的功能很相似,但是相对memcache来说更容易使用。 providing get,set,delete interface by http. kvs提供基于http的接口, 用户可以通过浏览器直接get, set or delete. eg: set a key-value: foo=12345 http://127.0.0.1/set?key=foo&val=12345 To get the value of foo: http://127.0.0.1/get?key=foo or http://127.0.0.1/foo To delete the key-value: http://127.0.0.1/del?key=foo or http://127.0.0.1/delete?key=foo 1. LINUX Linux系统下编译与运行kvs To build kvs, type 要编译libiop, 请输入以下命令 $ cd kvs $ cd libiop $ make $ cd .. $ make complete! You can find kvs in kvs/bin To run kvs, type $ cd bin $ export LD_LIBRARY_PATH=. $ ./kvs 2.Windows Windows下编译与测试kvs a).use mingw32 (使用mignw来编译kvs) > cd kvs > cd libiop > make -f makefile.mingw > copy libiop.a .. > cd .. > make -f makefile.win > kvs.exe Bug report: 305080833@qq.com enjoy!