python-react icon indicating copy to clipboard operation
python-react copied to clipboard

Performance stats?

Open iMerica opened this issue 6 years ago • 2 comments

Has anyone compared rendering performance between Python-React and Next.js? Or any other SSR React tool? If so, can you please post some benchmarks?

I'm curious about Python React, but I can't imagine that this architecture is performant.

iMerica avatar Dec 31 '19 04:12 iMerica

I have not done any performance comparison myself.

With python-react, the client connects to the python webserver then python builds the initial props and connects to a NodeJS webserver that will render the react. With Next.js the client connects to a NodeJS webserver, then NodeJS connects to the API server to get the data.

It would really depend how you are running the python webserver. Next.js is running in AWS Lambda, giving it a huge paralell processing advantage over a classical Django application running on EC2.

mic159 avatar Dec 31 '19 09:12 mic159

+1 for doing some performance tests on this library

Clickative avatar Jul 13 '20 21:07 Clickative