这是indexloc提供的服务,不要输入任何密码
Skip to content

Utilize proper backpressure scheme in Hasura.Events.Lib #3839

@jberryman

Description

@jberryman

We slurp events as fast as possible, while bounding the number of processing threads. This can lead to a memory leak (in case we can't process fast enough), or possibly event data loss (if we crash with events in the TQueue), though maybe the latter is acceptable.

TODO

  • bound work in pushEvents not consumeEvents
  • log when or before we block

Possible relation to #3388

Metadata

Metadata

Assignees

Labels

c/serverRelated to server

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions