Skip to content

perf: reduce e2e produce + fetch latency on AWS to < 100ms #115

@klaudworks

Description

@klaudworks

I think combined with the prior s3 parallelization we can reduce e2e produce + consume p90 tail latency to sub 100ms for 4MB segments, measured from the time the broker receives a message to the consumer starting to read the first byte. I don't see any architectural issues. When utilizing s3 express buckets one could probably reduce p90 to less than 30ms for small segments.

Missing changes:

  1. etcd watch that updates local map instead of polling every 10ms for offset key changes
  2. in-memory broadcast from producer to consumer to wake it up on offset changes

@novatechflow I know that your main concern is not e2e latency but these are quite unintrusive changes which extend the use cases even further (and probably allow for better marketing as a drop in replacement for all but realtime use cases). Would you be fine with these changes? I'd be happy to benchmark this.

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