Sanic: Would Sanic borrow code from other projects like Japronto?

Created on 25 May 2018  ·  4Comments  ·  Source: sanic-org/sanic

Sanic is fast and I love it. People also seem to be curious about Japronto, which people are claiming to be the fastest Python web framework in existence.

Unfortunately, development on Japronto has pretty much stopped. Would Sanic in the future consider merging in or at least reference code in Japronto to improve speeds of Sanic? It would be a shame to see Japronto get eventually abandoned with all that optimized code.

question

Most helpful comment

Japronto looks good on tests but in reality, doesn't have performance advantages over aiohttp.web and Sanic. It postpones headers parsing to be great on pictures. But when you add things like database queries, sessions stored in redis, etc you will get the same performance. In the end, you will get the same Python performance. Sorry to say, but there is no magic Santa Claus with gifts under the tree.

All 4 comments

Generally, I'm unclear how they would "merge". Is there something in Japronto that would be useful?

People also seem to be curious

If this is true, why don't they support the project?

Japronto looks good on tests but in reality, doesn't have performance advantages over aiohttp.web and Sanic. It postpones headers parsing to be great on pictures. But when you add things like database queries, sessions stored in redis, etc you will get the same performance. In the end, you will get the same Python performance. Sorry to say, but there is no magic Santa Claus with gifts under the tree.

Maybe something to take from this project: https://github.com/vibora-io/vibora ?

I think the answer is "yes" if it meets a need. I think for now, it would need to come in the form of a pull request in response to an issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aiurlano picture aiurlano  ·  4Comments

olalonde picture olalonde  ·  3Comments

woutor picture woutor  ·  3Comments

sirex picture sirex  ·  4Comments

misakar picture misakar  ·  4Comments