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.
PlanetScale has launched Neki in platform preview, a sharded Postgres service that scales across machines while retaining real Postgres on every shard.
Its router preserves standard drivers and ORMs; built-in topology, pooling, failover, online schema changes, upgrades, imports, and resharding simplify operations. It supports unsharded deployment, but preview users should avoid production workloads.
Meta has developed Vistara, a custom CXL chip and software solution, to repurpose older RAM in modern servers.
By decoupling memory from traditional channels, this innovation allows Meta to utilize decommissioned DIMMs without sacrificing performance, addressing rising memory costs and supply chain constraints in their hyperscale data centers.
The author argues that Yjs and CRDTs are often unnecessary and overly complex for most collaborative editors.
Instead, they propose a simpler, high-performance approach based on a centralized authority model using ProseMirror, which avoids the latency, performance, and schema-validation issues typical of complex P2P algorithms while meeting modern UX requirements like offline support.
Moongate v2 is a modern Ultima Online server project built with .
NET 10, prioritizing a clean, modular architecture and NativeAOT compatibility. It features deterministic game-loops, Lua scripting, and a sector-based world streaming strategy. The project emphasizes performance benchmarks, specialized packet tooling, and thread-safe networking to provide a maintainable foundation for high-concurrency shards.
Neki validates its sharded Postgres behavior by treating vanilla Postgres as an oracle: identical queries, data, and protocol interactions must produce identical results or errors.
Differential tests explore plan variants created by changing statistics, planners, sharding topologies, and simple/extended text/binary protocols. Across about 9,800 workload queries, a recent CI run executed 37,000 variants; this exposed real correctness bugs, including incorrect volatile CTE evaluation, while fuzzing found over 70 more bugs.
Petsem: Sometimes Dead Is Better
Backend · Cybersecurity · DevOps · Distributed Systems · Software Architecture
Fly.io built Petsem as a partial Vault replacement for customer secret reads, using multi-region read replicas and accepting stale values to reduce boot-time secret retrieval p99 from 10 seconds to 300ms.
Macaroons and third-party discharge tokens ensure workers can access only secrets for apps deployed on them, limiting host compromises and logging denied reads. Migration began in March 2024, and Petsem became authoritative in July 2025. Fly KMS performs cryptographic operations without exposing secrets to apps.
Designing a reliable unplanned failover
Backend · Database · Distributed Systems · PostgreSQL · Software Architecture
Neki’s unplanned Postgres failover uses replica evidence rather than Admin’s health check alone.
It declares a primary dead only when reachable replicas report broken replication without contradiction, then disconnects them to prevent the old primary from returning and to freeze WAL positions. It promotes the replica with the highest received, preferably fully replayed, WAL, reconfigures the shard, and tears down the old primary. Synchronous `ANY 1` durability helps establish write unavailability, while TCP and WAL receiver timeouts detect silent or frozen failures.
Designing a planned switchover for minimum disruption
Backend · Database · Distributed Systems · PostgreSQL · Software Architecture
Neki minimizes planned Postgres primary switchovers by validating candidates beforehand, establishing a final WAL position, preserving synchronous replication, and buffering primary-bound queries.
Admin makes the old primary read-only, disconnects other replicas, waits for the target to replay all required WAL, prepares replication, and promotes it only when safety checks pass. Routers then replan buffered queries, so applications usually see delay rather than errors. A deadline enables rollback to the old primary, while acknowledged commits remain durable.
Shard design doesn't start from your tables
Backend · Database · Distributed Systems · PostgreSQL · Software Architecture
Neki shard-group design should start from query and transaction patterns, not table structure.
Tables sharing a key can be co-located across Postgres shards using a common shard index, keeping joins and transactions local and preserving full single-shard semantics. Reference tables are replicated to every shard, while differently keyed data can use separate groups. Global secondary indexes support lookups without shard keys. MoveTables and Reshard later change placement, shard keys, or shard counts as workloads evolve.
The bridge to agent-scale Git infrastructure
Backend · Distributed Systems · Git · GitHub · Software Architecture
GitHub changed Spokes’ write quorum from repository-wide to per-reference serialization, enabling the last 0.00001% of repositories to migrate to Azure despite 25 ms cross-region round trips.
Writes to independent branches can now proceed concurrently, delivering 3–4x higher throughput at lower latency in testing. GitHub also introduced a virtual write replica backed by Azure Blob Storage and ephemeral virtual read replicas, separating read scaling from write coordination while preserving durability. The next bottleneck is write throughput and ordering reference state.
Neki update: $50 Metal, read-only replicas, Azure, and more
Backend · Database · DevOps · Distributed Systems · PostgreSQL
Neki, PlanetScale’s sharded Postgres, added read-only replicas, Metal nodes starting at $50/month, Azure regions, and broader Terraform, CLI, MCP, and configuration support during its platform preview.
The query layer now supports more SQL, standard exports via COPY, and EXPLAIN (NEKI_PG_PLAN); distributed INSERT ... SELECT is 76x faster and COPY ingest 5x faster than launch. More than 650 changes have shipped, enabling evaluation for production workloads.
Neki implements PostgreSQL sequences in its sharded query planner by making sequence operations router-only and coordinating allocation through an authoritative shard.
Because nextval() is volatile, Neki must evaluate it once per output row, even when rows arrive from multiple shards, while stable expressions such as now() are evaluated once per statement. Shard-local joins and immutable expressions can still be pushed down. For UPDATE, Neki locks and streams row IDs to the router, then sends parameterized per-row updates with globally unique sequence values.
The article distinguishes between 'building an app' and 'engineering a system.'
AI significantly lowers the barrier to creating functional-looking prototypes (Code to Prototype), but it cannot automate the complex work of fighting entropy, ensuring security, scalability, and long-term reliability (Service to Institution) that defines professional software engineering.
Ink & Switch, an independent research lab, celebrates ten years with Tenfold, an interactive art piece built from its research.
The lab explores tools for thought through local-first, malleable software, Programmable Ink, and Universal Version Control. Its work includes collaborative projects such as Automerge and Allume, alongside research on data ownership, customization, versioning, and human-centered computing.
Suica evolved from Sony’s FeliCa experiments into Japan’s pioneering contactless transit and payment system.
Designed for battery-free, offline transactions under 200 milliseconds, it overcame resistance, infrastructure challenges, and severe usability problems before launching across Tokyo in 2001. Its technology later expanded nationwide, powered Mobile Suica, and influenced today’s transit payments while facing a gradual shift toward smartphone and credit-card alternatives.
OpenAI has successfully scaled its PostgreSQL infrastructure to support 800 million users and millions of queries per second for ChatGPT and its API.
Despite a 10x surge in load over the past year, OpenAI utilizes a single-primary architecture on Azure PostgreSQL with nearly 50 read replicas globally. The engineering team implemented extensive optimizations, including offloading read traffic to replicas, using PgBouncer for connection pooling, and employing cache locking to prevent read storms. To manage write-heavy workloads that challenge PostgreSQL's MVCC implementation, OpenAI migrated shardable data to Azure Cosmos DB. This strategy prioritizes operational stability, achieving 99.999% availability while maintaining low latency across distributed regions. Future plans include cascading replication and further migration of write-heavy workloads to specialized sharded systems.
This technical guide explains how individuals can operate their own Autonomous System (AS) and announce IPv6 prefixes on the public internet using FreeBSD and FRR.
The author details the process of obtaining an AS number and IPv6 prefix via a sponsoring LIR, configuring BGP peering with multiple upstreams, and using GRE/GIF tunnels for prefix distribution. A significant portion of the article focuses on advanced networking techniques, specifically dual-FIB policy routing and PF firewall rules to manage multiple IPv6 address spaces on a single server. The setup ensures that traffic from a personal BGP prefix and provider-assigned addresses can coexist without routing loops or spoofing issues. Key takeaways include the importance of MSS clamping for tunnels, bogon filtering for BGP security, and the use of the reply-to directive in PF to handle asymmetric routing.
This article advocates for a shift from centralized services to decentralized protocols to ensure privacy and circumvent censorship.
Services like Discord are vulnerable to government compliance and surveillance, whereas protocols like IRC, XMPP, and Matrix lack single entities to compel, making them resilient against regulatory pressure and account bans.
Telegram operates five data centers (DC1-DC5).
Accounts are assigned based on registration phone country codes. While DC1, DC2, DC4, and DC5 are active for registrations, DC3 no longer accepts new users, with most migrated to DC1. Misconceptions about DC activity arise from flawed detection methods, such as Web CDN-based bot analysis versus file-based or login-protocol verification.
This insightful article explores the inner workings of Oban-py, a Python implementation of the renowned Elixir background job processing library.
The author details how Oban-py leverages PostgreSQL features like FOR UPDATE SKIP LOCKED for concurrency, LISTEN/NOTIFY for real-time signaling, and UPSERT mechanisms for leader election. By centralizing coordination within the database, it eliminates the need for external brokers like Redis. The summary distinguishes between the Open Source version, which utilizes single-threaded asyncio, and the Pro version, which offers true parallelism, bulk operations, and sophisticated rescue heartbeats. Ultimately, it highlights the library's clean software architecture and its effectiveness as a reliable, database-backed solution for managing complex background tasks and job lifecycles in Python environments.