news.ycombinator.comDo you even need a database?@eddie · apr 18Save1 saveThe article argues that for many small-scale, read-heavy, or single-user applications, flat files like JSON can outperform a full DBMS, but warns that scaling or adding write concurrency will force you to rebuild a database.More onPostgreSQL63SQLite57JSON2#developer-tools4697#software-engineering2142#performance179#database24RelatedFintech Engineering HandbookThe handbook catalogs patterns for representing, recording, and executing money movements—precision handling, double-entry ledgers, immutability, and invariants—to prevent data loss or invention in fintech systems.also on JSON, #software-engineering, #developer-toolsWhy I stopped using JSON for my APIsThe author argues that Protocol Buffers offer superior efficiency over JSON for APIs, despite trade-offs in human readability and complexity.also on JSON, #software-engineering, #developer-toolsHow Tailscale helped find the SQLite WAL-Reset bugTailscale engineers and SQLite developers collaborated to identify and fix a rare data race bug in SQLite's WAL checkpointing that caused months of database corruption in Tailscale's control plane.also on #database, SQLite, #software-engineering, #developer-toolspi + ghostty running entirely in a cloudflare workers durable object. sqlite based file system + js code exec + cron support. The best part pi and ghostty run inside a Cloudflare Workers durable object, using SQLite for file storage and supporting JS execution, cron, and worker site deployment.also on #database, SQLite, #software-engineering, #developer-toolsThree ways to smuggle SQLite into NixThe author demonstrates four methods—exec, importNative, giant Nix file, and WASM—to embed SQLite queries in Nix, comparing their speed and resource usage.also on SQLite, #performance, #software-engineering, #developer-tools