3 ms·
And how much of that is from the OS? It seems ridiculous to optimize something that is already so optimized rather than just optimizing your services. Maybe you
by dahfizz 7y ago
And how much of that is from the OS? It seems ridiculous to optimize something that is already so optimized rather than just optimizing your services. Maybe you don't need a dozen Vms and containers to do the job of one server. Maybe you should use efficient algorithms and tools.
If you're using runtime languages on the backed (node, python) then you're already failing the environment. An efficient compiled language can perform the same functions much more efficiently.
- MaxBarraclough 7y ago> If you're using runtime languages on the backed (node, python) then you're already failing the environment. Not necessarily. If you make a living running a typical CRUD software-as-a-service offering, your code may really just be glue mapping HTTP requests to database requests. There, your choice of language doesn't count for much; your code isn't doing heavy lifting, the DBMS is. It's quite possible your hardware requirements could be lower by writing in Python and tuning your database, rather than spending the same time writing non-performance-critical code in C++. Frameworks like Tornado, for Python, are able to quite efficiently handle highly concurrent workloads, despite using a single-threaded, interpreted, language. For computationally intensive code, then sure, a language like Python will need far more hardware horsepower to get the job done than C++ would.
- ummonk 7y ago>If you're using runtime languages on the backed (node, python) then you're already failing the environment. An efficient compiled language can perform the same functions much more efficiently. This post is about an optimized environment for C++ services though - not node or python services.
- hestefisk 7y agoLess code, smaller attack surface.