Skip to content

Add more performant manual recorder#231

Merged
rnburn merged 67 commits into
lightstep:masterfrom
rnburn:manual-v2
Feb 5, 2020
Merged

Add more performant manual recorder#231
rnburn merged 67 commits into
lightstep:masterfrom
rnburn:manual-v2

Conversation

@rnburn
Copy link
Copy Markdown
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
Copy Markdown
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?

Comment thread include/lightstep/buffer_chain.h Outdated

namespace lightstep {
/**
* BufferChain provides an interface to access a chained sequestion of
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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