News for hackers. Stuff that matters.
Re:We have to talk about this Python, Gunicorn, Gevent thing by Rapzid on Saturday March 07, 2020 @07:37PM (#22515372)
Decoding JSON is surprisingly intensive. Check out this to see what's going on with it in Dotnet: https://michaelscodingspot.com/the-battle-of-c-to-json-seria... .

Node.js will have that issue and in fact the stdlib JSON encoding/decoding can't even be paused so once you start a processing something you're stuck until it's done. You could, however, write an incremental serializer/deserializer that could spread processing out across many event loop cycles to mitigate.

Go, ASP.NET, and others not so much, depending, because the schedulers can pause and resume the tasks(on top of being threaded).

There are no comments on this comment yet.