skip to Main Content

Redis – JedisPool vs JedisPooled

Looking at the Jedis Getting Started, I understand it's better to use connection pools to be threadsafe. To do so, I would need a JedisPool and a try-with-resources statement like so: try (Jedis jedis = pool.getResource()) { jedis.set("hello", "world"); }…

VIEW QUESTION
Back To Top
Search