Replies: 2 comments 3 replies
-
Is this resolved ? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @anup-krai , Can you provide more detailed info, e.g kong configuraitons, enabled plugins, request header/body, etc. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to proxy an API through Kong which takes request payloads which are bigger in size (approx 1 GB or little less).
I see Kong latency increases a lot when payload size increases. For 1 GB of request payload it goes from seconds to mins.
When I change konghq.com/request-buffering to false, then Kong proxy latency comes down to ms but in this case upstream latency goes high.
When I hit directly to upstream API without Kong, latency is around 100ms.
When I hit through Kong with request-buffering set to true then Kong latency is high and upstream latency is less so total latency is going till mins.
When I hit through Kong with request-buffering set to false, Kong latency is less but upstream latency is going high so total latency is going till mins.
Why upstream latency is going high when hit from Kong with request-buffering set to false?
How can I reduce the total latency for bigger size payloads?
I am using Kong 2.7.1, KIC 2.2.1 with Postgres.
Beta Was this translation helpful? Give feedback.
All reactions