3 ms·
Its not the language but your framework and architecture and your own proficiency in the language ( whatever that might be) that matters most for a fast web a
by manishsharan 14y ago
Its not the language but your framework and architecture and your own proficiency in the language ( whatever that might be) that matters most for a fast web application.
Your code would spend most of its time fetching stuff from DB, external web services etc and rendering HTML. Does your framework allow you to easily incorporate database caches? Does it allow to to cache frequently rendered HTML segments ? Can you offload certain tasks ( such as sending email etc.) to a secondary process via a job queue ?
You could write a web application in C that could still suck big time unless you get the application architecture right.
- ajakhu 14y agoWe had integrated redis in our project for server side caching. And I'd like to clarify that Python was being slow for regular cases (atleast not as fast as we wanted it to be). As we were newbies to web development (although we have a lot of experience in development), we had put in our best knowledge while designing the architecture. We kept independent things independent. That's why we chose flask, it gave us the flexibility we wanted. We were free to choose the extensions we wanted to integrate.