Though most of the power consumption must be video streaming. I wonder if it would be greener if it was distributed via peer-to-peer networks. Any studies on that?
Though most of the power consumption must be video streaming. I wonder if it would be greener if it was distributed via peer-to-peer networks. Any studies on that?
https://jaxenter.com/energy-efficient-programming-languages-...
https://stefanos1316.github.io/my_curriculum_vitae/GKS17.pdf
One of my co workers worked on a 5 person project for half a year that just refactored a core algorithm for a heavily used product and that halved the 5 million dollars a year in hardware costs and that's not expensive public cloud cost but the highly efficient internal data center costs and all of the code was in C++. Writing any of that code in javascript would just be wasting money.
As someone who loves Node, using it in the place where it will be a CPU bottleneck is a complete anti-pattern. 98% of CPU time spent serving each web request is spent inside the database, written in C or C++. Node is a great fit for web apps exactly because the part of their business logic (the part of it which shouldn't reasonably be done inside the DB) is not CPU-intensive, so you can focus on useful abstractions and programmer productivity instead of performance.