---
title: "Alex (@alex4315) | Hashnode"
description: "Building yourreferralcodes.com, a place to share and find referral codes and invite links, with each company’s reward and effort explained. Solo founder, bui..."
url: "https://hashnode.com/@alex4315"
---

@alex4315

# Alex

@alex4315 · Spain · Joined October 2026

### [Your slow query log will never show you an N+1. Your full log will.](https://yourreferralcodes.hashnode.dev/your-slow-query-log-will-never-show-you-an-n-1-your-full-log-will?utm_source=hashnode&utm_medium=feed)

Each query of an N+1 is fast, so log\_min\_duration\_statement never catches it. Log everything for an hour and the loops are right there.

5 min read · [yourreferralcodes.hashnode.dev](https://yourreferralcodes.hashnode.dev/your-slow-query-log-will-never-show-you-an-n-1-your-full-log-will?utm_source=hashnode&utm_medium=feed)

[1d ago](https://hashnode.com/posts/your-slow-query-log-will-never-show-you-an-n-1-your-full-log-will/6b118ca5b8513745d42917e4)

### [I built a tiny proxy that finds N+1 queries in any Postgres app](https://yourreferralcodes.hashnode.dev/i-built-a-tiny-proxy-that-finds-n-1-queries-in-any-postgres-app?utm_source=hashnode&utm_medium=feed)

N+1 queries are the bug that never shows up in your slow query log. Each query is fast (0.2 ms, 0.3 ms), so auto\_explain and log\_min\_duration\_statement stay quiet. But your endpoint runs 50 of them in

4 min read · [yourreferralcodes.hashnode.dev](https://yourreferralcodes.hashnode.dev/i-built-a-tiny-proxy-that-finds-n-1-queries-in-any-postgres-app?utm_source=hashnode&utm_medium=feed)

[6d ago](https://hashnode.com/posts/i-built-a-tiny-proxy-that-finds-n-1-queries-in-any-postgres-app/6b0c047d9f541a97ca65d791)

### [Referral codes are everywhere. I built a site to share them and compare which ones are actually worth it](https://yourreferralcodes.hashnode.dev/referral-codes-are-everywhere-i-built-a-site-to-share-them-and-compare-which-ones-are-actually-worth-it?utm_source=hashnode&utm_medium=feed)

I built a site to find and share referral codes and compare rewards by effort, so you can tell which offers are actually worth it.

2 min read · [yourreferralcodes.hashnode.dev](https://yourreferralcodes.hashnode.dev/referral-codes-are-everywhere-i-built-a-site-to-share-them-and-compare-which-ones-are-actually-worth-it?utm_source=hashnode&utm_medium=feed)

[Oct 19](https://hashnode.com/posts/referral-codes-are-everywhere-i-built-a-site-to-share-them-and-compare-which-ones-are-actually-worth-it/6ad614e1c4566a2fb8a8ac5d)
