Maintain control of your Microsoft 365 data
Post Reply
flavio.santos
Enthusiast
Posts: 33
Liked: 5 times
Joined: Nov 26, 2020 3:57 pm
Full Name: Flavio Santos
Contact:

Separated restAPI server - in a cluster?

Post by flavio.santos »

Hello team,

Good morning!

We are testing a cluster of 3 VMs for the restAPI server, and we are trying to figure out what the best solution is for the load-balancer.

We tried the round-robin and least_conn, but in both cases, after getting the token, the other requests fail 66%. So I believe the token was created only in one restAPI server, not in the entire cluster, and as the load-balancer is rotating the requests, it will work only in one server (33%).

Using IP_HASH, it works, but as the requester will be our portal, it will come from one single IP, and with that, all requests will be pinned to one node.

Do you guys know any solution for that? Perhaps a configuration where the REST API server can share the token with the other REST API servers? Or another solution for load-balancer?

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests