7
10 Comments

A good server to support 1,5M access month and 10k access simultaneusly

Hi Indie Hackers experts! I need to migrate a website from blogger to Wordpress. It have 1,5M access monthly and in some days 10k simultaneusly. Whats the better hosting service and cpu configuration recomended?

on April 30, 2020
  1. 1

    Ah the good ol' c10k problem (https://en.m.wikipedia.org/wiki/C10k_problem).

    Moving off of Blogger I imagine you weren't paying for traffic there, do you have a budget?

    @volkandkaya 's suggestion is a good one (and cheap!) if you can use one of the WordPress to static type plugins. Just make sure to setup Cloudfront in front of the S3 bucket to terminate TLS and cache everything. Here is good list of things to keep in mind if going the WordPress-to-static route:
    https://www.strattic.com/11-things-to-consider-wordpress-static-site-generator-plugin/

    Alternatively if the issues highlighted in the article above are a deal breaker (slow deployment of changes, etc). And if you have a fairly substantial budget (at least a hundred or two a month to be safe) you could serve the traffic and also use a CDN.

    Budget for static hosting: S3/GCS storage costs, traffic costs, CDN (cheap)

    Budget for hosting yourself: traffic costs, load balancer, excess hosting capacity for failover, managed database or larger host for that + backups, but hey at least CDN would be cheap!

    Let us know how it goes and feel free to reach out if you want to brainstorm more

    1. 2

      @dmw Thank you very much for the help. I didnt know that was a recurrent problem lol.
      I'll try these options and i'll let you know.

    2. 1

      Yep. Static site + Cloudflare Worker Sites. You pay like $1 for every million hits since it'll just be cached and CDN'd.

      1. 1

        Good Option too. I never have tried to convert a wordpress in a static site, but i think its a good way to get what i want.
        Thank you!

  2. 1

    I would look at hosting it as a static site on S3.

    Will be able to scale easily.

    That is some nice traffic thought :)

  3. 1

    I use serverpilot & digitalocean to run my wordpress blogs. The stack is very efficient. If you use caching + cloudflare you'll be able to handle this type of traffic if you have a powerful enough instance.

    1. 1

      Good! What in your opinion could be a powerful enough instance?

  4. 0

    Digital Ocean but make sure your server is NOT build with Ubuntu as your OS

    In this case use Centos 7 + nginx to run WordPress on it

    You will need some additional configuration in your WordPress to make it faster though, but I’d most definitely recommend DigitalOcean

    Also if you’re going to use an email service for Transactional emails, give Kingmailer.co a try

    1. 1

      Whats the problem with the Ubuntu OS?

      1. 1

        In general a good OS, but if you will ONLY use it as a server, I would not recommend, especially if you're going to handle too much traffic, unless you are prepared to do some hacking.

        IF your're only going to be using it as a server, than there are too many processes running, that you will never use, for this reason you may need more hardware (more $$$ spend on CPU and memory), to get the same great experience.

        So why not just use CentOS, which is already designed to handle load, and is NOT designed to be used as your everyday desktop OS, as is the case with Ubuntu (it's marketed as an alternative free OS to Windows)

        This is of course my own opinion and experience, you may have a different experience on this... my 2 cents