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

Add Job Queue and Status Tracking for Segmentation Tasks in PlanktoScope #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

melissadjadoun
Copy link

@melissadjadoun melissadjadoun commented Jul 30, 2024

This update introduces a job queue and status tracking mechanism for segmentation tasks. The key enhancements include:

  • Job Queue: Segmentation tasks are now managed in a queue, ensuring orderly processing.
  • Status Tracking: The status of each task (e.g., "queued," "processing," "completed," "failed") is tracked and updated throughout its lifecycle.

Status Updates

  • The statuses of segmentation tasks are published to the MQTT topic status/segmenter.
  • Detailed status information for each job is available via MQTT topics in the format status/segmenter/{job_id}, where {job_id} is the unique identifier of the job.

Testing

These changes should be tested on the PlanktoScope to ensure that status updates are correctly published and received, and that the system behaves as expected under various conditions.

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

Successfully merging this pull request may close these issues.

1 participant