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

Investigate the need in creating the task management infra around celery #829

Closed
bkyryliuk opened this issue Jul 27, 2016 · 1 comment
Closed
Assignees
Labels
airbnb Airbnb related enhancement:request Enhancement request submitted by anyone from the community

Comments

@bkyryliuk
Copy link
Member

Problem statement:
There are the tools / services that require to execute the tasks / jobs remotely and report back their status and results. There is a need to have some execution guarantees, monitoring, logging and ability to manage the state of the queue in order to effectively maintain the tools.

Issues with Celery:

  • no visibility into the tasks / progress
  • no logging
  • no execution guarantees
  • no viable API to kill the task

Possible solutions

Separate service:

  • build a service that will execute the shell commands
  • with a simple api: schedule task/s, get list of tasks (with filtering), change task/s status, get task/s progress, delete task/s
  • with logging, monitoring in place
  • open source to support the airflow and caravel communities

Orchestrate the celery for our needs

  • update celery to put additional data into the queue:
  • keep the running tasks in the queue
  • add heartbeat functionality
  • add logging
  • build a tool to introspect and monitor the celery queue
  • build a tool to manage the tasks
@bkyryliuk bkyryliuk added enhancement:request Enhancement request submitted by anyone from the community airbnb Airbnb related labels Jul 27, 2016
@bkyryliuk bkyryliuk self-assigned this Jul 27, 2016
@jefffeng jefffeng added this to the Dublin Sprint 2016-07-29 milestone Jul 27, 2016
@jefffeng jefffeng added SQL Lab | Backend enhancement:request Enhancement request submitted by anyone from the community and removed enhancement:request Enhancement request submitted by anyone from the community labels Jul 28, 2016
@bkyryliuk
Copy link
Member Author

Not needed in the short term, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
airbnb Airbnb related enhancement:request Enhancement request submitted by anyone from the community
Projects
None yet
Development

No branches or pull requests

2 participants