Skip to content

Multi-Instance Transport Mode #8

@crazydi4mond

Description

@crazydi4mond

Multi-Instance Transport Mode

Depends on: #7 (Single Transport Mode)

Summary

Run multiple transport instances with gost load balancing for higher aggregate bandwidth.

Motivation: Single DNS tunnel has limited bandwidth. Multiple instances can aggregate throughput by distributing connections.

Design

Architecture:

App → gost (load balancer) → Transport Instance 1 → DNS Proxy → Server
                           → Transport Instance 2 → DNS Proxy → Server
                           → Transport Instance N → DNS Proxy → Server

gost features used:

  • Selector - distribute connections across instances
  • Failure detection - remove dead instances from pool

Configuration:

  • Number of instances
  • Can mix transport types (e.g., 2x Slipstream + 1x DNSTT)
  • Per-instance server config if connecting to different servers

CLI:

dnstc start --instances 3 --transport slipstream --domain t.example.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions