Paweł Piotr Przeradowski
Paweł Piotr Przeradowski
I don't know D. Well formed pull request with instructions how to compile and run stuff is more than welcome.
In asyncio it's catastrophic to try to share event loop between processes. Japronto is a forking server, as in, to server http requests it would spawn a pool of processes...
That's an idea for the next round of benchmarks.
This is a duplicate of https://github.com/squeaky-pl/japronto/issues/9 Basically to fix this the pipeline queue size should allow growing and shrinking it's backing buffer with malloc. realloc and free.
https://github.com/squeaky-pl/japronto/blob/master/src/japronto/pipeline/cpipeline.h#L81 here you can see that its hard-coded to 10 tasks
First doing benchmarks with Docker is a bad idea, I was also receiving unstable results with Docker. Remember that docker contains a seccomp and several other layers in between the...
Remember that Sanic has more Python code in it, so it won't saturate CPU as fast as Japronto does. Sanic spends more time waiting for things to happen so it...
@heppu thanks for doing the number for us.
Ups, that's definitely a segmentation fault.
I'm holding my breath here. The purpose of the whole thing was testing how well PyPy does remove the overhead of pure Python implementation of asyncio and other similar solutions....