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

weak references for "batched" profile compilation #198

Open
quattor-releaser opened this issue Oct 4, 2009 · 0 comments
Open

weak references for "batched" profile compilation #198

quattor-releaser opened this issue Oct 4, 2009 · 0 comments

Comments

@quattor-releaser
Copy link
Contributor

One technique used at larger sites (MS, CERN) is to batch compilation requests (e.g. divide up into groups of 1000). Although this risks to have a few profiles recomputed, in reality, this rarely happens because cross-profile dependencies are rare. Essentially, this is the same as clearing the internal profile caches periodically. Determine if similar performance can be achieved by changing the internal profile/template caches to use weak references. This would then allow the normal garbage collection technique to clear out profiles that had not been used recently and reduce the memory requirements.

Reported by: loomisc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants