You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding a LoadBalancer to Gatewayd, the application is no longer stateless. This change impacts the architecture and might require adjustments to the Helm chart and deployment strategy.
For example, if we use strategies like weighted load balancing or consistent hashing, data might be stored in the memory of one pod. If a second client request is routed to another pod, that pod will be unaware of the previous state, potentially leading to inconsistent behavior.
Proposal:
We may need to switch from a Deployment to a StatefulSet to better manage the stateful nature of Gatewayd.
if we go with leader election, the order provided by the StatefulSet would be beneficial in ensuring proper sequencing and coordination among pods.
Implementing leader election or gossip protocols within Gatewayd could help coordinate the nodes, ensuring high availability and consistency across instances.
Suggested Next Steps:
Explore options for implementing leader election or gossip protocols within Gatewayd.
Any thoughts or feedback on this approach would be appreciated!
The text was updated successfully, but these errors were encountered:
Description:
After adding a LoadBalancer to Gatewayd, the application is no longer stateless. This change impacts the architecture and might require adjustments to the Helm chart and deployment strategy.
For example, if we use strategies like weighted load balancing or consistent hashing, data might be stored in the memory of one pod. If a second client request is routed to another pod, that pod will be unaware of the previous state, potentially leading to inconsistent behavior.
Proposal:
Suggested Next Steps:
Any thoughts or feedback on this approach would be appreciated!
The text was updated successfully, but these errors were encountered: