There's no really any need for the Python event-loop to be running in WSGI protocol; as of today the only reason we run it is to have code shared with other protocols in src/workers.rs
.
Not identified any performance gain from these, but avoiding the event-loop ticks definitely makes sense.
Implications on the how to actually run the Rust serving loop yet to be made, possibly a block_on
wrapped into a py.allow_threads
will be enough.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too