Manage server throughput for large downloads


Manage server throughput for large downloads

Initially I want to explore the solutions to implement Servlet/OutputStream with limited throughput in order to limit single download to some bandwidth.

It looks to be a perfect article which describe the way to distribute/manage server resources for large downloads.

http://nurkiewicz.blogspot.com/2011/03/tenfold-increase-in-server-throughput.html
It help to address a lot of issues, like:

  • some clients might be more privileged, having bigger or no limit at all,
  • some might be black listed, resulting in connection rejection or very low throughput
  • banning IPs, requiring authentication, cookie/user agent verification, etc.
  • we might try to correlate concurrent requests coming from the same client and use the same bucket for all of them to avoid cheating by opening several connections. We might also reject subsequent connections
  • and much more…
Advertisements

https://www.facebook.com/achorniy

Tagged with: , , , , ,
Posted in Software Development, Tips and Tricks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: