Does Flipt server work with load balancers #573
-
Is it safe to run multiple replicas of a a Flipt server, behind a load balancer, pointing to the same database? |
Beta Was this translation helpful? Give feedback.
Answered by
markphelps
Nov 3, 2021
Replies: 1 comment
-
Hi @sgilhooly, great question! Yes, it should be safe to run multiple instances of Flipt behind a LB, assuming that you are NOT using the in-memory caching as Flipt itself is stateless if in-memory caching is disabled (the default). Also, I'm assuming you are using either MySQL or Postgres? I'd also recommend that you only run migrations from a single node as multiple nodes running migrations would likely cause errors. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sgilhooly
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @sgilhooly, great question!
Yes, it should be safe to run multiple instances of Flipt behind a LB, assuming that you are NOT using the in-memory caching as Flipt itself is stateless if in-memory caching is disabled (the default).
Also, I'm assuming you are using either MySQL or Postgres? I'd also recommend that you only run migrations from a single node as multiple nodes running migrations would likely cause errors.