Sensors, subscriptions and metadata
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- backend-api-design
Research direction
The issue names no files or tests; first read the existing subscription mechanism and metadata model it refers to. The work is done when the protocol and behavior for sensor advertisements, subscription changes, relaying downstream subscriptions, and metadata contributions are specified clearly enough to implement.
Written by the indexing model from the issue text.
Description
Most if not all sensors currently work in passive mode: they connect to the server over ws and push data as delta messages. The server is totally passive and just accepts the data. Working like this any tweaks to the sensors update rate are done out of band: recompiling, altering settings or in the most flexible case using a web UI.
Motivation for altering a sensor's data production data includes at least
- bandwidth and storage savings: high rate when something interesting like testing or racing is happening
- power saving: with low data rate a sensor can sleep between measurements
We do have the subscription mechanism that we could leverage:
- upon connection a sensor/data source could send an advertisement: metadata about what it can produce, rates and metadata (name, unit, description) for non standard paths and it's default behavior
- the sensor could start with default settings
- the server could alter the data production by issuing regular subscriptions
- relayed subscriptions: if a UI, db or an analysis engine client subscribes to the data on the server the server could relay those subscription on to all the sensors that are producing the relevant paths
This would result in a flexible mechanism to alter the data production at the source from downstream. Metadata (meta deltas) would allow sensors to contribute to the server's metadata model and allow ad hoc extensions.
- Dominant language
- JavaScript
- Stars
- 105
- Forks
- 72
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SignalK/specification
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
SignalK/specification#700 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
SignalK/specification#694 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 54/100
SignalK/specification#691 ·
-
RFC: depth transducer offsets: one sign convention, transducer position, server-derived depthsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
SignalK/specification#688 · 3 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
SignalK/specification#685 · 2 comments ·
All issues in SignalK/specification
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
TheOdinProject/curriculum#31596 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mailcow/mailcow-dockerized#7725 ·
Maintainers usually reply within 1 day
-
bug need-fix
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
hoverkraft-tech/ci-github-common#694 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
solana-foundation/solana-com#2579 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
vercel-labs/agent-skills#385 ·