TopGunAlpha
Get Started
Concepts
OverviewLocal-FirstCRDTs & TimeSync ProtocolData Structures
Guides
Reference
Get Started
Concepts
OverviewLocal-FirstCRDTs & TimeSync ProtocolData Structures
Guides
Reference
DocsConcepts

Core Concepts

TopGun is built on a foundation of distributed systems theory. Understanding these concepts will help you design better local-first applications.

Local-First Architecture

Learn why inverting the client-server model leads to faster, more reliable apps. The client is the replica.

Read more

CRDTs & Hybrid Logical Clocks

How we guarantee eventual consistency and order events across devices without a central clock.

Read more

Sync Protocol

A deep dive into Merkle Trees, WebSockets, and how TopGun synchronizes data efficiently.

Read more

Data Structures

Understanding LWW-Map (Last-Write-Wins) and OR-Map (Observed-Remove) for different use cases.

Read more
Edit this page on GitHub

© 2025 TopGun Inc. Documentation licensed under CC BY 4.0.