Hi, is it possible to start two Prefect Orion serv...
# ask-community
m
Hi, is it possible to start two Prefect Orion servers mapped to the same database? More specifically, I want to run one server for 1. outbound access. It should be used for users to view the UI 2. internal virtual network access. It should be used by agents to talk with the Prefect API Can I specify the same Postgres connection string for both servers? Or do you have any other solution ideas for my setup?
a
I wouldn't do it, as it will make things hard to troubleshoot and scale for you
🙏 1
@Marius Haberstock I think I might have misinterpreted - my interpretation was that you would want to run e.g. dev Orion and prod Orion server instances against the same DB If you meant though that you want to run two servers for scale, i.e. to handle more concurrent requests, that's totally fine and valid you can even have separate orion server processes for UI, scheduler and the API server
this setup is valid as long as your Postgres can handle those concurrent requests
m
Oh that’s cool! Thank you 🙂
🙌 2
c
As we’re looking at test scaling for our use case, this is fantastic to know. Thank you!