-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Daiki Arai edited this page Apr 19, 2017
·
2 revisions
- PaaS
- Slack bot
- node-slack-sdk
- Officially, no coffee-script, star=1200
- botkit
- Thriving community, no coffee-script, star=6000
- Hubot
- Big community, with coffee-script, star=12000
- node-slack-sdk
- DB
- redis
- by Redis Cloud in Heroku
- node_redis
- redis
- Protocol
- WebSocket
- don't need express(=http), but web process in Procfile need http connection:
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
- Need to change the name: https://devcenter.heroku.com/articles/procfile#declaring-process-types
- don't need express(=http), but web process in Procfile need http connection:
- SocketIO
- WebSocket
-
free CI
- Travis CI
To use heroku, not speed but efficiency.
Firstly,
- User score: to get the hash every question & language by
qLangScores = hgetall(
${userName}:s)
- Ranking:
- each User:
rankIndex = zcount(q + lang, 1, '(' + score)
- best5:
best5 = zrange(q + lang, 0, 4, 'WITHSCORES')
- each User: