Blog

Latest news, technical deep dives, and tutorials from the TopGun team.

TopGun Goes Serverless
Engineering Feb 07, 2026

TopGun Goes Serverless

WebSockets don't survive in serverless. TopGun v0.11.0 introduces a stateless HTTP sync protocol that brings CRDT synchronization to Vercel Edge, AWS Lambda, and Cloudflare Workers.

Ivan Kalashnik
Read more
Merkle Trees: How TopGun Syncs Only What Changed
Engineering Feb 5, 2026

Merkle Trees: How TopGun Syncs Only What Changed

Syncing a 100MB dataset shouldn't transfer 100MB. Here's how Merkle Trees let TopGun identify differences with a handful of hashes and transfer only the records that actually changed.

Ivan Kalashnik
Read more
From Local to Global: Real-Time Search Across Clusters
Release Jan 11, 2026

From Local to Global: Real-Time Search Across Clusters

Live subscriptions used to work only on the local node. TopGun v0.10.0 introduces distributed subscriptions that push updates from any cluster node to your client in real-time.

Ivan Kalashnik
Read more
Full-Text Search Goes Offline-First
Release Jan 04, 2026

Full-Text Search Goes Offline-First

Most search engines require a server. TopGun v0.8.0 brings BM25 relevance ranking to local-first apps with live subscriptions that update in real-time.

Ivan Kalashnik
Read more
Hybrid Logical Clocks: The Heart of Distributed Sync
Engineering Dec 30, 2025

Hybrid Logical Clocks: The Heart of Distributed Sync

Physical clocks lie. Network time drifts. Yet distributed systems need ordering. Here's how Hybrid Logical Clocks solve causality tracking in TopGun.

Ivan Kalashnik
Read more
How We Built Conflict Resolution Beyond LWW
Engineering Dec 26, 2025

How We Built Conflict Resolution Beyond LWW

Last-Write-Wins works for most cases, but fails spectacularly for booking systems and inventory. Here's how we designed Custom Conflict Resolvers for TopGun.

Ivan Kalashnik
Read more
Why We Abandoned Realtime Postgres for an In-Memory Grid
Engineering Dec 08, 2025

Why We Abandoned Realtime Postgres for an In-Memory Grid

We tried using PostgreSQL logical replication for TopGun v2. Here is why it failed our realtime requirements and why we pivoted to an in-memory architecture.

Ivan Kalashnik
Read more
Introducing TopGun v2 Alpha
Release Dec 08, 2025

Introducing TopGun v2 Alpha

From a Gun.js port to a high-performance in-memory data grid. The story of why we rewrote TopGun from scratch.

Ivan Kalashnik
Read more
Understanding CRDTs in TopGun
Engineering Oct 28, 2025

Understanding CRDTs in TopGun

Conflict-free Replicated Data Types are the magic behind offline-first sync. Here's how TopGun uses them to merge changes without conflicts.

Ivan Kalashnik
Read more