OrientDB-NET.binary icon indicating copy to clipboard operation
OrientDB-NET.binary copied to clipboard

Load balanced connection pools

Open thejjmiller opened this issue 10 years ago • 1 comments

I have a 3 node distributed OrientDb cluster. How would you setup my Connection in the .NET driver to load balance/fail over?

thejjmiller avatar Nov 06 '15 21:11 thejjmiller

So. I'm facing the same problem. As I mentioned, in the current architecture there are no possibility to use this feature. I think there should be changes in OClient.CreateDatabasePool(). It must open connections to all instances that should be received from user. There should be some sort of healthchecks and for example roundrobin request balancing between different database contexts. For now I will use several docker pods of the same microservice (that is stateless web api) so the balancing is facing by nginx.

aligin avatar Jul 03 '16 09:07 aligin