3 ms·
Theoretically, an asgi server sits in front of your fastapi or starlette. This asgi servers are usually written in python (maybe calling some c code underneath)
by woile 4y ago
Theoretically, an asgi server sits in front of your fastapi or starlette. This asgi servers are usually written in python (maybe calling some c code underneath). You can "probably" gain some performance by writing the asgi server in rust. I don't know how much better is this.
- gi0baro-dev 4y agoYou can check benchmarks https://github.com/emmett-framework/granian/tree/v0.2.2/benchmarks#vs-3rd-parties https://github.com/emmett-framework/granian/tree/v0.2.2/benc... ;)