Skip to content

Comments on pull-based introspection protocol #12

@raulk

Description

@raulk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions