Introducing Bobbin
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.
Related posts
- Tangle: An open-source ML experimentation platform built at Shopify scale
Shopify Engineering mediumAdeptTangle 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. Its central design choice is content-based caching. Downstream tasks are reused whenever upstream output hashes are unchanged, and cached results are shared globally across users, including executions that are still running. Shopify reports that a 10-hour pipeline can finish in 20 minutes when only one component changes, and that the platform has saved over a year of compute. Other design choices include file-path data passing abstracted over GCS/S3, optional unenforced types, and a multi-tenant HuggingFace deployment that uses per-tenant SQLite databases.
- The federated code forge
Tangled easyNovice
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. This release replaces the single Go/SQLite appview in Sweden with a Svelte frontend at the edge, fed by bobbin, a diskless in-memory Rust indexer running in 11+ regions. Knot2, rewritten in Rust with its own Git and SSH server, stores issues, PRs, comments and permissions in the repo as Git-object chains (collaborative objects). Users' PDSes hold attestation records that verify those knot-written records. The release also adds organization accounts as delegated AT Protocol identities and stacked PRs with interdiffs for both Git and Jujutsu users.
- RAMP-TAO: Layering atomic transactions on Facebook’s online graph store
Meta Engineering hardMasterRAMP-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. Adapted from Read Atomic Multi-Partition (RAMP) protocols in a "bolt-on" style, it guards only recent, transactionally updated data and relies on eventual consistency for everything else, so non-transactional workloads pay no cost. Production feasibility results show 0.42% memory overhead, over 99.9% of reads completing in one round-trip to the local cache, and tail latency on par with existing TAO reads. The layered design is cache-friendly, hotspot tolerant and proposed as applicable to other read-optimized stores.
- Open-sourcing TAOBench: An end-to-end social network benchmark
Meta Engineering easyNoviceTAOBench 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. A small set of parameters, including transaction size, key-to-shard mapping and operation-type frequencies, is enough to downscale production request patterns and model emergent application behavior, and the workloads are validated against production. Meta uses it to test new transaction use cases, lock contention, new APIs and high fan-out transactions. The release includes results for Cloud Spanner, CockroachDB, PlanetScale, TiDB and YugabyteDB, which show how the benchmark exposes performance tradeoffs.
- How Meta built the infrastructure for Threads
Meta Engineering mediumAdeptThreads 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. ZippyDB, a multi-tenant key/value store, absorbs sudden demand by shifting unused allocations and slack between keyspaces via config changes. It scales out with a zero-downtime resharding protocol that remaps logical shards to new physical shards, which let the team proactively prepare Threads keyspaces for 100x growth just before launch. Async (XFaaS), a serverless deferred-execution platform, queued the far-higher-than-expected follow-graph imports and notification jobs and rate-limited their execution to protect downstream services such as the social graph database.