Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load Balancing #276

Open
cegprakash opened this issue Aug 20, 2018 · 1 comment
Open

Load Balancing #276

cegprakash opened this issue Aug 20, 2018 · 1 comment

Comments

@cegprakash
Copy link

cegprakash commented Aug 20, 2018

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)
@shinnayoung
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants