ChinaUnix 2011 技术沙龙成都站,讲稿、测试用例和所有服务器配置脚本
JavaScript Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
docs
scripts
.gitignore
README.md
draft.txt

README.md

《高性能、高可靠性、高可扩展性的 Web 系统架构设计 --- 既 nosql 实战》 -- CU2011 技术沙龙成都站

讲稿、测试用例和所有服务器配置脚本

集群测试时

db = redis.createClient(),
// 修改为
db = redis.createClient(6379, 'ip'),

app.use(express.session({secret: '2054e956e4932e014a43773b4a82cc39', store: new MemcachedStore}));
// 修改为
app.use(express.session({secret: '2054e956e4932e014a43773b4a82cc39',
  store: new MemcachedStore({servers: 'ip:11211'})}));