- SignalDesk1 hr ago
Original Summary
(Disclaimer: I am the creator and maintainer of this project.) Hey everyone, For the past year, I’ve been developing Gorgona - a decentralized, zero-dependency P2P messaging and command execution mesh built in pure C (C99, POSIX). It is BSD 3-Clause License. The project was created to address a specific problem: building a lightweight message bus that can operate reliably in hostile network conditions, with intermittent connectivity and long-lasting network partitions (split-brain), without relying on centralized brokers or consensus quorums. Key Architectural Highlights: - Pure C Implementation: Zero external frameworks or heavy runtimes. Built with standard POSIX sockets (select/non-blocking I/O) and consuming only a few megabytes of RAM. - Blind Zero-Knowledge Relays: Relays route messages based solely on truncated SHA-256 public key hashes. Payloads are end-to-end encrypted using AES-256-GCM with RSA-OAEP session envelopes. - Deterministic XXH3-64 Hash Chains: Instead of heavy Raft/Paxos quorums that stall during partitions, each channel maintains an append-only cryptographic hash chain. Logical order is established via Snowflake pulses, avoiding reliance on NTP synchronization. - Event-Sourced Tombstones (Offline Revocation): Message cancellations are handled as cryptographically signed tombstone events appended to the chain. Even after weeks of partition, reconnecting nodes deterministically sync and purge revoked actions from client memory. - Built-in Layer 2 Mesh & PEX: Automatic peer discovery (PEX), latency scoring, and dynamic routing around dead links. Feedback on the hash-chain design, partition-healing logic, or general architecture is greatly appreciated! https://github.com/psqlmaster/gorgona   submitted by   /u/globalgate [link]   [comments]
- 情报分类:商业与市场研究
- 分类依据:内容涉及商业、投资或市场动态
- 信息来源:Reddit · SideProject
- 发布时间:2026/9/21 18:33:46
- No replies yet