DiamondLightSource / DiamondLightSource/daq-queuing-service

Use websockets to connect to blueapi

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
1
Avg merge
1d 3h
Merged PRs (30d)
16

Description

As of https://github.com/DiamondLightSource/blueapi/pull/1413, we can connect to blueapi using a web socket. In the queue worker, we should use this feature and have a websocket for each task, for the duration of the task. This means we can stop polling blueapi to check when a task is finished.

## Acceptance Criteria
- Websockets are used to connect to blueapi in the queue worker.

Contributor guide

Open the contributing guide

Research direction

Start in the queue worker and trace how it currently polls blueapi to determine when each task finishes. Review the websocket support introduced in blueapi PR 1413, then verify that each task uses a websocket for its duration and that polling is no longer used.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.