Skip to content

Unexpected ValueObservation behaviour #1549

Answered by groue
sobri909 asked this question in Q&A
Discussion options

sobri909
May 24, 2024
Collaborator Sponsor

You must be logged in to vote

Another thread, in the same discussion, about another topic: it looks like you are creating multiple observations, one per item.

Take care that this might not scale, performance wise.

Generally speaking, the number of observations run by an application should be bounded.

In your particular case, the tracked requests, item.base.samples, do NOT define tracked database regions that precisely target one particular item (see the beginning of the ValueObservation Performance chapter for a description of what is tracked, exactly).

You will see those tracked regions when you call observation.print.

Very likely, all those observations share the same tracked region, and are all triggered together. …

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sobri909
Comment options

sobri909
May 24, 2024
Collaborator Author Sponsor

You must be logged in to vote
0 replies
Comment options

sobri909
May 24, 2024
Collaborator Author Sponsor

You must be logged in to vote
5 replies
@groue
Comment options

@groue
Comment options

@sobri909
Comment options

sobri909 May 24, 2024
Collaborator Author Sponsor

@sobri909
Comment options

sobri909 May 24, 2024
Collaborator Author Sponsor

@groue
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants