Storing large object exceeds Redis' max inline read request size.
See original GitHub issueExpected behavior Store an object of size greater than 64kb as allowable in docs.
Actual behavior
Client throws exception org.redisson.client.RedisException: ERR Protocol error: too big inline request
Steps to reproduce or test case
String baseString = "ba xy";
String dummyString = "";
for (int i = 0; i < ((1024*64)); i++) {
dummyString = dummyString + baseString;
}
RBucket bucket = client.getBucket("key");
bucket.set(dummyString, 300, TimeUnit.SECONDS);
Redis version 5.0.12
Redisson version 3.15.5
Redisson configuration
Single server configuration w/ sslEnableEndpointIdentification = false
. I’ve tried with both StringCodec
and FstCodec
with no success.
Let me know if there’s a configuration to avoid inlining the request, I couldn’t find one via the docs.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
What is the maximum value size you can store in redis?
EDIT: Because keys in Redis are strings, the maximum key size is 512 MiB. The maximum number of keys is 2^32 - 1...
Read more >Redis FAQ
Redis has built-in protections allowing the users to set a max limit on memory usage, using the maxmemory option in the configuration file...
Read more >What is the ideal value size range for redis? Is 100KB too large?
Hello, Is there a upper limit to the suggest size of the value stored for a particular key in redis? 512MB is the...
Read more >Database memory limits | Redis Documentation Center
When you set a database's memory limit, you define the maximum size the database can reach in the cluster, across all database replicas...
Read more >How to Use Redis With Python - Real Python
The db parameter is the database number. You can manage multiple databases in Redis at once, and each is identified by an integer....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Unable to reproduce it. Can you try native implementation?
Seems Redis instance is too slow