Closed Taymindis closed 3 years ago
I am currently have a design like this
Client client = new Client(indexName, jedisPool)
Can this client handle all the query from multiple threads concurrently? Or i need to instantiate a new client whenever there is a new request?
Client is threadsafe (considering JedisPool, more specifically, GenericObjectPoolConfig of JedisPool is not weirdly configured).
Thanks for the clarification.
I am currently have a design like this
Can this client handle all the query from multiple threads concurrently? Or i need to instantiate a new client whenever there is a new request?