throttling bandwidth with thttpd using URL patterns

Thttpd, Web servers No Comments »

thttpd providers excellent and easy to set-up bandwidth throttling based on files, directories, file types or default web server bandwidth speed.

If you want to cap the default bandwidth of your thttpd server to 512Kbps you will need to add the following configuration line to your thttpd config file:

** 51200If exe download files are consuming too much of your upstream, consider limiting download speed for all executable files via:

**.exe 102400

The above configuration line limits all .exe file downloads to max of 1Mbps per second at any time.

You can also limit bandwidth speed on some specific directory, for example, if you are providing a trial file downloads and want to offer better speed for your paid members on the same server. Create a folder named /trial/ and set-up thttpd config file to include

trial/**  25600

The above setting will limit all files located under /trial/  account to have a maximum download speed of 256Kbps.

Perfect http daemon for large file serving

Thttpd 1 Comment »

We will soon perform some benchmarking with thttpd and large file serving, but I am confident that it will be one of the best.

Why? Because it’s FAST and I mean it…:

  • it doesn’t fork
  • perfect memory management
  • small runtime
  • implements http 1.1 protocol with minimum requirements
  • secure and robust

thttpd woes!

Thttpd No Comments »

Hey folks… I was just thinking to launch a dedicated section for thttpd daemon and this is the first post in the thread that will include a lot of config and manuals about this tiny and super fast http daemon!

thttpd homepage: http://www.acme.com/software/thttpd/

so stay tuned. more GOOD stuff is coming shortly :)

Kev

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in