I’m using Fly Redis by Upstash on the 3G plan which should allow reads up to 10MB, but my requests are getting rejected when they are only around 1.2MB. This results in the application having to make requests out to S3 more often than it should need to.
Kind of annoying since I’m paying 90$/mo for this plan so I can get that higher 10MB max read request size.
Here’s a sample error log:
ts=2023-08-20T17:28:56.229215679Z caller=redis_client.go:242 level=warn name=chunks-cache msg="failed to mget items from redis" err="ERR max request size exceeded. Limit: 1048576 bytes, Actual: 1296815 bytes. See https://docs.upstash.com/redis/troubleshooting/max_request_size_exceeded for details" items=0
Any tips? Is it maybe the use of MGET
rather than GET
?