Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
F3 is a next-generation open-source columnar data file format designed for efficiency, extensibility, and interoperability.
It addresses layout limitations in formats like Parquet by embedding Wasm decoders within files, ensuring future-proof compatibility and platform-agnostic performance. The project provides a research prototype and API for developers, enabling adaptable data encoding schemes for evolving analytics workloads.
rqlite introduced open-source distributed SQLite in 2014 by placing a Raft log before SQLite, using CP semantics and leader-based majority writes.
The field later expanded through dqlite’s embedded library, Litestream’s WAL streaming to S3, LiteFS, CRDT-based cr-sqlite, libSQL/Turso, SQLite Cloud, and managed platforms such as Cloudflare D1. These projects represent consensus, streaming recovery, and merge-based designs; commercial success largely came from turning replicated SQLite into a hosted service.
Many development teams prematurely adopt complex architectures, adding unnecessary databases like Redis, Elasticsearch, or MongoDB.
Postgres is often sufficient for most use cases, offering robust features for caching, queues, search, and analytics. Prioritizing simplicity reduces operational overhead, maintenance burdens, and costs, allowing startups to focus on innovation until actual scale necessitates more specialized solutions.
The US Library of Congress recommends SQLite as a top-tier storage format for datasets.
It joins XML, JSON, and CSV due to its high level of transparency, self-documentation, and low dependency requirements, ensuring long-term digital preservation and archival accessibility for critical datasets.
Please, I beg you, we need to stop using Stored Procedures (from applications)
Database · Performance · SQL
The author argues that applications should usually avoid Stored Procedures, because parameterized queries and plan caching provide equivalent DBMS benefits while keeping database logic versioned with application code.
They urge developers to learn SQL and collaborate with DBAs, emphasizing fewer network requests, indexes, profiling, ORM query inspection, avoiding N+1 and Cartesian explosions, and careful dynamic-query design, conversions, TVPs, and filtered indexes.
Using random UUID4 as primary keys in SQLite leads to significant performance degradation due to B-tree rebalancing and increased paging.
Performance testing reveals that UUID4 inserts are 10-12 times slower than integer primary keys. Switching to time-ordered UUID7 effectively mitigates these issues, bringing performance near baseline levels despite the larger byte size of UUIDs.
PgDog is an open-source proxy project designed to make Postgres horizontally scalable, supporting over 1 million queries per second and 100 TB+ datasets.
Founded by experienced infrastructure engineers backed by $5.5M in funding, it aims to eliminate scaling challenges for Postgres while providing flexible deployment options across cloud and on-prem environments.
Hister is AGPLv3 free software for building a private, self-hosted search index of selected web pages, files, browser history, and crawled sites.
It extracts full text, stores previews, and supports advanced queries through web, CLI, HTTP API, and MCP. No telemetry or required cloud service; optional semantic search uses an endpoint you configure.
Distributed, high-performance blob storage on SQLite
Backend · Database · Performance · Software Architecture · SQLite
Zerodha built Blobasaur, an open-source distributed blob server written in Rust that uses sharded SQLite storage and the Redis protocol.
It replaces unmaintained, single-node SSDB for Kite’s bursty workloads of multi-kilobyte to multi-megabyte JSON preferences. Per-shard writers, batched transactions, concurrent readers, zstd compression, TTLs, and Redis Cluster routing provide horizontal scaling and single-digit-millisecond latency. In benchmarks, 16 shards delivered 25,324 HSET operations per second, while production p99 latency across three nodes remains about 2 ms.
This guide covers essential Postgres management for startups, emphasizing iterative schema design, performance-oriented querying with indices, and effective connection management.
It covers intermediate topics like the query planner, query optimization with EXPLAIN ANALYZE, balancing autovacuum settings to prevent bloat, and advanced strategies such as partitioning and FOR UPDATE SKIP LOCKED to ensure production reliability.
The author argues that SQLite should adopt a versioned 'editions' system similar to Rust.
Currently, SQLite’s default settings—such as disabled foreign key constraints, loose type affinity, and lack of busy-timeouts—often lead to bugs and poor performance. An edition-based approach would allow for modernizing global defaults while maintaining backward compatibility.
The surge in demand for High-Bandwidth Memory (HBM) in AI data centers has created a severe global memory shortage.
As memory manufacturers prioritize lucrative HBM over standard DRAM for smartphones and PCs, consumer electronics prices are spiking. This supply squeeze threatens the affordability of entry-level smartphones, reversing decades of technological democratization for the world's poorest populations.
Context Mode is an MCP server and plugin suite for AI coding agents that reduces context consumption by sandboxing tool output, encouraging code-based analysis, and indexing data in SQLite FTS5 for BM25 retrieval.
It preserves session memory across compaction and routes tool usage across 17 platforms through hooks, plugins, and configuration adapters.
This article explores unconventional optimization techniques for PostgreSQL to improve performance and reduce storage costs.
Key strategies include using constraint_exclusion to skip unnecessary table scans, leveraging function-based indexes on virtual generated columns for lower cardinality data, and enforcing uniqueness on large values using exclusion constraints with Hash indexes.
DuckDB is a rapidly adopted, high-performance, in-process analytical SQL database designed for efficiency.
Unlike server-based engines, it runs within the client application, avoiding network and serialization overhead. This analysis details its front-end architecture—covering parsing, binding, cost-based optimization, physical planning, and storage layer—explaining how it enables lightning-fast queries on formats like Parquet, CSV, and internal binary files.
pg_durable is a PostgreSQL extension that enables durable, fault-tolerant workflow execution directly within the database.
By using a SQL-native DSL for checkpointing steps, it eliminates the need for external queues, workers, or cron jobs, allowing developers to build robust data and AI pipelines with automatic recovery from system failures and crashes.
This article challenges the 'use the right tool for the right job' mantra that often leads developers to manage multiple specialized databases (Elasticsearch, Pinecone, Redis, etc.).
Such sprawl creates technical debt, complex security models, and high operational costs. Instead, the author advocates for using PostgreSQL as a unified platform. Innovations like pgvector (vector search), TimeScaleDB (time-series), and pg_textsearch (BM25 search) allow Postgres to match specialized tools' performance using similar algorithms. This simplification is especially critical in the AI era, where maintaining consistent data for agents is easier within a single, atomic environment. The post concludes that 99% of companies can achieve their goals with Postgres alone, reducing architecture fragmentation and potential failure points.
Codex is causing excessive disk write volume, estimated at 640 TB/year, due to verbose SQLite feedback logs set to TRACE level.
This significantly impacts SSD longevity. The issue stems from default logging of high-frequency dependency events and telemetry. Proposed fixes include filtering TRACE logs, capping log size, and better managing payload storage to reduce I/O.
In this technical narrative, Leónidas Neftalí González Campos recounts a significant optimization challenge involving a REST API built with C# and the ABP framework.
The issue centered on a 'Users list' endpoint that appeared to crash but was actually just extremely inefficient, taking over five minutes to complete bulk operations. The root cause was a '2-year-old hotfix' where developers used a foreach loop to await individual database inserts one by one. By bypassing the outdated ABP repository and directly implementing Entity Framework Core's AddRange and SaveChangesAsync methods, the author reduced execution time from five minutes to 300 milliseconds. The story highlights the dangers of technical debt and a 'feature factory' management culture that prioritizes speed over quality, emphasizing that significant gains often come from removing suboptimal practices rather than complex innovations.
Email validation is fraught with legacy issues and misconceptions.
Instead of relying on complex, unreliable regex that often breaks valid cases like international characters, subaddressing, or unique domain formats, prioritize verification. Simply send a verification email to confirm the address is functional and owned by the user, while implementing case-insensitive storage for consistency.