The Benefits of Server Side Rendering Over Client Side Rendering
1–10 of 33 posts
Re: The Benefits of Server Side Rendering Over Client Side Rendering
#2Re: The Benefits of Server Side Rendering Over Client Side Rendering
#3I have seen an application login page size 5mb, full of js. Because it downloaded the full application to the client before rendering the login page.
Re: The Benefits of Server Side Rendering Over Client Side Rendering
#4I get offloading some rendering (that server time adds up) but meet me half way. At least show me some content while the rest loads.
Re: The Benefits of Server Side Rendering Over Client Side Rendering
#5I'm not experienced with Node.JS, but something hogging the main event loop of an asynchronous server with a long computation sounds horrible. It'll mangle your throughput, and it'll create some really strange latency spikes for unrelated requests, because the slow computation blocked the event thread from delivering the response of another request. Is this not as much of a problem practically, or would you isolate that SSR code from REST code in different application instances?
In a threaded server like java application servers or go applications, that should be a non-issue since requests are handled in mostly independent threads. It might increase the necessary compute resources some, but that's expected when moving work to the server side.
Re: The Benefits of Server Side Rendering Over Client Side Rendering
#6> SSR throughput of your server is significantly less than CSR throughput. For react in particular, the throughput impact is extremely large. ReactDOMServer.renderToString is a synchronous CPU bound call, which holds the event loop, which means the server will not be able to process any other request till ReactDOMServer.renderToString completes. Let’s say that it takes you 500ms to SSR your page, that means you can at most do at most 2 requests per second. BIG CONSIDERATION
Re: The Benefits of Server Side Rendering Over Client Side Rendering
#7Almost everything was on server side rendering 5years ago. Then angular appeared. I have seen an application login page size 5mb, full of js. Because it downloaded the full application to the client before rendering the login page.
Re: The Benefits of Server Side Rendering Over Client Side Rendering
#8Re: The Benefits of Server Side Rendering Over Client Side Rendering
#9At what point do developers question whether they chose the right framework when their solution requires a large blocking call for many milliseconds in a single threaded server: > SSR throughput of your server is significantly less than CSR throughput. For react in particular, the throughput impact is extremely large. ReactDOMServer.renderToString is a synchronous CPU bound call, which holds the event loop, which mea…
Re: The Benefits of Server Side Rendering Over Client Side Rendering
#10Hm, any thought on the performance/throughput consideration? I'm not experienced with Node.JS, but something hogging the main event loop of an asynchronous server with a long computation sounds horrible. It'll mangle your throughput, and it'll create some really strange latency spikes for unrelated requests, because the slow computation blocked the event thread from delivering the response of another request. Is this…