---
title: "Introducing Bobbin"
description: "Bobbin is a read-only, API-only AppView for Tangled that serves the sh.tangled.* atproto lexicons over XRPC while holding everything in RAM."
url: "https://swe.quest/articles/introducing-bobbin-38b7a32c2aaf86ba"
canonical: "https://tangled.org/blog/bobbin/"
source: "Tangled"
published: "2026-07-13"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["system-design","caching","distributed-systems","deployment"]
---

# Introducing Bobbin

A post on [Tangled](https://swe.quest/sources/tangled.md), published 2026-07-13, 7 min read, Case study. Original: [https://tangled.org/blog/bobbin/](https://tangled.org/blog/bobbin/)

## Summary

Bobbin is a read-only, API-only AppView for Tangled that serves the sh.tangled.\* atproto lexicons over XRPC while holding everything in RAM. It rebuilds its index from scratch on every restart by consuming a Hydrant aggregator stream from cursor 0, so reconciling with the true PDS-held data takes nothing more than a restart. Backfill of the whole Tangled dataset takes about 30-90 seconds with a warm Hydrant, or up to 20 minutes cold, and compression brought memory use to roughly 100-200MB. During warm-up it answers point lookups through the Slingshot edge cache, proxies Knot requests directly to knots, and is designed so one Hydrant can feed hundreds of Bobbin instances, with hourly snapshots or disk offload as possible future changes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Caching](https://swe.quest/tags/caching.md) (Backend & APIs)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)

## Prerequisites

- AT Protocol basics
- PDS and firehose concepts

## Keywords

Bobbin, Tangled, AT Protocol, XRPC, Hydrant, Slingshot, Cloudflare Containers, AppView

## Related posts

- [Tangle: An open-source ML experimentation platform built at Shopify scale](https://swe.quest/articles/tangle-an-open-source-ml-experimentation-platform-built-at-shopify-scale-07b63a998f39f803.md): Shopify Engineering · 2025-12-05 · Medium · 11 min read · ML platforms, Caching, Data pipelines, Open source, Multi-tenancy
  Tangle is Shopify's newly open-sourced ML experimentation platform: users build pipelines visually as DAGs of containerized CLI components defined in YAML, so components can be written in any language and run on any cloud or locally.
- [The federated code forge](https://swe.quest/articles/the-federated-code-forge-2f41a14c31d74342.md): Tangled · 2026-10-30 · Easy · 5 min read · Version control, Distributed systems, System design, Open source
  Tangled is a federated code forge built on the AT Protocol: self-host Git hosting (knots), CI runners (spindles), or the whole API and UI, and still collaborate with everyone else.
- [RAMP-TAO: Layering atomic transactions on Facebook’s online graph store](https://swe.quest/articles/ramp-tao-layering-atomic-transactions-on-facebook-s-online-graph-store-470552a388260a08.md): Meta Engineering · 2021-08-18 · Hard · 2 min read · Consistency models, Distributed databases, Caching, Distributed systems
  RAMP-TAO is a protocol that layers read-atomic transactional guarantees on top of TAO, Facebook's eventually consistent social graph store, so developers get an intuitive read transaction API without handling fractured-read anomalies.
- [Open-sourcing TAOBench: An end-to-end social network benchmark](https://swe.quest/articles/open-sourcing-taobench-an-end-to-end-social-network-benchmark-d1487a3fe445aa76.md): Meta Engineering · 2022-09-07 · Easy · 3 min read · Distributed databases, Performance engineering, Open source
  TAOBench is an open-source benchmark that reproduces Meta's social graph workload from TAO, a read-optimized, geo-distributed store serving over 10 billion requests per second on petabytes of data.
- [How Meta built the infrastructure for Threads](https://swe.quest/articles/how-meta-built-the-infrastructure-for-threads-961a6b509998fe97.md): Meta Engineering · 2023-12-19 · Medium · 7 min read · Scaling, Distributed databases, Multi-tenancy, Serverless, Resilience
  Threads reached 100 million sign-ups in five days on existing shared Meta infrastructure rather than purpose-built systems, illustrated through two components: ZippyDB and Async.

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)
