Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ReactPy Performance? #1092

Answered by Archmonger
broshaun asked this question in Question
Discussion options

I can finally get rid of JS and use my favorite Python. But all rendering is sent on the server side, so is there any problem with efficiency? The reason why everyone uses JS is because the operation is carried out on the browser. If we can move most of the functions of rendering and computing to wasm, will it solve the problem of server-side rendering burden?

You must be logged in to vote

Client-side components are planned to be supported in the future (#110).

However, server-side performance is generally not a problem for small/mid scale projects. A lot of our server-side backends are impressively fast even when only running with one ASGI worker (~80 MB of RAM). If you're servicing more users than 100 ASGI workers (8 GB of RAM) can handle, we realistically talking about scales of massive websites.

You really should only focus on optimizations like this when reaching the scales of Google/YouTube/Facebook. Even then, some of the biggest websites in the world use relatively slow server-side frameworks (such as YouTube using Django). Even with sites like YouTube, server side ...

Replies: 1 comment

Comment options

Client-side components are planned to be supported in the future (#110).

However, server-side performance is generally not a problem for small/mid scale projects. A lot of our server-side backends are impressively fast even when only running with one ASGI worker (~80 MB of RAM). If you're servicing more users than 100 ASGI workers (8 GB of RAM) can handle, we realistically talking about scales of massive websites.

You really should only focus on optimizations like this when reaching the scales of Google/YouTube/Facebook. Even then, some of the biggest websites in the world use relatively slow server-side frameworks (such as YouTube using Django). Even with sites like YouTube, server side rendering is not an impossible hurdle due to distributed computing and caching.

You must be logged in to vote
0 replies
Answer selected by Archmonger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /