Cache questions...

Discussion in 'Site & Server Administration' started by bmhrules, May 21, 2008.

  1. #1
    I run a site that gets well over 1 million impressions a day, or 60K+ impressions an hour. I was looking into caching mechanisms and decided to simply write the cache to a Ramdisk that was software based and have it served from it. This increased performance quite a bit and the site is lightning fast. Now, I hate relying on software drivers to do work for me as they can crash quite a bit, and don't always support everything you want to do with it. So my questions to you:

    Would it be a good idea to plug in a 16GB Voyager USB Flash drive and serve the cache (generated html) off of this instead?

    Would placing 250K thumbnail files and having all the users read off this drive along with the cached html files cause bottlenecks on the drive itself?

    How would you go about this?

    I understand that a USB drive has low seek, but I do not know if it can handle thousands of requests and hour and not die on me within months. I'm wishing that the current RamDisk solution I've been using didn't crash my IIS server when using over 4GB. I think it has to do with the NTFS requirement, not sure. The coder is debugging it.

    Anyway, suggestions as of what could be used for low latency, fast, stable and constantly read from devices would be great.

    Windows Server 2003 x64 Enterprise Edition
    Dual Quad Core Xeon 5320 @ 2.33Ghz, 1333FSB
    12GB of RAM, Max of 24GB
    500GB OS drive, (2) 150GB raptors, (3) 750 Seagates.
     
    bmhrules, May 21, 2008 IP
  2. cmanns

    cmanns Peon

    Messages:
    62
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think it'd be better to cache stuff in the ram, why cache html just use dynamic pages
     
    cmanns, May 21, 2008 IP
  3. bmhrules

    bmhrules Peon

    Messages:
    109
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    We cache the files as HTML because of the mysql load being introduced if we don't. The pages viewed are not different from user to user, making them dynamic would be rather pointless? (Is this what you meant?)
     
    bmhrules, May 21, 2008 IP
  4. cmanns

    cmanns Peon

    Messages:
    62
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I see, i thought squid was usefull for that.
     
    cmanns, May 21, 2008 IP
  5. lkj

    lkj Peon

    Messages:
    729
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Cache data in memory as some users previously suggested. Memory is inexpensive these days - add more to your server and you will do fine.
     
    lkj, May 30, 2008 IP