Skip to content

local vs. remote State #9818

Jun 9, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This is probably due to the O(N²) performance of the pulumi state system. It's not that the S3 files are taking longer, its that pulumi is taking longer to record in it's state that it's uploaded all those S3 files.

Saving the state to a local file while still O(N²) has much lower constant factors (local disk is orders of magnitude faster than the network), thus the speed increase you see while using local state.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SourceSign
Comment options

@Frassle
Comment options

Answer selected by SourceSign
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants