
The N+1 Query Problem: The Hidden Performance Killer
The N+1 query problem happens when your code runs 1 query to fetch a list of records, then runs N more queries (one per record) to fetch related data. If you have 100 authors and want…
Writing about engineering, design, and whatever else is holding my attention.
Posts about the server-side of applications: databases, APIs, performance, and the logic that powers what users see.
Networking Blogs
The Domain Name System (DNS) is the phonebook of the Internet. Humans access information online through domain names, like nytimes.com or espn.com. Web browsers interact through Internet Protocol (IP) addresses. DNS translates domain names to IP addresses so browsers can load Internet resources.

TCP vs UDP → decides how data should be delivered.

If you've ever wondered how two completely different devices — say, your laptop and a web server halfway across the world — manage to understand each other, the answer lies in a framework called the OSI Model.