Redisson client when doing a put or set operation always gets a connection first. Is there a way to reuse the same connection and reduce the cost of operations
Redisson client when doing a put or set operation always gets a connection first. Is there a way to reuse the same connection and reduce the cost of operations
2
Answers
I experimented with jedis client that reuses the same connection. I am using that for now.
It uses pooled connections. Never creates it each time. During first operation codec may require warmup. You can try to use simple StringCodec.