logoalt Hacker News

thephyber • today at 4:31 PM • 4 replies • view on HN

I have been wondering if the memory scarcity would lead to a desire to optimize software to be more efficient.

Curious what the R&D / efficiency development ROI is on reducing memory footprint. I suppose we should both consider current ROI and near future ROI (as the price of memory will likely stay high for at least another 1-2 years).


Replies

jgrahamc • today at 5:57 PM

Cloudflare always had a pretty strong culture around optimisation. If you go back and read the blog there are a lot of blogs about reducing CPU, latency, RAM, etc. through software. It's one of the key features of how Cloudflare has been successful and an important part of succeeding in today's world.

Source: I was Cloudflare's CTO.

placatedmayhem • today at 4:40 PM

Coincidentally, I just got angry this weekend about my Mac with 64GB of RAM going OOM because of poorly optimized applications. Use of web tech, especially Electron, was common among basically all of the offending applications. Whether Electron itself or just poor coding, I'm not sure, but there's a pattern.

➕ show 3 replies
colechristensen • today at 9:23 PM

>Curious what the R&D / efficiency development ROI is on reducing memory footprint. I suppose we should both consider current ROI and near future ROI (as the price of memory will likely stay high for at least another 1-2 years).

It is a pretty small niche of companies where compute resource efficiency on the server side has a meaningful business bottom line impact.

Everybody has a few tight loops here and there that would be beneficial but that is usually a very small selection of hot paths and it usually isn't about the money to run the code.

On the client side it's about customer delight and this is terrifically hard to measure and so many companies set themselves up such that disappointed customers are locked in so well it doesn't make a huge difference how happy they are unless they're VERY unhappy.

(In other words, you're not Google or Cloudflare)

nikanj • today at 5:12 PM

Server-side: sure

Client-side: lol sucks to be you