群鯨
All vessels
群鯨

Gungei

Gungei — The Whale Pod

Across open water, messages move like whale-song between distant companions, each traveler guiding the next until direction emerges without a captain.

active

A peer-to-peer communication system for ships traversing cold seas, where messages move in living formation across open waters. Built from scratch in Rust to orchestrate fleet-scale coordination across the open sea: Gossip protocols, Raft consensus, and mesh networking. Ships form a self-organizing mesh network across the ocean — they discover each other, share status updates, relay distress signals, and maintain awareness of their maritime neighbors — all without central infrastructure.

Technology

Rust Tokio Axum SQLx Ratatui

The Vessel

Ships form a self-organizing mesh network across the ocean. They discover each other, share status updates, relay distress signals, and maintain awareness of their maritime neighbors — all without central infrastructure.

Core Principles

  • No central server — fully decentralized, leaderless by default
  • Resilient to partitions — operates during network splits, heals automatically
  • Eventually consistent — uses Anti-Entropy to reconcile divergent state
  • Chaos-ready — tested with random failures, packet loss, and high latency
  • Single binary — ship node deploys anywhere
  • Observable — real-time topology visualization showing gossip propagation

Operational Capabilities

CapabilityEngine
Gossip ProtocolsSWIM-based failure detection + epidemic broadcast
ConsensusRaft leader election
Event SourcingSQLite append-only log with CQRS
Chaos EngineeringSimulation mode with network partitions
NAT TraversalUDP hole punching for mesh connectivity
Real-time SystemsWebSocket observers + TUI live updates
Back to all vessels