Re:Distributed coroutines with a native Python extension and...
by gigatexal on Sunday March 24, 2024 @05:37PM
(#39810741)
For me this is DOA unless it can be run locally without having to call into some hosted API in the cloud.
I took a gander at the source I'll wait till/if there's ever a 100% local version of this. But good luck all the same!
Re:Distributed coroutines with a native Python extension and...
by achille-roussel on Monday March 25, 2024 @12:08AM
(#39812791)
I guess this is your lucky day, because you can already run it locally!
Take a look at the "Local Testing" section in the README of dispatch-py https://github.com/stealthrocket/dispatch-py?tab=readme-ov-f...
TLDR: python -m dispatch.test http://127.0.0.1:8000
This is just a mock implementation but it lets you test your code and experiment with the solution.
Re:Distributed coroutines with a native Python extension and...
by gigatexal on Monday March 25, 2024 @02:56AM
(#39813378)
Still production means using a third party service? I can’t host this myself?
Re:Distributed coroutines with a native Python extension and...
by achille-roussel on Monday March 25, 2024 @06:10PM
(#39821802)
Yes, today the deployment model for production is to connect to a cloud service for the scheduling. You still run the code yourself, but the SDK needs to connect to the backend.
A good starting point to answer your other questions is the "getting started" section in our documentation https://docs.dispatch.run/dispatch/getting-started
If you have more questions, join our Discord! We're always happy to chat and get feedback on what's difficult to grasp.