Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

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

Open
melissadjadoun wants to merge 1 commit intoPlanktoScope:mainfrom
melissadjadoun:feature/queue-segmentation-jobs
Open

Add Job Queue and Status Tracking for Segmentation Tasks in PlanktoScope#46
melissadjadoun wants to merge 1 commit intoPlanktoScope:mainfrom
melissadjadoun:feature/queue-segmentation-jobs

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant