https://pulumi.com logo
Title
b

bright-oil-46290

03/07/2022, 6:02 AM
The on prem backends use mutexes? Can I run 2 ups at the same time?
p

prehistoric-activity-61023

03/07/2022, 8:58 AM
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

bright-oil-46290

03/07/2022, 1:20 PM
Thanks @prehistoric-activity-61023, Yea I'm hoping to control execution of our pulumi with Temporal
b

billowy-army-68599

03/07/2022, 6:06 PM
@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

bright-oil-46290

03/07/2022, 6:20 PM
@billowy-army-68599 a stack has its own backend state right?
b

billowy-army-68599

03/07/2022, 6:23 PM
with the Pulumi service?
b

bright-oil-46290

03/07/2022, 6:25 PM
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

billowy-army-68599

03/07/2022, 6:47 PM
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