Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Viewing all articles
Browse latest Browse all 2204

Subscription to Redis Stream Blocks Connections for Other Requests With Vert.x

$
0
0

I'm implementing an application with Vert.x (and their Redis Client library) that is able to listen to Redis Streams. For that I have n instances in my app subscribing to it. The Vert.x documentation states:

A common configuration is to set the maximum size of the pool to the number of available CPU cores

The pool provides connections to be used for requests to Redis. For instance, the pool size could to 6. If more than 6 instances trying to subscribe, the first 6 have no problems, but all the instances trying to subscribe afterwards can't because no connections are left.

Is the "common configuration" are hard limit? Could I also have 10k connections?

Does Vert.x provide a way to separate pools for different purposes (for subscriptions and for other stuff)?

Is there a solution to handle many connections mainly used for stream subscriptions with Vert.x?

Unfortunately, the Vert.x documentation doesn't provide much information.


Viewing all articles
Browse latest Browse all 2204

Trending Articles