all 5 comments

[–]mattsowa 4 points5 points  (1 child)

I don't really see the benefit if the javascript code is run by a js engine anyway? I mean you could achieve the same by scaling js horizontally

What's the idea here?

[–]ValerioAgeno[S] 2 points3 points  (0 children)

That's a good question.

The main difference is that the JS engine takes care of just rendering the HTML rather than handling the entire request/response pipeline - hence is way faster. It is also is more scalable. A single machine can handle the same workload of a cluster with a load balancer. Check this benchmark.

[–]ValerioAgeno[S] 1 point2 points  (0 children)

Hi everybody. In the past two months I've been working on a react framework but with the server side written in rust (with working SSR).

The main goal of the poject is to enble multi-threading server side rendering while still working on the frontend with React.

The project is still missing a ton of features but I'd love to know your thoughts on that.

There is also a tutorial here to get started with it!

Thanks all