Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Helium

Helium is a modern commercial VPN SaaS system built with Rust, focusing on scalability, security, and user-friendliness.

Features

  • Kubernetes/docker native: stateless, horizontally scalable, and easy to deploy.
  • High security: no shell execution, no deserialize vulnerabilities, and no SQL injection.
  • Pluggable frontend: full functioned grpc API, and easy to build your own frontend.
  • Lightweight: Minimal to 40MB memory usage per service. Can handle 1000+ requests per second on a single 1-core CPU server.
  • Advanced Selling System: easy to handle complex business strategy, suitable for billions of users.

Tech Stack

  • Rust: Memory-safe systems programming with C-level performance
  • gRPC + Tonic: High-performance API with type-safe contracts
  • PostgreSQL + SQLx: Reliable database with compile-time query validation
  • Redis: Fast in-memory caching and session storage
  • AMQP: Reliable message queuing for microservices
  • Tokio: Async runtime for handling thousands of concurrent connections

Key Advantages:

  • Microservices architecture with independent scaling
  • Container-native design for Kubernetes deployment
  • Memory safety eliminates entire classes of security vulnerabilities
  • Exceptional performance: 1000+ RPS on single-core CPU with 40MB memory usage