I'd be very curious to see a source about your claim that Python is slowing down for uses outside of deep learning, I'm pretty sure you just made that up and it's false, not to be blunt
If you need a web server there are much better choices. Data analysis and scripting are about the only places I see it used successfully nowadays