|
|
|
|
|
by kdmccormick
2498 days ago
|
|
I recommend you relax your convictions about Python performance a bit. Server-side bottlenecks are more often than not database reads/writes and other IO. And the few CPU-intensive operations can be delegated to libraries written in C. Pure Python is slow for CPU-intensive tasks, but that doesn't mean that a Python webserver is necessarily slow. |
|
As an example, https://git.sr.ht/~sircmpwn/git.sr.ht/tree/master/gitsrht takes 600-800 ms to generate, and it's probably heavily cached already. What will happen when they get more users? The site will be unbearably slow, unless the guy starts spending thousands in servers.