jaeger agent cost too much cpu #3821
zdyj3170101136
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I find that jaeger agent costed too much cpu.
The jaeger agent flamegraph:

The mainly cost is from:
1, unmarshal from []byte to thrift struct
2, tran from thrift struct to domain struct
3, send over grpc(marshal domain struct to proto)
4, gc cost
So I want to reImplement jaeger-agent in my company:
1, receive []byte from udp
2, directly send []byte to jaeger-collector over websocket
And the jaeger-collector:
1, receive []byte from websocket conn
2, tran from thrift struct to domain struct
The advantage of my situation:
Save the domain struct marshal and unmarshal cpu cost.
I had try using different protocol send from client to jaeger agent (udp, unixgram, unixhttp)
in https://github.com/zdyj3170101136/exp-jaegerproto:
Different protocol do not have too much performance different.
Beta Was this translation helpful? Give feedback.
All reactions