Catalogue / bluesky-2024-appview-v2-dataplane

Bluesky's AppView V2 dataplane, a Go service over ScyllaDB on 192-core bare metal, was split into 8 containers per host to get past an epoll bottleneck

Bluesky, 2024. AppView V2 Dataplane.

Organisation
Bluesky
Evidence
Reported from production
Source
Scaling Go to 192 Cores with Heavy I/O

Jaz's Blog, published 2024-01-10

Records

Decision#d1

Rebuild the AppView data layer as a Go service on ScyllaDB and Redis in place of on-demand queries to one large PostgreSQL

Decision#d2

Tune the Go garbage collector to trade RAM for CPU on hosts with 512GB of memory

Decision#d3

Run 8 Go containers per 192-core host, each on its own port, instead of one large Go process

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.