LogoDirectory
Logo of trickle

trickle

Trickle is a lightweight, transparent SOCKS proxy designed for bandwidth management on Linux and macOS.

Introduction

Overview

Trickle is a network bandwidth limiter that uses the SOCKS proxy protocol to control the upload and download rates of individual applications. Unlike system-wide traffic shaping tools, Trickle works at the application level without requiring root privileges or kernel modifications, making it a flexible and user-friendly solution for managing network resources on a per-process basis.

Key Features
  • Application-Level Control: Limits bandwidth only for specific applications you configure, leaving other network traffic unaffected.
  • No Root Required: Operates in userspace, so you can run it without superuser permissions, which is ideal for shared systems or environments with strict security policies.
  • Simple Integration: Works by setting environment variables to intercept network calls, requiring no changes to the application binaries.
  • Dynamic Configuration: Bandwidth limits (upload and download) can be adjusted in real-time.
  • Cross-Platform Support: Primarily developed for Linux and macOS systems.
Common Use Cases
  • Limiting Bandwidth-Hungry Applications: Throttle downloads from tools like wget, curl, or torrent clients to prevent them from consuming all available bandwidth.
  • Gaming & Streaming: Reduce lag by limiting background updates or downloads that interfere with real-time online gaming or video streaming.
  • Development & Testing: Simulate different network conditions (e.g., slow connections) to test how applications perform under bandwidth constraints.
  • Fair Share on Shared Networks: Ensure a single process or user doesn't monopolize the network connection on a shared server or home network.
Example Usage

To limit an application like wget to 100KB/s download and 20KB/s upload, you would use:

trickle -d 100 -u 20 wget http://example.com/large-file.zip

Information

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates