DevOps: What is the best way to create separate Langfuse instances in different environments: Dev, Test, QA, Prod? #1957
Unanswered
aiakubovich
asked this question in
Support
Replies: 1 comment
-
Great question, I'd suggest the following options
I'd discourage to run multiple Langfuse instances in separated environments on the same postgres database and schema. While this works (I mean it is just scaling the stateless api horizontally), this has the risk that updates won't work as expected. The langfuse container applies necessary changes to the database on start. When you run these instances in separated environments, I'd assume that upgrading them all at exactly the same time will be difficult. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am wondering about the best way to create instances in different envs.
Let's say we have Dev environments where we have a Langfuse Docker container running alongside a PostgreSQL DB. Now we want to add a new environment, Test.
Should we keep PostgreSQL in Dev and connect both Langfuse instances in Dev and Test to it? Would there be any problems if you have two UI Langfuse interfaces connected to the same DB?
Or should we have separate PostgreSQL instances as well? Would be migration prosses between those if we want to have same data (traces, scores) in both?
Beta Was this translation helpful? Give feedback.
All reactions