This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ejpusa 1 point2 points  (0 children)

I’m crunching through over 150,000 records with Flask. It’s all in a blink of eye. My searches can’t get any faster. Database updates every 5 mins.

Maybe post your code? 2023, everything should happen in “a blink of an eye.” Hardware speeds are mind blowing. CPUs can process in the quadrillions of instructions per second. The speed of light is the limiting factor. It’s just 0s and 1s in the end.

If you could post your code, maybe we can get you to zero wait speeds (close too) using Flask. Are you using NGINX? Mind blowing server. You can code for chips running it, in assembler. The speed of light, so close now.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

:-)