News for hackers. Stuff that matters.
Re:React.Js: Achieving 20ms server response time with Server... by ateevchopra on Tuesday October 18, 2016 @01:37AM (#12732367)
misterbowfinger, I Would love to see your solution. Can you make it sub 10ms ? That would help us a lot.

BTW have you ever worked with SSR and React ? 150ms is pretty standard time it takes to render a page with SSR. And as mentioned in the post, the 150ms is what we are getting. This is purely dependent on your project. For example, a simple "hello world" page might take a lot less than a full page with lots of components.

And 20ms is the total response time for the page. Redis takes just 2-3ms of it.

Re:React.Js: Achieving 20ms server response time with Server... by misterbowfinger on Tuesday October 18, 2016 @02:24AM (#12732524)
> And 20ms is the total response time for the page. Redis takes just 2-3ms of it.

If you're properly using Redis, then the total response time should be 2-3ms, or at least very close to that.

> BTW have you ever worked with SSR and React

I haven't - I was hoping the article would shed light on it. The top comment seems to have some great suggestions. There's probably a lot of optimizations one can make at the React/Redux level.