3 ms·
When you start hitting bottlenecks in your python web framework its probably time to switch to a faster language, not another framework in python. You're proba
by jaimex2 6y ago
When you start hitting bottlenecks in your python web framework its probably time to switch to a faster language, not another framework in python.
You're probably done rapid prototyping by this point anyway.
- speedgoose 6y agoI don't think there is much gains to rewrite everything in a faster language. Unless they are a very very successful company with billions of customers, it's often cheaper to scale horizontally.
- seanparsons 6y agoDepends on if you identify it early enough really and even then halving your app tier costs could be sizable for any company. If you can get some productivity benefits at the same time from say static typing then there's even more reason to switch.
- square_usual 6y agoThere's still a good reason to pick fast frameworks in a slow language: you can delay the inevitable for a bit, probably enough time for you to work on a rewrite or whatever.
- antihero 6y agoWell if you convert everything from ORM to raw SQL, it will then be easier to extract all of that SQL and use it in a different web framework once you've measured and confirmed that your bottleneck is servicing requests in Python.