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
Hi,
I think I hit the limitation of the library. Whenever I try to store the response in a size aprox. 120 000 characters and more, I get the timeout.
The library is used in a srcache configuration, having the store endpoint configured as follow:
I created a dummy webservice to proxy to, that responds with the text of the length passed as parameter. I also launched redis-climonitor to see the traffic, and turns out that:
the response with a text length of 110 000 characters is being stored in a cache without problem
the response with a text length of 120 000 characters is timing out exactly on redis2_query set $key $echo_request_body;
in redis-cli monitor I see the auth "${REDIS_PASSWORD}" command being executed):
in nginx logs I see two entries that appear with a delay:
Page has a form that is returning an overly large JSON and its causing timeouts, page doesn't cache, redis times out after 1m and then the page/form loads...
Hi,
I think I hit the limitation of the library. Whenever I try to store the response in a size aprox. 120 000 characters and more, I get the timeout.
The library is used in a srcache configuration, having the store endpoint configured as follow:
I created a dummy webservice to proxy to, that responds with the text of the length passed as parameter. I also launched
redis-cli
monitor
to see the traffic, and turns out that:redis2_query set $key $echo_request_body;
redis-cli monitor
I see theauth "${REDIS_PASSWORD}"
command being executed):[error] 10#10: *10 upstream timed out (110: Operation timed out) while reading upstream, client: 172.17.0.1, server: localhost, request: "GET /Lorem/120000 HTTP/1.1", subrequest: "/redis2", upstream: "redis2://192.168.65.2:6379", host: "localhost:9000"
[error] 10#10: *10 srcache_store subrequest failed: rc=0 status=504 while sending to client, client: 172.17.0.1, server: localhost, request: "GET /Lorem/120000 HTTP/1.1", subrequest: "/redis2", upstream: "redis2://192.168.65.2:6379", host: "localhost:9000"
$echo_request_body
, because there was no problem with following code:The text was updated successfully, but these errors were encountered: