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
When using a high number (eg hundreds of thousands/millions) of RedissonJsonBucket instances, I found that the use of the JsonCodecWrapper generates an enormous number of values being entered into org.redisson.command.RedisExecutor#CODECS .
This is because a copy of the codec is created for every bucket, which then appears to the executor as a new codec for every single bucket.
I'm unclear on what the wrapper is achieving, especially the org.redisson.codec.JsonCodecWrapper#JsonCodecWrapper(org.redisson.codec.JsonCodec<?>) variant that simply presents the underlying codec unchanged, but perhaps it could implement hashCode/equals.
The text was updated successfully, but these errors were encountered:
When using a high number (eg hundreds of thousands/millions) of RedissonJsonBucket instances, I found that the use of the JsonCodecWrapper generates an enormous number of values being entered into org.redisson.command.RedisExecutor#CODECS .
This is because a copy of the codec is created for every bucket, which then appears to the executor as a new codec for every single bucket.
I'm unclear on what the wrapper is achieving, especially the org.redisson.codec.JsonCodecWrapper#JsonCodecWrapper(org.redisson.codec.JsonCodec<?>) variant that simply presents the underlying codec unchanged, but perhaps it could implement hashCode/equals.
The text was updated successfully, but these errors were encountered: