Hacker News new | ask | show | jobs
by connicpu 101 days ago
I write algorithms that operate on predictable amounts of data. It's very easy to work out the maximum amount of things we need to have and then allocate it all in fixed size arrays. If you allocate all your memory at startup you can never OOM at runtime. Some containers need over 100GB but like the parent comment said we've already bought the RAM.
1 comments

I write algorithms that operate on less predictable amounts of data.
If you operate over all of your data every time it's a lot more predictable ;)
The data I operate on come in from the outside world, I can't operate on all of it because most of it doesn't exist yet. I can't process an event that hasn't happened yet