Skip to content

Add more performant manual recorder #231

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

Merged
merged 67 commits into from
Feb 5, 2020
Merged

Conversation

rnburn
Copy link
Contributor

@rnburn rnburn commented Jan 29, 2020

Add a replacement for the existing manual tracer that provides better performance.

In benchmarking, it has around a 2x-5x improvement

@rnburn rnburn requested a review from jmacd January 30, 2020 04:40
Copy link
Contributor

@jmacd jmacd left a comment

Choose a reason for hiding this comment

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

The changes look good. I'm wondering how users will follow all the options available in this code. For example, is there any document that describes all the recorder options?


namespace lightstep {
/**
* BufferChain provides an interface to access a chained sequestion of
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: sequestration?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@rnburn
Copy link
Contributor Author

rnburn commented Feb 5, 2020

I'm wondering how users will follow all the options available in this code. For example, is there any document that describes all the recorder options?

You can't set recorder options directly, but there's documentation for all the tracer options. https://github.com/rnburn/lightstep-tracer-cpp/blob/manual-v2/include/lightstep/tracer.h#L52

I mostly wanted to keep the LegacyManualTransporter around so that we have an easy way to benchmark the two approaches for building up the report request protobuf message

@rnburn rnburn merged commit 8b7f871 into lightstep:master Feb 5, 2020
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