My program fetches a lot of data from Redis during startup. Each value is a byte array, which is deserialized immediately and the byte array is never used again after deserialization. This results in a significant number of byte arrays being allocated, causing high GC pressure.
Can I configure an array pool to reduce this problem when using StringGet?
My program fetches a lot of data from Redis during startup. Each value is a byte array, which is deserialized immediately and the byte array is never used again after deserialization. This results in a significant number of byte arrays being allocated, causing high GC pressure.
Can I configure an array pool to reduce this problem when using StringGet?