Optimization is a zero-sum game ⚡

Arpit Bhayani

Arpit Bhayani

Jan 11, 2024 • 1 min read


Optimization is a zero-sum game ⚡

When designing any system or writing any code, you always deal with trade-offs. It is space vs time when we code, it is read vs write latency when we configure databases, etc.

If you think something is a win-win, look deeper because you have to be trading off something to gain the benefits you are getting. Over time, you will become good at spotting these and make good design and implementation decisions.

Remember, you get some, you lose some.

⚡ I keep writing and sharing these engineering nuggets, so if you are keen on learning them, follow along.

youtube.com/c/ArpitBhayani

Arpit Bhayani

Principal Engineer II at Razorpay - building Agent Studio, Ex-staff engg at GCP Memorystore & Dataproc, Creator of DiceDB, ex-Amazon Fast Data, ex-Director of Engg. SRE and Data Engineering at Unacademy. I spark engineering curiosity through my no-fluff engineering videos on YouTube and my courses