tailscale / tailscale/tailscale-rs

KvStore: pub/sub

Open
#207 0 comments 0 reactions 1 assignee View on GitHub

@nrc is already working on this.

Since May 26, 2026.

tech debt
Dominant language
Rust
Stars
1.2k
Forks
61
Avg merge
2d 13h
Merged PRs (30d)
22

Description

Async pub/sub mechanism for the KvStore

Some work items:

  • record subscriptions and produce notifications
  • unsubscribe
  • subscribe + send current API
  • optimisation: only create events/notifications if there are potential subscribers
  • async layer for sending notifications
  • be more precise about mutations to avoid false positives (iter_mut, etc)
  • subscribe/unsubscribe notifications?
  • fix the O(size of table) check for whether the table is empty in storage.rs.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.