FoundationDB and Node.js: Year in Production
Talkat FoundationDB Summit 2019 · on Monday, 2019-11-18· at 13:50· Grand Ballroom 5, Marriott Marquis San Diego Marina·
summary
Company moves entire backend to FoundationDB and builds a Node.js library fdb.openland that provides distributed locks, work queues, an entity/record-like layer, distributed random IDs and singleton workers. Deployment runs ~200 GB across ~5 coordinators + ~5 storage nodes plus backup and lock machines with ~30 client processes; the cluster shows 40k ops/sec in parallel tests versus ~10 req/s per process on prior SQL stacks. Typical read path shows a version read ~10 ms and a profile+batch fetch ~16 ms, so fetching 20 users can hit ~0.33 s. Results: stateless app servers, near-zero maintenance, small team shipping safely and only 30 seconds of downtime during an upgrade.
AI-written summary · about
chapters (10)
- 0:00Intro
- 0:24Our experience
- 2:00Node.js now
- 3:34FoundationDB to rescue
- 5:00Openland Stack for FDB
- 5:39Openland ORM vs Sequelize
- 7:00Fool-proof development
- 8:59Simple Example: User
- 10:07Naive search
- 11:53Latency: an important enemy
related talks
34mFoundationDB, the Black Knight
46mFoundationDB: The Best-Kept Secret of New Distributed Architectures!
22mSolving Everyday Data Problems with FoundationDB
37mTechnical Overview of FoundationDB
26mRunning FDB at scale at Wavefront
22mHow FoundationDB powers SnowflakeDB's metadata!
50mBuilding the Next-Generation Backend on FoundationDB
25mFoundationDB Document Layer
