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

young gc where cause rpc server timeout exception #269

Closed
dragontree101 opened this issue Feb 28, 2017 · 1 comment
Closed

young gc where cause rpc server timeout exception #269

dragontree101 opened this issue Feb 28, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@dragontree101
Copy link

dragontree101 commented Feb 28, 2017

�i use byte-buddy as agent and use zipkin to recode my thrift rpc trace, i found my rpc client has timeout exception(i set timeout is 500ms in thrift client) when rpc server has young gc, and young gc time bigger than 100ms

my rpc server logic only less than 10ms in normal and young gc will spend 100 ms to do gc work, i think rpc server should not timeout, i don't know what's problem will cause timeout exception.

does i use byte buddy will cause young gc spend more time to do gc work?

@raphw
Copy link
Owner

raphw commented Mar 1, 2017

Byte Buddy puts some preasure on the young GC but if you retain objects (everything is immutable), it should not put problems onto your system. I used Byte Buddy in high performance environments without problems.

Retransformation is by itself however quite expensive. You should give more time for the attachment.

@raphw raphw added the question label Mar 1, 2017
@raphw raphw self-assigned this Mar 1, 2017
@raphw raphw added this to the 1.6.9 milestone Mar 1, 2017
@raphw raphw closed this as completed Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants