💬 Reply by arikb

2024-11-15 ┃ RE: ?

@saagar Back in a different life I was a DBA. A programmer came over and complained that the DB resources allocated to his program were insufficient and his program gets killed after a while when it uses too many resources. I had him print progress logs, and calculated that his software would take 2 CPU *weeks* to complete.
After modifying his algorithm a bit, saving about 16KB in RAM during execution, we got down to 2 CPU minutes.

arikb

https://mastodon.sdf.org/@arikb/113486697833964396

💬 Replies

2024-11-15 arikb ┃ 1👤

@saagar He just offloaded all the work onto the database with monster queries instead of thinking for a bit and actually coding what he was supposed to. When people get a tool (like the GC in […]

────

📡 Local feed

🏕️ Communities

🔥 Hashtags

🔎 Search posts

🔑 Sign in

📊 Status

🛟 Help