Making a Postgres query 1,000 times faster

How Levels.fyi Built Scalable Search with PostgreSQL