neumino / thinky

JavaScript ORM for RethinkDB
http://justonepixel.com/thinky/
Other
1.12k stars 128 forks source link

How many connected pools are ok? #632

Closed dunklesToast closed 5 years ago

dunklesToast commented 7 years ago

Hey,

I have a question: How many connected pools per Process are ok? I have a shared thinky instance, but anyway it creates about 10 connected pools and if I use the program in a cluster there are up to 40 pools connected. Could this lead to problems and how many pools are ok?

dunklesToast

neumino commented 7 years ago

What matters is not the number of pool but more the number of connections. It mostly depends on max file descriptors.

You may be interested in this too: http://justonepixel.com/thinky/documentation/architecture/