-
Notifications
You must be signed in to change notification settings - Fork 12
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
Implementing Node communication resolver ( LB traffic forwarding) #118
Comments
oxauth is stateless, all data is on cache/persistence layer. LB knows traffic/load on each node. If some node goes down LB should switch traffic to active/green/alive node. Why do we need communication between nodes? On application layer it doesn’t matter to what node we switch thus no need track slaves (dependent nodes). The only thing we need is to track whether node is alive or not and we need LB which can do traffic switch. |
I agree that we don't want to introduce inter-oxauth communication. We already have a very complex deployment. This would transform oxauth into more like a database then a web tier component. I'd rather introduce communication to MQ component then better servers directly. |
Ok I guess we have to address maybe the most important LBs out there in a doc. The issue here is that if the LB fails to switch traffic the logs get loaded with associated errors. We also need to figure out how and which node is down when it goes down. In the case you you several nodes it can go with days without knowing.
Maybe a better implentation or idea ?
…
On Mar 14, 2019 at 11:09, <Mike Schwartz> wrote:
I agree that we don't want to introduce inter-oxauth communication. We already have a very complex deployment. This would transform oxauth into more like a database then a web tier component. I'd rather introduce communication to MQ component then better servers directly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I think it would be better if there was a monitoring node that published a message in the cache that a certain node is out of commission |
Design in my message is 2 years old :). And the main idea was to find solution that not requires replication/cache or other cost resources. |
The text was updated successfully, but these errors were encountered: