Recommended for cache management settings for 100,000 users



  • Hi our company is a ISP provider and I'm using lusca cache what is your recommended for cache management settings for 100,000 users

    Here our specs for the server

    Intel(R) Xeon(R) CPU X3430 @ 2.40GHz



  • i dont think you will have enough resources to proxy 100k users with what you have

    in my experience however you should avoid caching to harddisks … this slows down the browsing experience for the clients.
    in other words, only cache in ram.



  • Not sure if the CPU will be the bottleneck if there ist just caching and not filtering (squidguard/dansguardian).

    More important will be how much RAM do you have and if you have much disk space then you need much RAM to index all cache entries on the HDD and you need very fast HDDs to serve the data fast enough to the clients.

    And it depends on the bandwidth your WAN side has.

    Probably the better way would be to split the users to different squid proxy servers to do a loadbalancing.


  • Banned

    Cache it on SSD and you will be fine. Its IOPS thats important here and CPU.



  • @heper:

    i dont think you will have enough resources to proxy 100k users with what you have

    in my experience however you should avoid caching to harddisks … this slows down the browsing experience for the clients.
    in other words, only cache in ram.

    in just case i need higher ram then how i can set only cache on the ram?

    jhayvee



  • Set HDD cache size to 0. I think this is described below the option if I remember correct.
    Further you can set the minimum and maximum file size for files to be cached on HDD. So in theory you could increase the minimum file size to lets say 4MB so it will only cache some bigger files on HDD and not the many little 10kb webpage pictures.

    But I am not an expert on such a big squid cache environment.


Log in to reply