Open uniquejava opened 6 years ago
启动: redis-server /usr/local/etc/redis.conf
redis as database(node.js)快速上手: https://hackernoon.com/using-redis-with-node-js-8d87a48c5dd7
node-redis官方文档: https://github.com/NodeRedis/node_redis
bluemix redis tutorial: https://console.bluemix.net/docs/services/databases-for-redis/getting-started.html#getting-started-tutorial
使用redis做为express session store,见: https://github.com/uniquejava/blog/issues/100#issuecomment-329940433
# 启动server端 redis-server /usr/local/etc/redis.conf # 启动客户端 redis-cli redis-cli -h 192.168.0.103 -p 6379 -a "mypassword" keys * # 进入到pod kubectl get po -w kubectl exec -it redis-6fb946dd75-fgc5t bash keys *57892c23* exit # 批量删除 redis-cli keys "*57892c23*" | xargs redis-cli del
启动: redis-server /usr/local/etc/redis.conf
redis as database(node.js)快速上手: https://hackernoon.com/using-redis-with-node-js-8d87a48c5dd7
node-redis官方文档: https://github.com/NodeRedis/node_redis
bluemix redis tutorial: https://console.bluemix.net/docs/services/databases-for-redis/getting-started.html#getting-started-tutorial
使用redis做为express session store,见: https://github.com/uniquejava/blog/issues/100#issuecomment-329940433
cyper实战