Overview

View Source
Macula Logo

Macula HTTP/3 Mesh

Self-organizing distributed mesh for decentralized applications

License Erlang/OTP Hex.pm Buy Me A Coffee


Macula Architecture Overview

BEAM-Native • HTTP/3 (QUIC) • Kademlia DHT • NAT Traversal • Multi-Tenant • Platform Layer


Documentation


Latest Release: v0.14.0 (2025-12-01)

Masterless CRDT Architecture (v0.14.0):

  • ✅ Ra/Raft consensus removed - fully masterless operation
  • ✅ OR-Set CRDT for distributed membership
  • ✅ G-Counter and PN-Counter CRDTs for distributed counters
  • ✅ LWW-Register CRDT for eventually-consistent state

Hierarchical DHT with Bridge System (v0.13.0):

  • ✅ Fractal mesh hierarchy (Cluster → Street → City → Region)
  • ✅ Query escalation to parent levels on local cache miss
  • ✅ TTL-based caching with LRU eviction

NAT Traversal & Connectivity (v0.12.x):

  • ✅ Complete NAT traversal with hole-punching and relay fallback
  • ✅ Connection pooling with 94.5% hit rate
  • ✅ NATS-style async RPC with direct P2P delivery

Community


Built with ❤️ for the BEAM community