by binarymax · 12y ago · 0 comments
Technicals: It is a medium EC2 running a single node process with socket.io. Database is an EC2 micro running rethinkdb.
--EDIT-- Replay functionality seems to be down entirely due to load. Games are still running though.
--EDIT2-- Replays are back up! Just need to wait a while. For those who are discouraged by the signup - I understand, but due to the nature of the game it is necessary to prevent cheating. Email is not required. Feel free to create a random string as a username and password if you want to give it a try.
Can you please elaborate on why you believe signup is necessary to prevent cheating?
There were couple other good reasons for the signup given my initial target demographic of two people :). And you may have also noticed that everyone gets an Elo rating if you visit /spielers.html
As a side project I weighed the options and just chose to have signups rather than complicate the issue. They can be purely anonymous, and it makes it easier for me to manage. If it is really a stopping point for losing potential players I am willing to live with that.
On a side note - I'm very glad to see you are enjoying the game. You've played almost as many games as me in 1/100th the time!
EDIT - OK serious issues now. getting a range error on redis and the call stack is blowing out, recycling node every 15 seconds or so. Will let you know when its back up.
EDIT2 - Turned out to be an exception due to an invalid date string. Fixed!
or was it the other pieces in your stack that caused the bottleneck.
BTW, great idea.