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

performance optimization of high concurrency #75

Closed
atellwu opened this issue Nov 28, 2019 · 0 comments
Closed

performance optimization of high concurrency #75

atellwu opened this issue Nov 28, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@atellwu
Copy link
Contributor

atellwu commented Nov 28, 2019

In the case of high concurrency, many errors are reported, mainly performance related

image

image

「invokewithcallback」 is for: check connection failed for address: origin URL [x.x.x.x:43314], unique key [x.x.x.x:43314], maybe write overflow!
「exception」 is for: represents timeout
「retrytimes」 is for: it means to retry 10 times or fail, and finally give up

How to solve

  • Use multiple connections between sessionServer and dataServer
  • Resolve the low efficiency of processing in SessionServer
    e.g. trace com.alipay.sofa.registry.server.session.remoting.handler.DataChangeRequestHandler reply -n 100 #cost>2000
    image
    image
@atellwu atellwu added the enhancement New feature or request label Nov 28, 2019
@NickNYU NickNYU closed this as completed Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants