Code Monkey home page Code Monkey logo

Comments (3)

justin808 avatar justin808 commented on June 2, 2024

@MarkWang2 what is the A and B of your test?

Did you try 13.4.0?

from react_on_rails.

MarkWang2 avatar MarkWang2 commented on June 2, 2024

@MarkWang2 what is the A and B of your test?

Did you try 13.4.0?
Use Apache ab load test tools to test. A one concurrency B ten concurrency。

Yes, tried 13.4.0

from react_on_rails.

Judahmeek avatar Judahmeek commented on June 2, 2024

@MarkWang2 let me know if I'm interpreting your results correctly.

If you run a single request, you get results in 4050ms. So 10 sequential requests would take 400500ms.

However, if you run 10 requests simultaneously, then you get results between 60~300ms, with an average around 250ms, which is around the time required to run 5 requests sequentially.

If that's accurate, then I have to ask why you suspect there's room for improvement here & what tools you would recommend in order to identify the concurrency bottlenecks are.

Also, what was the value you had set for ReactOnRails' server_renderer_pool_size?

If you've examined our documentation for that configuration value, I think you're aware that it's the likely biggest bottleneck & not easy to improve either.

from react_on_rails.

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.