Inbox: linking through a hub

Open
#3,780 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
18/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

No files are named, so start by finding the existing link / link --offer command implementation and the outbox code that holds writes for a sleeping machine. Read how a link is currently stored and how queued writes are drained on reconnect, then compare that with the hub-and-spoke model proposed here. Done means a written design agreed in the thread plus the hub relay path implemented and exercised with a multi-machine scenario.

Written by the indexing model from the issue text.

Description

Linking is one link per pair of machines, so four machines need six links (one link --offer and one link each), and a fifth machine needs four more. When one machine is always on, linking each machine to it alone and seeing every other machine's threads through it would need one link per machine. Writes to a machine behind the hub would go through the hub's outbox, the same way they're held for a sleeping machine today.

Dominant language
TypeScript
Stars
8.7k
Forks
649
Avg merge
16h 1m
Merged PRs (30d)
756

Getting set up

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 backnotprop/plannotator

All issues in backnotprop/plannotator

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.