How do you deal with having multiple stages of the...
# orm-help
z
How do you deal with having multiple stages of the same prisma server? i.e. I have
dev
,
staging
, and
prod
ecs instances, but the only time I see the option to change deployment target with
prisma deploy
is when you run
prisma init
. How does this work?
w
You don't have multiple stages of your prisma server -- You have different stages of your prisma service! The stage is specified within your endpoint: https://prisma-server/service/stage
z
So Prisma runs all stages within one container? How does that work with rabbitmq?
w
I'm not sure what you're trying to do.
All services and stages are running within the prisma server and the prisma server runs within the container
z
Prisma requires a rabbitmq server for subscriptions if you are going to be horizontal scaling prisma. I'm wondering how that will work with multiple stages and if that would pose an issue
w
Aaahhh. You're trying to to scale horizontal. I've no idea about scaling
n
there has been some discussion about scaling and RabbitMQ here: https://github.com/prisma/prisma/issues/2850