158 points · by lganzzzo · 7y ago · 29 comments
I thought shoehorning was a microcomputer thing until I found out about that!
I'm sure there's more clever stuff, but that does help a lot.
That is the mainframe would send out a burst of data to draw a screen on the terminal, the user would fill out the fields, then the user would hit a button that sent the field content back to the mainframe.
Thus the mainframe did not so have to handle an interrupt for each character but instead just one for the whole form.
- benchmark project repo - https://github.com/oatpp/benchmark-websocket
- oatpp framework repo (the benchmark built with) - https://github.com/oatpp/oatpp
If @lganzzzo's oatpp can indeed handle 2M concurrent on 8core/52GB with _presence_ and real data being communicated/broadcast it would be worth looking into.
We use Phoenix for a number of projects and in addition to handling lots of Websocket connections it's a fully featured framework with an excellent workflow, expressive ORM and seamless DevOps.
Seems like oatpp has been built with a single purpose in mind (similar to Redis). Always good to see people diving deep into a topic to push the boundaries of the state of the art.
https://github.com/uNetworking/uWebSockets
https://speakerdeck.com/eranyanay/going-infinite-handling-1m...
Thanks for the question!
I dived straight into C ++ because I had some groundwork written in C ++ from my previous projects.