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.
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.