Coder Social home page Coder Social logo

Comments (5)

zhiming99 avatar zhiming99 commented on May 24, 2024

commit 47a3d06 replaced the DBusLocalPdo with DBusLoopbackPdo2 between the user server and the built-in rpcrouter's CRpcReqForwarderProxy. The FetchData timeout issue is gone in the same test which used to have 50 occurances of FetchData timeout. The result is cheerful, and we can close this issue now

from rpc-frmwrk.

zhiming99 avatar zhiming99 commented on May 24, 2024

Test on another machine shows there are still some FetchData timeout occurance, but not as severe as before. We are still in good shape to close this issue. But there is another bug showing up...

from rpc-frmwrk.

zhiming99 avatar zhiming99 commented on May 24, 2024

when testing with auth-disabled, the FetchData timeout came back. I will add a temporary solution by setting a customized timeout value for FetchData request, so that the server can finally complete the FetchData request before the deadline.

from rpc-frmwrk.

zhiming99 avatar zhiming99 commented on May 24, 2024

one reason is that the connections are loopback connections, which means the large number of client processes are running on the same host, we should eliminate this interference for a real test.

from rpc-frmwrk.

zhiming99 avatar zhiming99 commented on May 24, 2024

commit cdc8ec8 fixed this issue #32 and issue #22 once for all. The cause turns out to be the terrible performance of timer service and the grand lock in object creation/destroy combined to make this issue significant. The fix has made it very easy to support a surge of 500 incoming connections without a single failure, and endured through the stress test afterwards.

from rpc-frmwrk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.