Results 1 to 20 of 20
-
11-08-2010, 04:42 PM #1Junior Guru Wannabe
- Join Date
- Oct 2010
- Posts
- 85
BW controling in dedicated servers
Hello i have a famous website
i use 3 until 5 TB bound width per day
how can i decrease it and control it
any one can help me ?
-
11-08-2010, 05:30 PM #2Web Hosting Master
- Join Date
- Oct 2005
- Location
- United States
- Posts
- 1,405
What is your website about? If it's famous and big then you would expect it uses a lot of bandwidth.
Tommy Tran - tommy @ vinax.net ::: VINAX, LLC ::: http://vinax.net ::: Since 2004
Premium Dedicated Servers and Colocation in downtown Chicago (350 E. Cermak Rd)
Premium Bandwidth, 100% Network & Power Uptime SLA, 24/7 Prompt Tech Support
-
11-08-2010, 05:43 PM #3Web Hosting Master
- Join Date
- May 2008
- Posts
- 858
I would be happy if it uses that much, 3-5 TB a day.
Anyway, you could change some settings in the Apache configuration (or whatever webserver you use) to automatically compress JS and CSS files before they're sent to users - this would save some bandwidth if you have a lot of viewers.
You could use gzip compression to send the output of the websites compressed, but this increases CPU usage on the server - not by much usually.
You can further optimize the websites setting in Apache's configuration to automatically tell browsers that some images can be cached for a long time instead of the default of a few days - this way the pictures used in your website layout would be downloaded less often.
With 3-5TB of bandwidth used daily I would expect quite a lot of profit from advertising. I'd consider moving some of the larger files (downloads, pictures) to a secondary server with a lot of bandwidth - for example 100tb.com offers servers with 100 TB of bandwidth as low as 140$ a month.
There are Apache modules that can also configure a limit of how fast can a file be sent to users - this could be used for example so that files over 50-100 MB will be limited at 100 KB/s or a low value and smaller files at normal speed. This way instead of getting very irregular bandwidth peaks, you could make the output smoother on average.
If you could mention the website then maybe we could give you more help
-
11-09-2010, 12:34 PM #4Temporarily Suspended
- Join Date
- Oct 2010
- Location
- Montreal, Canada
- Posts
- 96
-
11-09-2010, 12:41 PM #5Aspiring Evangelist
- Join Date
- Aug 2007
- Posts
- 352
That's a ton of bandwidth. Sounds like torrents or other grey area site to me
Make sure pages shipped are compressed.
Move images and static content to a CDN.
Use webpagetest.org to optimize your pages.
-
11-09-2010, 01:18 PM #6Junior Guru
- Join Date
- Sep 2010
- Location
- Dallas, TX
- Posts
- 234
3 to 5 TB is a lot of bandwidth for a single site. Can you tell us what kind of files you are serving? If it's audio/video streams, you might consider lowering the bitrate a little.
-
11-09-2010, 01:29 PM #7Web Hosting Master
- Join Date
- Mar 2009
- Posts
- 2,222
-
11-09-2010, 05:46 PM #8Web Hosting Master
- Join Date
- Feb 2003
- Location
- Kuala Lumpur, Malaysia
- Posts
- 4,980
if you're using apache, you may want to look at http://code.google.com/speed/page-sp.../overview.html
-
11-10-2010, 02:46 PM #9Junior Guru Wannabe
- Join Date
- Oct 2010
- Posts
- 85
i have a video and music website
i am a server administrator a have a webhosting in iran but i work with iweb and i need more than 100 TB bw that i web can not give it to me.
im in iran and 100tb.com dont supported iranians
i have one way
controlling my bw i want to increase it without decrease my website viewers
can any one help for this
thanks for answering
-
11-10-2010, 02:50 PM #10Web Hosting Master
- Join Date
- Feb 2003
- Location
- Kuala Lumpur, Malaysia
- Posts
- 4,980
Maybe you need to reduce the quality of the content?
-
11-10-2010, 02:53 PM #11Closed Account
- Join Date
- Sep 2003
- Location
- Amsterdam, NL
- Posts
- 642
You can always look in the offers section for an unmetered bandwidth offer that will fulfill your requirements. With an unmetered port, you would pay a fixed monthly fee, no matter how much capacity was utilized, which might work for your situation. You would need to review whether your bandwidth is basically a steady stream or whether it has sharp peaks at certain small periods. If it sharp peaks for relatively short periods of time during the month, a good 95th percentile billing solution, might be appropriate.
-
11-10-2010, 03:13 PM #12Web Hosting Master
- Join Date
- Feb 2003
- Location
- Kuala Lumpur, Malaysia
- Posts
- 4,980
EU might be better for Iran. Bandwidth is pretty competitive too.
-
11-10-2010, 03:39 PM #13Junior Guru Wannabe
- Join Date
- Oct 2010
- Posts
- 85
-
11-10-2010, 05:56 PM #14Web Hosting Master
- Join Date
- May 2008
- Posts
- 858
There are companies in Europe that can provide deals close to what 100tb.com can provide in US.
For example there's net100tb.com, which I believe is in the same datacenter with Leaseweb, so you're assured the bandwidth is good.
There's also 100tb.eu, which is owned by dediserv.eu, also in Netherlands - not sure what datacenter...
I don't think there are restrictions against Iranian people in EU.
Leaseweb would also be good for you, but I believe the bandwidth costs would be higher than on the two other companies mentioned above, depending on what type of bandwidth you choose.
Leaseweb above (employee of company with the same name) gives a pretty good advice. You should look at how your bandwidth is consumed now.
You're saying you're using 3-5 TB a day, which would be about 300 mbps throughout the month, if each minute the server sends the same amount of data out.
In this case, you could get one of these servers on Leaseweb, with 500 mbps unmetered bandwidth: http://www.leaseweb.com/en/dedicated...figurator/1107
But, if throughout the day, the output is about 100-150 mbps and then for an hour you maybe broadcast a show or update the site and people start downloading the file that moment at close to 1gbps, then maybe you would be better with 95 percentile bandwidth, which means that for about 37 hours a month, you can go up to 1-2 gbps and it's not counted, but for the rest of the month you must be careful to have your server stay below a certain output speed.
So in this example, with average 150mbps out of the server throughout the day and peaking for up to an hour each day to 1gbps, you could get a server with 250mbps 95 percentile, which can be about 200 euro cheaper:
http://www.leaseweb.com/en/dedicated...figurator/1113 (change from 100mbps 95 percentile to 250 in the configuration)
or you can get a better configuration at the same price you'd get the one with 500 mbps unmetered:
http://www.leaseweb.com/en/dedicated...figurator/1114
You could also self impose yourself some limits, for example by using mod_bwlimited in Apache or other modules/plugins in other servers, which let's you specify a maximum speed each user can get from your server. So, if you know you have on average 200 people downloading from you, with speeds in total from 200 mbps to 500 mbps, you can limit each person to 1 mbps (120 KB/s) so that the maximum server output is around 200 mbps, and you'll be within 250 mbps 95 percentile plans. You could even set lower limits based on file types... if they download or stream a MP3 file that's at best 320 kbps then you could limit the output for each mp3 download to 0.5 mbps (around 50 KB/s).
Compressing video and audio to lower bitrate could also be a good idea, for example changing from MP3 128kbps to AAC 80 kbps shouldn't be noticeable to users if you're streaming the music to them.Last edited by mariushm; 11-10-2010 at 06:02 PM.
-
11-10-2010, 06:03 PM #15Temporarily Suspended
- Join Date
- Oct 2010
- Location
- Montreal, Canada
- Posts
- 96
-
11-10-2010, 06:04 PM #16VPS Like a Boss!
- Join Date
- Jul 2009
- Location
- New Zealand
- Posts
- 2,331
i think you can buy from their reseller who are not based in the USA.
QuickWeb™ -We Host Servers Like a Boss!
New Zealand - USA - UK - Germany Virtual Servers
Worldwide hosting provider with proven 24x7 and 25-Minute Support!
www.quickweb.co.nz
-
11-10-2010, 07:04 PM #17Web Hosting Guru
- Join Date
- Aug 2005
- Posts
- 281
Configure Traffic Control in the Linux kernel
http://linux.die.net/man/8/tc
This command limit my connect at 50Mbps
Code:/sbin/tc qdisc add dev eth0 root tbf rate 50mbit burst 5mbit latency 70ms peakrate 50mbit minburst 1540
-
11-11-2010, 01:57 AM #18Junior Guru Wannabe
- Join Date
- Oct 2010
- Posts
- 85
thanks every one
dear mariushm can you tell me more about mod_bwlimited ?
-
11-11-2010, 06:02 AM #19Web Hosting Master
- Join Date
- May 2008
- Posts
- 858
It's an Apache module that's distributed with Cpanel and made by Cpanel's programmers. CPanel costs money, but the module itself is free, but you'd have to compile it yourself. I didn't use it personally.
There is an alternative that also seems to be much more documented, called mod_bw : http://bwmod.sourceforge.net
Looks like it works with Apache 2.0.54 (should work with 2.0.xx)
and here's a nice tutorial about it: http://www.directadmin.com/forum/showthread.php?t=14782
also this could also be helpful: http://www.whoopis.com/howtos/web-bandwidth-limit.html
-
11-15-2010, 03:01 PM #20Junior Guru Wannabe
- Join Date
- Oct 2010
- Posts
- 85
thanks every one for answer to my questions
in easy apache in Cpanel i install mod_bw
is this for limiting ?
Similar Threads
-
Controling exim
By shasho in forum Hosting Security and TechnologyReplies: 1Last Post: 03-27-2007, 12:36 PM -
Hosting:Dedicated Servers:VPS Dedicated Servers:Reseller:Ventrilo Voice Servers plans
By a1wh in forum VPS Hosting OffersReplies: 2Last Post: 03-09-2006, 10:34 AM -
Hosting:Dedicated Servers:VPS Dedicated Servers:Reseller:Ventrilo Voice Servers plans
By a1wh in forum Shared Hosting OffersReplies: 0Last Post: 03-08-2006, 04:08 PM -
Problem controling heights in a HTML table
By fozzy in forum Programming DiscussionReplies: 4Last Post: 03-01-2005, 03:06 PM -
switch: SNMP + Bandwidth Controling ?
By matt_01 in forum Colocation, Data Centers, IP Space and NetworksReplies: 11Last Post: 12-06-2004, 06:30 AM