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

Add precompute node in view-generation service #115

Open
findingrish opened this issue Jan 18, 2021 · 0 comments
Open

Add precompute node in view-generation service #115

findingrish opened this issue Jan 18, 2021 · 0 comments
Labels

Comments

@findingrish
Copy link
Contributor

Currently, we use ThreadLocals to share state among view generators.
A more cleaner way to achieve this is to add a mapper node which precomputes the shared state.
This node would take the StructuredTrace object and map to an Object with multiple suppliers.
These suppliers can be loaded lazily, to ensure that actual computation are done only when needed.

cc @laxmanchekka @avinashkolluru @kotharironak

@findingrish findingrish changed the title Add precompute node in all-view-generation job Add precompute node in view-generation service Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants