Menu
The @ symbol was chosen for email in 1971.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Passing the buck Memes
Posts tagged with Passing the buck
Double It And Give It To The Next Person
Databases
Programming
Debugging
Backend
2 months ago
8.9M views
0 shares
Someone asks how to solve the infamous N+1 query problem in ORMs, and the response is pure gold: just double it and pass it to the next person. Because why fix a performance nightmare when you can make it exponentially worse and let it become someone else's problem? For context: The N+1 query problem happens when your ORM fetches a list of N items, then makes a separate database query for each item's related data. So instead of 1 query, you get N+1 queries. It's like ordering pizza one slice at a time instead of just ordering the whole damn pie. The solution here? Make it 2N+2 queries and yeet it to your colleague. Peak engineering right there. This is the database equivalent of setting your code on fire and walking away in slow motion.
Today's picks
JONSBO C6-ITX Black Mini ITX Handled Mesh PC Case, Simple Compact Desktop Chassis, SP MB mini-ITX/Mini-DTX, ATX Power Bite (L140mm Max.), 170mm Tower Cooler,Tool-Free Open SFF Case, Black
Affiliate
$65.00
Roses are red, violets are blue...
Programming
186.7K views
4 years ago
Fuck you too I guess...
Frontend
49.2K views
4 years ago