Skip to content
a rpc platform base on redis
Branch: master
Clone or download
unknown
Latest commit 6260865 Jun 29, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deps first commit for all file Jun 29, 2015
solib
src
tests first commit for all file Jun 29, 2015
utils first commit for all file Jun 29, 2015
.gitignore first commit for all file Jun 29, 2015
00-RELEASENOTES first commit for all file Jun 29, 2015
BUGS
CONTRIBUTING first commit for all file Jun 29, 2015
COPYING first commit for all file Jun 29, 2015
INSTALL first commit for all file Jun 29, 2015
MANIFESTO first commit for all file Jun 29, 2015
Makefile first commit for all file Jun 29, 2015
README
RedisREADME first commit for all file Jun 29, 2015
redis.conf first commit for all file Jun 29, 2015
rso.conf first commit for all file Jun 29, 2015
runtest first commit for all file Jun 29, 2015
runtest-cluster first commit for all file Jun 29, 2015
runtest-sentinel
sentinel.conf first commit for all file Jun 29, 2015

README

# redisPlatform
a rpc platform base on redis 3.0.2 stable version

using doc and design doc :
http://www.jacketzhong.com/?p=220

usage:
1. download the code
2. cd deps && chmod +x update-jemalloc.sh && ./update-jemalloc.sh 3.6.0
3. cd redisPlatform && chmod +x src/mkreleasehdr.sh && make
4. cd solib && make -f cpp_Makefile && chmod +x c_Makefile
5. cd src && ./redis-server ../redis.conf
6. start client: redis-cli -p 4379 -a jacketzhong
7. test: rso 0x12347 '{ "argv1": 11, "argv2": 25 }'


then you can play it


the result will be: (cpp so module)

127.0.0.1:4379> rso 0x12347 '{ "argv1": 11, "argv2": 25 }'
sum:36
127.0.0.1:4379> rso 0x12347 '{ "argv1": 11, "argv2": 25 }'
sum:36
127.0.0.1:4379> rso 0x12347 '{ "argv1": 11, "argv2": 35 }'
sum:46
You can’t perform that action at this time.