Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I run a small website, the offered services are basics : webmail, wiki, a small Drupal CMS. All with low volume, low frequency and only few clients as myself, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    136

    Squid proxy : when does it worth ?


    Hello,

    I run a small website, the offered services are basics : webmail, wiki, a small Drupal CMS.
    All with low volume, low frequency and only few clients as myself, but also some members of my family for their few emails per day.

    Will Squid give benefits in a such environment ?
    At which level of activity or volume is Squid considered as a best practice ?
    Other recommended proxy than Squid ?

    Thanks for your advice.

    Notes :
    Products are Apache, Horde Webmail with Postfix + dovecot, wiki is Dokuwiki, Drupal CMS, MySQL.
    OS is Debian Lenny (a VPS at a web hosting company).
    Hardware is 2gb (512mb guaranteed), disk is 40gb (with 5% currently used).

    Bye,
    Bruno

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    squid is probably the de facto proxy to use, so I wouldn't look for an alternative.

    That said, offering a proxy to users not on your network might not be the greatest idea. The reason I say that is all their internet requests are going to have to go through your proxy. too many of those connections and you would kill your bandwidth.

  3. #3
    Linux Newbie
    Join Date
    Dec 2008
    Location
    Luxembourg
    Posts
    136
    jledhead, sorry but you're confusing me : as far I understood a proxy should save bandwidth (as one of its main goal), no ? But you mentioned the reverse result. Could you go deeper in explanations please ?
    Thanks. Sorry if I'm confused.

    Note: indeed all requests to my website are going thru internet as my VPS server is hosted in a web hosting company.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    a proxy doesn't magically save bandwidth. squid can be setup to cache, but thats not what you asked.

    What I was saying was if you have your squid server at your vps, with limited bandwidth, and then you start giving it out to friends and family, all of the traffic you have them hitting the proxy for will be taking your vps bandwidth. For example, a friend you configured to hit the proxy opens their web browser and goes to download a debian cd. they browse on the internet as normal and then click download to get the cd. That traffic is all going from debian servers ---your proxy---friends machine. and setting squid up in caching mode would not have fixed that. caching mode means the first person to hit google through your proxy would trigger the google logo to get cached, now the next person to hit google through your proxy would get the google logo from your cache and not from google. they are still using your bandwidth though.

    I never said it wouldn't work, just that if I was paying for hosting and paying for bandwidth, I would not waste it on a proxy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •