---
title: "Nextdoor Engineering"
description: "Posts from Nextdoor Engineering on swe.quest."
url: "https://swe.quest/sources/nextdoor"
---

# Nextdoor Engineering

Posts from [Nextdoor Engineering](https://engblog.nextdoor.com), newest first.

Posts 1–9 of 9, 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 3](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-3-5cb25113d465521d.md): Nextdoor Engineering · 2025-03-19 · Medium · 5 min read · Caching, Python, Schema migrations, Databases
  Nextdoor replaced pickle-style byte serialization of Django ORM objects in its Redis/Valkey look-aside cache with MessagePack, so cache entries stay readable across code releases and schema migrations.
- [Scaling Nextdoor’s Datastores: Part 2](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-2-3bede3a52d4cf43e.md): Nextdoor Engineering · 2025-03-19 · Medium · 4 min read · Replication, Consistency models, Databases, Scaling
  Letting product engineers manually choose replica vs. primary routing in Django broke down as abstractions hid read-after-write dependencies, and the common workaround of wrapping logic in transactions sent everything to the primary, slowly eroding the capacity gained from read replicas.
- [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.

## 2023-10-16

- [Let AI Entertain You: Increasing User Engagement with Generative AI and Rejection Sampling](https://swe.quest/articles/let-ai-entertain-you-increasing-user-engagement-with-generative-ai-and-6a4a5ebea825e273.md): Nextdoor Engineering · 2023-10-16 · Medium · 12 min read · LLMs, Model training, Evaluation, Communications, Product engineering
  Nextdoor improved notification email subject lines by having ChatGPT extract (not rewrite) the most interesting phrase from a post, then using a fine-tuned OpenAI ada reward model to accept the generated subject only when it predicts more clicks than the user-written one, a form of rejection sampling.

## 2023-09-07

- [From Pre-trained to Fine-tuned: Nextdoor’s Path to Effective Embedding Applications](https://swe.quest/articles/from-pre-trained-to-fine-tuned-nextdoor-s-path-to-effective-embedding-2fbc04ae74130a93.md): Nextdoor Engineering · 2023-09-07 · Hard · 11 min read · Recommendations & ranking, Model training, ML platforms, Search, Machine learning
  Nextdoor evolved its entity embeddings for posts, comments, users and search queries in three stages.

## 2023-01-11

- [Catching Anomalies Early in Mobile App Releases](https://swe.quest/articles/catching-anomalies-early-in-mobile-app-releases-c002313e5a6a96d2.md): Nextdoor Engineering · 2023-01-11 · Medium · 5 min read · Mobile, Deployment, Observability
  Nextdoor detects silent regressions in weekly iOS and Android releases at 1% phased-rollout adoption by applying difference-in-differences analysis instead of aggregate metrics, which hide small cohorts and are skewed because early adopters are more active users.

Same list as RSS: [https://swe.quest/feed.xml?source=nextdoor](https://swe.quest/feed.xml?source=nextdoor). 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)
