You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent a good amount of time trying to figure out why sometimes under load I was seeing drops - I blamed the Kubernetes Ingress because our logs were squelched up pretty high and my "access log" directive at the tippy top of the sealed route wasn't catching the timeouts cases which cleaved the connection.
It would be great if there could be some sort of catchall Sink (or Directive?) that could see but not modify the FINAL form of the request/response, if not also (configurably?) debug info like the stack of the call to complete (or the HttpResponse constructor), so that you didn't have to scratch your head about other layers of akka-http and find those pesky settings (idle-timeout in my case) that were outside the logic of the application.
The text was updated successfully, but these errors were encountered:
It might be useful to know about what happened in the TCP layer too - perhaps a valid HttpResponse could be stuck on the wire and cleaved from the other side as well…
Ultimately some way to add more hooks to the Flow/BiFlow that's created internally by the bindAndHandle is what I'm looking for - a way to really know what's going on and debug as a user of the library without diving into the guts of it.
I spent a good amount of time trying to figure out why sometimes under load I was seeing drops - I blamed the Kubernetes Ingress because our logs were squelched up pretty high and my "access log" directive at the tippy top of the sealed route wasn't catching the timeouts cases which cleaved the connection.
It would be great if there could be some sort of catchall Sink (or Directive?) that could see but not modify the FINAL form of the request/response, if not also (configurably?) debug info like the stack of the call to complete (or the HttpResponse constructor), so that you didn't have to scratch your head about other layers of akka-http and find those pesky settings (idle-timeout in my case) that were outside the logic of the application.
The text was updated successfully, but these errors were encountered: