The Sneakiest Performance Bug I’ve Ever Encountered — N+1, Just Vibing in My Query LogsI didn’t set out to write a blog post about N+1 queries. Initially, I wasn’t aware this was the issue. Midway through working on PeriChat, I paused feature development to focus on refactoring and performance tuning. I was feeling confident — applying...May 19, 2025·10 min read