Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/lazy load deployment #2553

Open
wants to merge 13 commits into
base: staging
Choose a base branch
from

Conversation

vicsn
Copy link
Contributor

@vicsn vicsn commented Oct 7, 2024

Motivation (from original PR)

We've seen that RSS size is correlated with deployments loaded (and staying) in memory. This PR keeps MAX_STACKS programs in memory (chosen arbitrarily at 1000).

Test Plan

Tested by running a local and deployed devnet, deploying programs and executing them. Then restarting the network and trying to execute these programs. The Stacks were lazily loaded from storage, execution worked. Also tested executing programs that are not deployed.

Related PRs

Replaces #2519

@vicsn vicsn requested a review from raychu86 October 7, 2024 15:45
@vicsn vicsn mentioned this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants