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 composer installed.json parsing in sidecar #340

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

bwoebi
Copy link
Contributor

@bwoebi bwoebi commented Mar 4, 2024

Up to now this happened on the tracer side and could be quite expensive. We're moving it to the sidecar so that we can a) apply caching and b) not execute it in the request path of the tracer.

This brings considerable performance improvements in our benchmarks.

@bwoebi bwoebi requested review from a team as code owners March 4, 2024 19:06
Copy link
Contributor

@bantonsson bantonsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems ok, but I can't find any tests at all of either the json parsing or the caching.

sidecar/src/interface.rs Outdated Show resolved Hide resolved
@bwoebi bwoebi force-pushed the bob/sidecar-composer-parsing branch from 4729701 to 7f81daa Compare March 5, 2024 13:27
@bwoebi bwoebi force-pushed the bob/sidecar-composer-parsing branch from 7f81daa to 8054d90 Compare March 5, 2024 13:53
Up to now this happened on the tracer side and could be quite expensive. We're moving it to the sidecar so that we can a) apply caching and b) not execute it in the request path of the tracer.

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
@bwoebi bwoebi force-pushed the bob/sidecar-composer-parsing branch from 8054d90 to 70bcb48 Compare March 5, 2024 13:59
@bwoebi bwoebi merged commit 9f4f3cf into main Mar 5, 2024
18 of 20 checks passed
@bantonsson bantonsson deleted the bob/sidecar-composer-parsing branch March 7, 2024 07:14
bantonsson pushed a commit that referenced this pull request Mar 25, 2024
* Add composer installed.json parsing in sidecar

Up to now this happened on the tracer side and could be quite expensive. We're moving it to the sidecar so that we can a) apply caching and b) not execute it in the request path of the tracer.

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>

* Reduce cache cleans and test it

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>

---------

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants