pyorient icon indicating copy to clipboard operation
pyorient copied to clipboard

Load Balancing

Open cegprakash opened this issue 6 years ago • 1 comments

How can I implement a load balancer using pyorient? In the documentation here I'm able to find the Java documentation. But I couldn't find a pyorient equivalent.

I tried semicolon separated ips. But it didn't work

server = "localhost;xx.xxx.x.xx"
db_name = "my_DB"
db_admin =  env("DB_ADMIN", default="root")
db_admin_password = env("DB_PASSWORD", default="root")
port = 2424

client = pyorient.OrientDB(server, port)
client.connect(db_admin, db_admin_password)

cegprakash avatar Aug 20 '18 11:08 cegprakash

I'v got the same problem. Anyone help? I want to connect all server addresses like JAVA API.

shinnayoung avatar Jul 21 '20 02:07 shinnayoung