Live data from Hacker News

Stockfighter is live

stockfighter.io

91–100 of 151 posts

Re: Stockfighter is live

#91
post #88
post #82

Earlier quoted context omitted.

"Make sure you've turned up the file descriptors" is the single-process socket server equivalent of "Turn off HTTP KeepAlive" for Apache sites. :) (Yeah, I've had outage because of this too.)

Surely you meant "Turn on HTTP pipelining"? Or is there something wrong with Apache's pipelining implementation?

As I understand, HTTP pipelining is basically a no-go in the real world. Broken implementations, plus performance implications since responses must go in order.

Edit: Here's a FF discussion on it: https://bugzilla.mozilla.org/show_bug.cgi?id=264354 -

Re: Stockfighter is live

#92

Earlier quoted context omitted.

I thought your stack was mostly go?

I suspect that was irony...

Looks like it's actually Go based on one of the JSON responses I found in the web page:

    {
      ok: false,
      error: "strconv.ParseInt: parsing "NaN": invalid syntax"
    }

Re: Stockfighter is live

#94
I can't get the first level to play, seems things are still overloaded. Really looking forward to this though, hope you will post or email again once things settle to remind us about it.

edit: this is the message im getting trying to play first steps, if it helps, dashboard says "Trades.Exec() (Status: playable!)" (3:08 UTC)

> We couldn't start the level: This level has been locked by a different server. (Sorry if this happened accidentally as a result of a server crash -- it will clear up in an hour.) Refresh page to check if server is down?

Re: Stockfighter is live

#95
post #88
post #82

Earlier quoted context omitted.

"Make sure you've turned up the file descriptors" is the single-process socket server equivalent of "Turn off HTTP KeepAlive" for Apache sites. :) (Yeah, I've had outage because of this too.)

Surely you meant "Turn on HTTP pipelining"? Or is there something wrong with Apache's pipelining implementation?

I misremembered a bit; it was Turn Off Apache Keepalive: https://hn.algolia.com/?query=patio11%20apache%20keepalive&s...

Re: Stockfighter is live

#96
post #65
post #62

Earlier quoted context omitted.

hmm yeah I get that but still, what does an "introduction" mean? :)

Sequence of events: 1. You play stockfighter and get the highest score this year. 2. patio11 emails you and says "hey, you're awesome. are you looking for a job?" 3. You say "yes!" 4. patio11 emails pc (CEO of Stripe) and says "hey 2oi4j3 is awesome, here is proof (i.e. your stockfighter score)" 5. pc emails you and says "hey let's talk about what job you would like at Stripe, and let's bypass most or all of that tec…

Really hoping they can also find non-full-time placements.

Re: Stockfighter is live

#97

I can't get the first level to play, seems things are still overloaded. Really looking forward to this though, hope you will post or email again once things settle to remind us about it. edit: this is the message im getting trying to play first steps, if it helps, dashboard says "Trades.Exec() (Status: playable!)" (3:08 UTC) > We couldn't start the level: This level has been locked by a different server. (Sorry if th…

Managed to get through level 2 eventually, lot of retries while boxes were being rebooted etc. The calls to /gm must allocate an instance or something of that sort as once you manage to get lucky on that step the game will work it seems.

Re: Stockfighter is live

#98
post #64

Earlier quoted context omitted.

I so want to read a postmortem of the launch issues. It's one thing when a corporate project with crazy requirements goes down (almost expected these days :( ). Completely different when a service started/run by known tech people with their own schedule breaks on launch. I'd be really interested in what testing was done and why it didn't match reality. (not a jab/criticism, just something to actually learn from)

Meh? It's a play-money stock exchange which processed over 200k orders since a few seconds ago. We're in the process of finding the parts of the plumbing that weren't sized right for hundreds of simultaneous players and tens of thousands of simultaneous actors (each bot is approximately as taxing on the infra as a human -- more, at the moment, since many folks can't read the instructions to start hitting us with orde…

Did you guys consider using Elixir/Phoenix? Seems like it would have been a good fit (in terms of scalability) for what you guys have built.

Re: Stockfighter is live

#99
It's seems the site is extremely broken, I can't navigate anywhere and clicking links that have "#" href's don't do anything.

["handleListAllowedLevels", Object] blotter-bundle-dd01d8c9.js:1549 No level specified in URL. blotter-bundle-dd01d8c9.js:1605 ["enterLevel does not think it can reenter level: ", "first_steps", NaN, Object] blotter-bundle-dd01d8c9.js:2602 ["handleEnterLevel -> startLevel", Object] blotter-bundle-dd01d8c9.js:2556 ["Error starting level:", Object]

Re: Stockfighter is live

#100
Suggestion: deploy your GM server as Docker containers on kubernetes and auto-scale while you enjoy some fine wine in a casual atmosphere. :).

Seriously, good luck. Success hurts sometimes.

Post reply on HN