2 ms·
Can anyone give a quick synopsis of why this RSGI is needed? Can't ASGI code be called from a Rust socket termination, a la Gunicorn?
by kortex 4y ago
Can anyone give a quick synopsis of why this RSGI is needed? Can't ASGI code be called from a Rust socket termination, a la Gunicorn?
- gi0baro-dev 4y agoIs not needed, is just a different async protocol implementation. Granian supports both interfaces, is a matter of how you want to write your application. As you can see from benchmakrs (https://github.com/emmett-framework/granian/tree/master/benchmarks#interfaces https://github.com/emmett-framework/granian/tree/master/benc...), the main advantage today of RSGI vs ASGI is the performance.