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

[Question] Blue/Green deployment, is RedBeat applicable for that? #279

Open
wowkin2 opened this issue Oct 27, 2024 · 0 comments
Open

[Question] Blue/Green deployment, is RedBeat applicable for that? #279

wowkin2 opened this issue Oct 27, 2024 · 0 comments

Comments

@wowkin2
Copy link

wowkin2 commented Oct 27, 2024

I try to setup Blue/Green deployment that should have 2 running instances of the same app (including Django, Celery Beat and Workers). But they should just don't get traffic and switch from one to another some moment of time (requests and taking tasks from a queue/schedule).
With Django it is straight-forward with managing routing of requests.

Now thinking if RedBeat can solve this task for Celery Beat? I've read that it has locks using Redis that prevents that 2 Beats would work simultaneously. But will second just pick up schedule if first is shut down or is there a chance that it will skip some tasks?
This is similar to question here: #263

P.S. Also I curious if this library allows switch Celery Workers from one instance to another, and also gracefully shutdown all running tasks and not skip anything from schedule?
Is there similar library for Workers too? Or any other approach that can solve it?

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

1 participant