What do you do when you have a high traffic site?

by r0dvan
9 replies
Hello guys, I have a high traffic site which is having constantly problems with the hosting, it is in Wordpress and I have a Laravel version.
The wordpress tolerates more traffic since it is inside the grid of Mediatemple, so they balance the traffic, but either with mediatemple is getting 503 and Error in Database connection when it reacches the 2.5k live visitors.
It might be the database that I shall migrate to AWS RDS?

But in Laravel is the same, I managed to tolerate more traffic caching the site and using AWS ElasticCache service on redis. But even with that my DigitalOcean server of 1 GB RAM crashes, only with 800 live visitors.
How can I handle that issue?
#high #site #traffic
  • Profile picture of the author XSV1
    Try using a CDN service for the images. Which caching plugin did you use? Also, you should disable any plugins you don't need.
    {{ DiscussionBoard.errors[10821735].message }}
    • Profile picture of the author r0dvan
      Originally Posted by XSV1 View Post

      Try using a CDN service for the images. Which caching plugin did you use? Also, you should disable any plugins you don't need.
      Mediatemple doesnt allow caching plugins. And for CDN I was using MaxCDN. But that didnt helped well enought. Servers were keep going down.
      Signature
      LeadGen.tools - Lead Generation Search Engine from any Network and many useful tools. FREE trial.
      {{ DiscussionBoard.errors[10821814].message }}
      • Profile picture of the author Hatuko
        Originally Posted by r0dvan View Post

        Mediatemple doesnt allow caching plugins
        Ouch! I would switch to another provider right away. Also, do you know if at least they use something like APC for the PHP code? If not, that might be one more reason why the site can't keep up with the traffic. As already suggested CloudFlare might help but in your case I would strongly recommend a VPS.
        {{ DiscussionBoard.errors[10870140].message }}
  • Profile picture of the author 6hourcreative
    Have you tried CloudFlare?
    {{ DiscussionBoard.errors[10821825].message }}
  • Profile picture of the author Nathan K
    Try using varnish if it does not help I think you only option would be to scale horizontally or vertically.
    {{ DiscussionBoard.errors[10822040].message }}
  • Profile picture of the author element121
    CloudFlare is good and free, CDN and caching
    {{ DiscussionBoard.errors[10822928].message }}
  • Profile picture of the author robomedia
    Can you paste your website URL ? Taking a look into page source could show some hints.
    Cache whatever you can and move all resources you can to CDNs .
    You need to find your bottleneck and work there.
    {{ DiscussionBoard.errors[10823714].message }}
  • Profile picture of the author Sandakelum
    You should move your site to a VPS with optimized configurations. May be try Nginx as your web server. Its way more faster than Apache. This might come handy for you,
    https://tjosm.com/product/wordpress-installation-vps/
    {{ DiscussionBoard.errors[10831500].message }}
  • Profile picture of the author blackli0n
    Go get a $10 or $20 VPS at DigitalOcean or Linode. Get NGINX if you can manage a server by yourself. Activate caching and there you go.
    Signature
    wpjohnny.com - Make Money with Wordpress
    Passive income since 2007. Trying to consistently crack 5-figures/month. find what you love - dream big - work hard
    {{ DiscussionBoard.errors[10890182].message }}

Trending Topics