Limit Number of Concurrent Connections when Downloading Attachments
There are times when a member use a freaking download accelerator/manager programs that connects to some attachment at least 4 times so that he will receive the file at a faster transfer rate. Also most of those programs will allow to add all the attachment links in a post easily, so when they download them all at once, it really causes huge server load with so many connections from the same person. I was wondering if anyone can write a hack/edits that will maybe limit number of connections for an attachment based on IP or any methods that can limit connections. The connectoin limit can be change in admincp (im just throwing in ideas). Maybe a feature that detects if that person is already downloading another attachment and that there is a rule that allows you to only download attachments one at a time. If someone pick up on this, it will surely help me an other boards that may suffer the same problem. Thanks!
This is not a simple solution. This is usually accomplished by routing the download request to another server with some form of packet shaping, and/or software utilizing deep packet inspection techniques (See.. OSI layer 7). This subject matter probably exceeds the scope of the board here. If you have no idea what I am talking about, then find a hosting/cloud service that can handle this for you.