Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote communication? #995

Closed
spxneo opened this issue Mar 15, 2024 · 1 comment
Closed

remote communication? #995

spxneo opened this issue Mar 15, 2024 · 1 comment

Comments

@spxneo
Copy link

spxneo commented Mar 15, 2024

what i want to achieve is some way to distribute jobs to workers remotely

the server delegates task

workers elsewhere from different IP receive the task and post the results back to the server

how can i make this possible? real time updates of the progress should be subscribable

@ewjoachim
Copy link
Member

As of now, Procrastinate doesn't define a built-in way to send results. Consequently, it's the responsibility of your tasks to do that part (storing the result). Similarly for progress updates. You could use a table that you control to store results. And you could use a postgres listen/notify to actively inform your server of the progression.

See #370

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants