---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?source=nextdoor&tag=postgres"
---

# Posts

Filtered by topics: PostgreSQL, source: Nextdoor Engineering.

Posts 1–4 of 4, page 1 of 1, newest first.

## 2026-11-23

- [Tracing Cache Inconsistencies to Their Root Cause](https://swe.quest/articles/tracing-cache-inconsistencies-to-their-root-cause-0cc21b10b814cb9e.md): Nextdoor Engineering · 2026-11-23 · Medium · 7 min read · Caching, Consistency models, Observability, PostgreSQL, Debugging
  Nextdoor extended its versioned Valkey ORM cache so every conditional write also atomically stores a short-lived verification key (receipt) recording the operation (fill\_on\_write or fill\_on\_miss), writer service, trace ID and replaced version, colocated via a hash tag in the same cluster slot.

## 2025-03-19

- [Scaling Nextdoor’s Datastores: Part 5](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-5-9c2a55c33ba04857.md): Nextdoor Engineering · 2025-03-19 · Medium · 8 min read · Caching, Consistency models, Event-driven architecture, PostgreSQL, Scaling
  Nextdoor closes cache consistency gaps in its look-aside Redis cache by consuming the PostgreSQL change data stream and issuing version-conditional del\_if\_version deletes whenever writers fail to update the cache.
- [Scaling Nextdoor’s Datastores: Part 4](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-4-160381ed2304f3a4.md): Nextdoor Engineering · 2025-03-19 · Medium · 7 min read · Caching, Consistency models, PostgreSQL, Concurrency
  Nextdoor prevents racing writers from leaving stale values in its look-aside Redis cache by versioning every database row and making cache writes conditional on that version.
- [Scaling Nextdoor’s Datastores: Part 1](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-1-2e24faaf7f855796.md): Nextdoor Engineering · 2025-03-19 · Easy · 5 min read · Scaling, PostgreSQL, Caching, Replication, Consistency models
  Nextdoor's Django/PostgreSQL backend outgrew the usual scaling fixes, and a move to distributed SQL was ruled out because multi-JOIN relational queries were spread across the codebase.

Same list as RSS: [https://swe.quest/feed.xml?source=nextdoor&tag=postgres](https://swe.quest/feed.xml?source=nextdoor&tag=postgres). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
