> Our servers are under continuing heavy load due to having launched recently and the site being on the front page of HN. This is causing poor performance and undefined behavior. How is that possible? As I understand, undefined behaviour is either there when you compile, or it isn't (it is a function of the source code). So if the undefined behaviour is a function of traffic intensity, I assume you compile different…
Stockfighter is live
131–140 of 151 posts
Re: Stockfighter is live
#132> Our servers are under continuing heavy load due to having launched recently and the site being on the front page of HN. This is causing poor performance and undefined behavior. How is that possible? As I understand, undefined behaviour is either there when you compile, or it isn't (it is a function of the source code). So if the undefined behaviour is a function of traffic intensity, I assume you compile different…
Re: Stockfighter is live
#133Re: Stockfighter is live
#134Earlier quoted context omitted.
Don't underestimate how valuable "meh" post mortems are. I for one, would love to see your usual writing ability applied to one. Weeks from now when this is all a funny anecdote of course...
I confess that I would love to see Patrick's usual writing style and ability applied to almost anything. I'm not sure why, but he just seems to be really ... genuine? Personable? It's like I'm listening to a friend talk -- a friend who happens to either be an expert, or have really interesting things to say. I want to say that it's bizarre, but I think it's mainly that he writes very well.
Re: Stockfighter is live
#135Seriously. There's nothing worse than preparing for scale and then discovering you don't need it because there's not enough interest. Wheras I'm sure you'll get these initial load problems sorted soon enough!
Re: Stockfighter is live
#136Re: Stockfighter is live
#137Congratulations on having the same sort of initial launch problems that other very successful games have! Seriously. There's nothing worse than preparing for scale and then discovering you don't need it because there's not enough interest. Wheras I'm sure you'll get these initial load problems sorted soon enough!
https://discuss.starfighters.io/t/state-of-the-game-last-upd...
tldr: It took ~3000 game instances from < 5000 sign-ups (and therefore I assume << 5000 concurrent players) to bring the game down.
Re: Stockfighter is live
#138Earlier quoted context omitted.
> Rails is holding up admirably. ... except that you have to spin up more boxes. I think you have a different definition of "admirably" than most of us :-) Follow Twitter's lead and switch to a JVM-based solution when you get a chance, you'll be shocked.
We have one Rails box w/ ~2 gigs of RAM which has been sitting pretty since the golang process also on the box stopped hogging 100% of the available file descriptors. Our scaling issue is with ruby processes, of which we have several thousand active at the moment. Each process runs one wee little universe, filled with wee little traders trading wee little stocks, for the benefit of a single player playing a single le…
Re: Stockfighter is live
#139Re: Stockfighter is live
#140Just out of curiosity, can you post the stats about load on your site and what kind of issues did you face, would appreciate it.