The on prem backends use mutexes? Can I run 2 ups ...
# getting-started
b
The on prem backends use mutexes? Can I run 2 ups at the same time?
p
Do you mean Pulumi Enterprise that can be deployed on prem (self-hosting) or custom backend (other than Pulumi Service, like GCS/S3 etc.)?
1) I have no idea since I haven’t been able to use that but I guess it should work the same as cloud version so yeah, it does control concurrency. 2) I think some locks were implemented (let me find it).
Not sure if it’s production-ready or not (I use Pulumi Service myself).
b
Thanks @prehistoric-activity-61023, Yea I'm hoping to control execution of our pulumi with Temporal
b
@bright-oil-46290 you can't run multiple `up`s on the same stack within a project, you'll get a
409
status code You can run lots and lots of stacks in a single project though, we have customers running thousands
b
@billowy-army-68599 a stack has its own backend state right?
b
with the Pulumi service?
b
On Prem with Local like an s3 bucket
I was hoping to separate out certain parts of a project into different failure domains.
Just in case things go terribly awful.
b
the locking is handled by your state storage in that case, so it depends entirely on how your state storage locking mechanism works
but in your case, you can separate out and use stack references, the reason we lock state is to ensure you don't have two updates clashing