Skip to content

High latencies with gin/otelgin/NewHTTPReceiveHandler when client disconnects #1181

@rh-hemartin

Description

@rh-hemartin

Hello! We were using this project to receive some CloudEvents from Knative Eventing and we found a weird behaviour related with high latencies when the client disconnected before the work could be done. We switched to use cloudevents.EventFromHTTPRequest (don't quote me on the name).

I created a reproducer repository with different examples. I hope you find it useful. I would say that the interaction is complex and I'm not sure it is worth fixing (also we may be doing something wrong), however it could be helpful to have this here in case someone else gets the same problem. Here it is the repository with the reproducer servers:

https://github.com/rh-hemartin/ce-sdk-latencies-reproducer

I don't know if there is something to do here, so feel free to close it.

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