Skip to content

Technical Documentation

This directory contains detailed technical documentation for R-VPN developers and advanced users.

Architecture & Design

  • Proxy Architecture - Bidirectional proxy implementation details
  • How the server handles concurrent connections
  • Target reader task design
  • Connection lifecycle management
  • Status: IMPLEMENTED

  • Ratchet Reimplementation - Double Ratchet algorithm details

  • Chain key synchronization
  • DH ratchet step implementation
  • Message key derivation
  • Status: IMPLEMENTED with SplitRatchet for concurrent access

Performance Optimizations

  • Performance Optimization - Performance improvement roadmap
  • Phase 1: SplitRatchet for concurrent access
  • Phase 2: Buffer size optimizations
  • Phase 3: Client reconnection logic
  • Phase 4: Binary protocol migration
  • Status: MOSTLY IMPLEMENTED

  • Binary Protocol - Binary protocol specification

  • Message format definitions
  • Size comparisons with JSON
  • Migration strategy
  • Status: IMPLEMENTED in rvpn-core/src/protocol/

See Also