libp2p / libp2p/observer-toolkit

Comments on pull-based introspection protocol

Open
#12 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Given that the original desire was for a backpressure-aware protocol (not a protocol that avoids backpressure), I'd like to see a rationale of tradeoffs of each approach.

  • Push-based with backpressure signalling (we had talked about a "loss of fidelity" warning message).
  • Pull-based with no possibility of backpressure.

IMO, the pull-based model simplifies the state reporting side of things, but it makes real-time events firehoses very cumbersome, as now the server is obliged to buffer events in memory and wait until the client requests them.

Drawing from industry de-facto standards, Prometheus is pull-based, and Jaeger is push based.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the existing issue discussion and the observer-toolkit protocol implementation; the payload names no file, test, or entry point. Document the tradeoffs between push-based backpressure signalling and pull-based reporting, with a clear rationale for the selected direction.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.