• gmhafiz@programming.dev
    link
    fedilink
    arrow-up
    59
    ·
    9 months ago

    1.2 million page views per month

    1,200,000 / 30 days / 24 hours / 60 minutes / 60 seconds is 0.46 requests per second.

    That is crazy low and is nothing to shout about. I notice people like to this in months to inflate the number to looks bigger. But calculating it down to RPS puts it to a perspective.

    So why not create a website out of really, really old technology?

    PHP 8.0 is no longer supported so I hope they update the “really, really old technology” to at least PHP 8.1 today.

      • myersguy@lemmy.simpl.website
        link
        fedilink
        arrow-up
        8
        ·
        9 months ago

        $10-20 is what that VPS costs at a cloud provider. You could also dockerize and use a container service like GCP Cloud Run combined with cloud storage within that budget.

        I’m not a big node guy, but I also kind of doubt nodejs would fail to handle 10RPS on 2gb of memory. I guess it all depends on what the requests are doing.

      • Deckweiss@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        9 months ago

        10-20$ ? I think it is way cheaper. I doubt they need a good CPU, some vcores will do.


        edit:

        Here is an 8GB 6vcore ARM VPS from a reputable German server host for 7€

        https://www.netcup.de/bestellen/produkt.php?produkt=3564

        Here is a 2GB 2vcore x86 for 3.25€

        https://www.netcup.de/bestellen/produkt.php?produkt=2948

        Not to mention - they have regular deals, where you can get them for a permanent 50% off (during black friday and winter sales) I have been paying 17€ per year for the 2GB version.

          • Deckweiss@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            9 months ago

            The netcup vps I have has a 100% uptime during the past 5 years. But no heavy use ofc, just wireguard

          • Kissaki@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            ·
            edit-2
            9 months ago

            I’ve been using netcup for a decade. They’re very reliable and high quality. (Management/Admin interface, functionality, help wiki. Never had reliability issues.)

            I’ve used other providers before. I’m very satisfied with netcup.

      • QuadriLiteral@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        Indeed. They say they’ve been repeatedly featured on the front page of HN and the site didn’t fall over, I’ve seen many examples that did.

    • Spectacle8011@lemmy.comfysnug.space
      link
      fedilink
      arrow-up
      1
      ·
      9 months ago

      PHP 8.0 is no longer supported so I hope they update the “really, really old technology” to at least PHP 8.1 today.

      Most likely. This blog was written in February 2022; support for PHP 8.0 was only dropped in November 2023.