One subscription for all beacon changes.

Open
#107 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
api, backend

Research direction

Start by reading the beacon model and tracing how subscriptions currently deliver beacon changes and location updates. Clarify the proposed single-stream behavior, including which updates it carries and how subscriptions stop when a beacon is deactivated; completion requires an agreed design and corresponding model changes.

Written by the indexing model from the issue text.

Description

I mean will this sync the updates for all and stop the subscriptions if beacon has been deactivated?
Originally posted by @nb9960 in https://github.com/CCExtractor/beacon/pull/97#discussion_r805160175

As the beacon is subject to lot of changes, having multiple subscriptions can be inefficient. To allow users to subscribe to beacon updates(modifying leader, start/end time etc) and location updates(all users of the beacon), a single stream can be used to achieve this. This will require to change the beacon model.

This issue is open to further discussion, to choose the best way to implement it.

Are yo working on it?
Yes

Dominant language
JavaScript
Stars
11
Forks
45
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CCExtractor/beacon-backend

All issues in CCExtractor/beacon-backend

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.