Page 1 of 30 123411 ... LastLast
Results 1 to 25 of 740
  1. #1
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262

    * UNIXY.NET: The First cPanel Varnish Add-on / Script

    Varnish and cPanel

    UNIXy is please to announce the beta release of the first Varnish cPanel script. You can read about it all here: http://www.unixy.net/varnish

    Cheers!
    Joe / UNIXY
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  2. #2
    Nice
    I think it's time to do some testing.

    The benchmark result there was actually performed by you??
    Also, are there any minimum requirements for this script?
    Find solution to every problem ---> Google.com

  3. #3
    Join Date
    Feb 2008
    Posts
    334
    Well, those benchmark results look pretty good. I will for sure need to test Varnish in one of our servers. Congratulations for your work.
    WebTuga Hosting - Portuguese Shared, Virtual and Dedicated Web Hosting
    CloudFire WebHosting - European Low Cost Cloud WebHosting

  4. #4
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    Hi Fastian,

    Quote Originally Posted by Fastian View Post
    Nice
    I think it's time to do some testing.

    The benchmark result there was actually performed by you??
    Correct.

    Quote Originally Posted by Fastian View Post
    Also, are there any minimum requirements for this script?
    The script itself coexists with cPanel and shares resources available to cPanel.

    Varnish on the other hand lets the OS manage memory. In other words, if Varnish finds available RAM in the system it will happily cache objects. Varnish will not be able to address more than 2GB of memory on 32-bit systems (known limitation for all scripts).

    64-bit Varnish does not have such limitation. It can leverage all available RAM to cache objects. by default, the script installs the 64-bit version if the system supports it.

    Best Regards
    Joe / UNIXY
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  5. #5
    Join Date
    Oct 2007
    Posts
    4,332
    Can this work with LiteSpeed + CloudLinux or will it only work with Apache + CentOS?

  6. #6
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    Quote Originally Posted by JLHC View Post
    Can this work with LiteSpeed + CloudLinux or will it only work with Apache + CentOS?
    Short answer is no. Longer answer, it's only been tested on CentOS+Apache. I recall reading somewhere that LSTech was getting ready to release its own caching layer for LSWS.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  7. #7
    Join Date
    Jun 2001
    Location
    Princeton
    Posts
    1,029
    Across how many virtual hosts, distinct URLs was it tested?

    Do I understand it right that it is catching proxy?
    Will it catch any dynamic content or just static? Does it use headers to figure out if it can catch dynamic content?
    Also, what kind of memory footprint does it have, and how does it relate to number of sites/amount of content being catched.

    Any additional info on benchmarks would be very interesting, like if you were hitting same url/different URLs, if it was static URL that you were hitting, or some kind of php/cgi., etc..
    Igor Seletskiy
    CEO @ Cloud Linux Inc
    http://www.cloudlinux.com
    CloudLinux -- The OS that can make your Shared Hosting stable

  8. #8
    Join Date
    Oct 2004
    Posts
    632
    looks interestnig and will sign up for trial espcially like the part that oes not touch current apache+cpanel, which might reduce many tboules!

  9. #9
    I signed up but am waiting for approval

    This doesn't release till next week?
    *~ Shared,Reseller, and Cloud VPS Provider ~*
    *~ Check out our site at 24Khost.com ~*
    *~ Birchtreelane Gifts, Antiques, Books, Collectibles Birchtreelane.com ~*

  10. #10
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    Quote Originally Posted by Peter-SZ View Post
    looks interestnig and will sign up for trial espcially like the part that oes not touch current apache+cpanel, which might reduce many tboules!
    That's definitely one of the advantages over running Nginx+cPanel where it pretty much smears cPanel with pre/post domain/subdomain hooks.

    Best
    Joe / UNIXY
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  11. #11
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    Quote Originally Posted by sosolabs View Post
    I signed up but am waiting for approval

    This doesn't release till next week?
    Hi there,

    The first batch of the beta release for new signups is scheduled early next week. If you absolutely need it this week, drop me a line and I'll see what I can do.

    Cheers,
    Joe / UNIXY
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  12. #12
    Join Date
    Feb 2004
    Posts
    768
    Do you have any recommended specs for systems that use this plugin? Can you give a little more detail on how this works? Pretty neat plugin, I hope to be able to use it down the road.

  13. #13
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    Quote Originally Posted by iseletsk View Post
    Across how many virtual hosts, distinct URLs was it tested?
    Hi Iseletsk,

    Sorry, I must have missed your post. vhosts are not a limitation for this configuration if that's what you're asking.

    Do I understand it right that it is catching proxy?
    Correct

    Will it catch any dynamic content or just static? Does it use headers to figure out if it can catch dynamic content?
    Also, what kind of memory footprint does it have, and how does it relate to number of sites/amount of content being catched.
    Correct on all counts but the script has much more advanced caching features so it's not limited to caching static object but dynamic objects too. That's how it beats Nginx in some aspects.

    Any additional info on benchmarks would be very interesting, like if you were hitting same url/different URLs, if it was static URL that you were hitting, or some kind of php/cgi., etc..
    The benchmark was done last year. Here's a link: http://www.unixy.net/apache-vs-litespeed

    Here's an interesting quote from a Drupal developers/testers:

    Yes, though Boost with nginx serves pages much faster than Boost with Apache-prefork+mod_php, on the order of 400% faster, approaching Varnish speeds and without the memory issues. (I never tested Apache-worker+php-cgi so I can't speak to speed.)

    Still Varnish beat out nginx by about 18% in my personal quick and dirty testing. Off the top of my head, and without looking up my numbers, it was:

    Boost with Apache-prefork: about 500 req/s;
    Boost with Nginx: about 2000 req/s; and
    Varnish: about 2400 req/s.
    It's faster than Nginx (18% faster) but the other advantage is that you have no hooks dependency and vhost overhead.

    Regards
    Joe / UNIXY
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  14. #14
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    Quote Originally Posted by RU-Adam View Post
    Do you have any recommended specs for systems that use this plugin? Can you give a little more detail on how this works? Pretty neat plugin, I hope to be able to use it down the road.
    I highly recommend a 64-bit system over 32-bit. The reason being swap space (not just memory) is limited to 2GB on 32-bit. Varnish manages memory well and leverages the kernel for all core memory management tasks.

    Varnish doesn't consume much CPU but memory is key. Essentially, its memory consumption is proportional to the traffic your portal receives. But it won't just crash should it not be able to allocate memory. it will keep on flushing objects and make room for recently queried object. And by object, that can be a static file or a page - it doesn't matter.

    Regards

    Regards
    Joe / UNIXY
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  15. #15
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,956
    Looks great Joe. We will be sure to give it a try as well.
    AYKsolutions.com - High Bandwidth Specialists - 10Gbps/20Gbps+ Unmetered & DDOS Protected
    Over 20+ Global Locations - Asia (Hong Kong, Singapore, Tokyo), Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    We are Professional. Painless. Polite.

  16. #16
    Quote Originally Posted by UNIXy View Post
    Varnish and cPanel

    UNIXy is please to announce the beta release of the first Varnish cPanel script. You can read about it all here: http://www.unixy.net/varnish

    Cheers!
    Joe / UNIXY
    I see you accepted the advice to highlight the difference in scales of the two graphs. Good idea because some readers will have missed that. Now they see that varnish has an even bigger advantage over LSWS. But, it seems that the graphics have gone fuzzy as compared to the originals. Maybe you could fix that.

    Varnish has been around for a number of years and features an excellent design. Like nginx, the project benefits from the fact that the biggest user employs the key developers. They get paid to concentrate on that one piece of code.
    edgedirector.com
    managed dns global failover and load balance (gslb)
    exactstate.com
    uptime report for webhostingtalk.com

  17. #17
    Quote Originally Posted by UNIXy View Post
    I highly recommend a 64-bit system over 32-bit. The reason being swap space (not just memory) is limited to 2GB on 32-bit. Varnish manages memory well and leverages the kernel for all core memory management tasks.
    One of the key design features of varnish is the decision to use memory mapped disk. It slides stuff in and out of the memory mapped windows as required. It will consume ram, but the memory mapping helps it to keep stuff nearby if it is under memory pressure.
    edgedirector.com
    managed dns global failover and load balance (gslb)
    exactstate.com
    uptime report for webhostingtalk.com

  18. #18
    Join Date
    Jun 2001
    Location
    Princeton
    Posts
    1,029
    Quote Originally Posted by plumsauce View Post
    Varnish has been around for a number of years and features an excellent design. Like nginx, the project benefits from the fact that the biggest user employs the key developers. They get paid to concentrate on that one piece of code.
    Thanks! I didn't realize it was existing/well known tech (well, not well know to me):
    http://www.varnish-cache.org/

    Very cool. Joe -- plugin looks great!
    Igor Seletskiy
    CEO @ Cloud Linux Inc
    http://www.cloudlinux.com
    CloudLinux -- The OS that can make your Shared Hosting stable

  19. #19
    Join Date
    Apr 2000
    Location
    Brisbane, Australia
    Posts
    2,602
    Quote Originally Posted by UNIXy View Post
    Short answer is no. Longer answer, it's only been tested on CentOS+Apache. I recall reading somewhere that LSTech was getting ready to release its own caching layer for LSWS.

    Regards
    Actually litespeed cache already exists just not much documentation i think. Been benchmarking litespeed cache along with nginx, apache/varnish etc for specific php scripts usage i.e. vbulletin and wordpress so definitely interested to see how cpanel varnish of yours handles vbulletin/wordpress and other specific php scripts especially handling their cookies in varnish vcl file.
    : CentminMod.com Nginx Installer Nginx 1.25, PHP-FPM, MariaDB 10 CentOS (AlmaLinux/Rocky testing)
    : Centmin Mod Latest Beta Nginx HTTP/2 HTTPS & HTTP/3 QUIC HTTPS supports TLS 1.3 via OpenSSL 1.1.1/3.0/3.1 or BoringSSL or QuicTLS OpenSSL
    : Nginx & PHP-FPM Benchmarks: Centmin Mod vs EasyEngine vs Webinoly vs VestaCP vs OneInStack

  20. #20
    i have been sign up for trial account but until now still pending status
    i registeryertedday

  21. #21
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    Quote Originally Posted by plumsauce View Post
    I see you accepted the advice to highlight the difference in scales of the two graphs.
    Yes, thanks!

    Good idea because some readers will have missed that. Now they see that varnish has an even bigger advantage over LSWS. But, it seems that the graphics have gone fuzzy as compared to the originals. Maybe you could fix that.
    Hmm... What browser / platform are you using?

    Thanks!
    Joe
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  22. #22
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    Quote Originally Posted by pureheart View Post
    i have been sign up for trial account but until now still pending status
    i registeryertedday
    We're rolling the app this coming week. Expect an email announcement on this.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

  23. #23
    Join Date
    Dec 2003
    Posts
    507
    Can not send PM, because your PM inbox is full.
    Need to ask question.

    Thanks
    --- No signature for now ---

  24. #24
    Join Date
    Mar 2009
    Location
    Austin, TX
    Posts
    935
    ARAH! Where is the like button?!?!?

    Great job done Joe!
    SysAdmin.xyz
    Having severs with customer data on it without proper monitoring is like having one night stand without using protections - eventually, there will be an 'oh s**t!' moment.

  25. #25
    Join Date
    Jun 2008
    Location
    San Diego, CA
    Posts
    604
    So how is performance on a shared server with say 1000 or 5000 different sites?

    Litespeed has always been great for the shared hosts out there, but I was under the impression that Varnish only worked well if you were running 1-2 sites.
    Brent Presley - brent@innoscale.net
    Innovative Scaling Technologies Inc. - Enterprise Cloud Hosting and Support
    24/7 Dedicated Support, Call us @ 1-888-722-8515
    www.innoscale.net - Ashburn - Dallas - Seattle - Santa Clara - Chicago - Amsterdam

Page 1 of 30 123411 ... LastLast

Similar Threads

  1. Replies: 0
    Last Post: 10-03-2010, 03:37 PM
  2. Add software/script to CPanel
    By linux-engineer in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 07-08-2009, 08:35 AM
  3. Script to add Addon Domains to cPanel
    By jdk in forum Hosting Software and Control Panels
    Replies: 5
    Last Post: 02-15-2007, 04:37 PM
  4. Replies: 1
    Last Post: 05-29-2005, 05:01 PM
  5. PHP script to add accounts to WHM/CPanel
    By giantstep in forum Hosting Software and Control Panels
    Replies: 4
    Last Post: 12-26-2002, 01:30 PM

Tags for this Thread

Posting Permissions

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