gzip effect on proxy

Discussion in 'Site & Server Administration' started by MrX, Mar 4, 2007.

  1. #1
    On my new proxy site, with no users, if I turn on gzip via php.ini (with zlib.output_compress_level set to 1), surfing through the proxy is extruciatingly slow. I'm using the PHProxy .5b2 script, with gzip turned off in the script itself. With gzip disabled in php.ini, everything is nice and smooth. Any ideas why that would be?
     
    MrX, Mar 4, 2007 IP
  2. SedNaX

    SedNaX Active Member

    Messages:
    1,326
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #2
    gzip lowers bandwidth usage but increases CPU resources
     
    SedNaX, Mar 4, 2007 IP
  3. MrX

    MrX Well-Known Member

    Messages:
    1,563
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    140
    #3
    I'm aware of that, but even on the lowest setting it's a death sentence (in my particular case.)
     
    MrX, Mar 4, 2007 IP
  4. SedNaX

    SedNaX Active Member

    Messages:
    1,326
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    90
    #4
    hmmm the difference shouldn't be to much with gzip turned on 1... I myself have it on 2 and it's just as fast as before.. and that's with traffic

    I don't know what the problem could be. If you give me the url i will test it for you :) maybe it's your computer
     
    SedNaX, Mar 4, 2007 IP
  5. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #5
    well, proxy is a resource consuming app, and the gzipping adds to the problem of already depleting and loaded system resources.

    have you tried zipping a large file while a game is running in the background on your PC ?
     
    agnivo007, Mar 5, 2007 IP