Open clehner opened 2 years ago
Please don't make this API async. It's 99% local computation. I am right now struggling with trying to use it from django; it hangs when served with gunicorn, not when served with the development server
Please don't make this API async. It's 99% local computation. I am right now struggling with trying to use it from django; it hangs when served with gunicorn, not when served with the development server
Could you open an issue on https://github.com/spruceid/didkit-python so we can see if something can be done on DIDKit's side?
I got to the bottom of it, the problem was gunicorn. To run an asynchronous app one apparently uses asgi and guvicorn. Problem went away. On May 23, 2024, at 13:20, Simon Bihel @.***> wrote:
Please don't make this API async. It's 99% local computation. I am right now struggling with trying to use it from django; it hangs when served with gunicorn, not when served with the development server
Could you open an issue on https://github.com/spruceid/didkit-python so we can see if something can be done on DIDKit's side?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Bindings should be async where possible.
Current status of what in DIDKit supports async usage
... with notes and pointers to relevant issues/PRs: