News for hackers. Stuff that matters.
Re:Achieving 100k connections per second with Elixir by lstodd on Tuesday March 05, 2019 @01:02PM (#19312554)
Single-request connections. Response required consulting memcached and updating it from postgres if out of luck, which was very rare but still needed (and patching then-existing postgres C client to be async aware was an undertaking)
Re:Achieving 100k connections per second with Elixir by jasonlotito on Tuesday March 05, 2019 @02:32PM (#19313449)
> Single-request connections.

What does that mean? You keep qualifying "connections." It's a connection. It holds onto it's connection for X period of time. An HTTP request is just a single-request connection, which is NOT what this article is discussing.

Re:Achieving 100k connections per second with Elixir by lstodd on Tuesday March 05, 2019 @03:02PM (#19313706)
One HTTP connection, one request, one response, connection closed.

I admit I didn't first see that they actually don't do any i/o over those connections.

Well, you know, handling x accepts() per second and holding onto y fds is even less than nothing to be proud of.

Re:Achieving 100k connections per second with Elixir by jasonlotito on Tuesday March 05, 2019 @04:16PM (#19314333)
So yeah, those are generally considered to be requests per second. Apples and oranges.