Have anyone tried sharded PostgreSQL on TierHive?

It offers great value and the fact that you can choose the exact cpu and ram you get per server is incredibly valuable for different types of loads. But not sure about stability. Have anyone tried running a real sharded postgresql server either in one geographic location with read replicas or globally (horizontally)?

Comments

  • edited November 12

    Databases are the most critical part of your infra. Never run this on a 14 cent vm. There are some free postgress providers. Like neon, they know how to run this stable.

    ==============================================================
    Dbadude(database administrator since 2008) affiliate links: $3/y NAT VPS - $10/Y IPV4 VPS - $10/Y Torrents

  • I can't be the only one whose inner voice read that as, "sharted PostgreSQL" and giggled.

  • @dbadude said:
    Databases are the most critical part of your infra. Never run this on a 14 cent vm. There are some free postgress providers. Like neon, they know how to run this stable.

    I was thinking more of something like this, 2 GB RAM + 1.75 vCPU to psql, multiplied by 3 per region, 3 regions (eu, us, asia) for high availability. The status page is promising. But I'm just not quite sure.

    This setup would cost roughly ~$30 per month. If you were to use planetscale or something like that, this setup can easily cost $200+ with less than 1vCPU per psql node.

  • @pmasta what is your load?

  • @pmasta said:

    @dbadude said:
    Databases are the most critical part of your infra. Never run this on a 14 cent vm. There are some free postgress providers. Like neon, they know how to run this stable.

    I was thinking more of something like this, 2 GB RAM + 1.75 vCPU to psql, multiplied by 3 per region, 3 regions (eu, us, asia) for high availability. The status page is promising. But I'm just not quite sure.

    This setup would cost roughly ~$30 per month. If you were to use planetscale or something like that, this setup can easily cost $200+ with less than 1vCPU per psql node.

    i would select the nodes with an additional HDD next to nvme, as these hdd discs retain your data after a reinstall of your node. Very handy when you want to rebuild a server.

    ==============================================================
    Dbadude(database administrator since 2008) affiliate links: $3/y NAT VPS - $10/Y IPV4 VPS - $10/Y Torrents

  • @ehab said:
    @pmasta what is your load?

    200 sql statements/s peak, usually around 80 though. On an 8GB ovh vps, this consumes around 1gb memory.

  • AnthonySmithAnthonySmith AdministratorProviderOG

    It's an interesting idea; my advice would be to try it and see, but remember the whole point of TierHive is that it's cheap and hobby-grade. Build your own redundancy. If you are willing to do a fairly detailed guide/write up and details on your experience, positive or negative, I am happy to cover the first month of tokens or so for you to test it to remove any financial risk of trying.

    TierHive - Hourly VPS - NAT Native - /24 per customer - DE, UK, SG, CA x2, USA x5, FR x3, AU, PL, NL, JP, BR, ZA
    FREE tokens on sign up, try before you buy. | Static Hosting Free for life: https://tierhive.com/static-hosting/

  • @pmasta said:

    @ehab said:
    @pmasta what is your load?

    200 sql statements/s peak, usually around 80 though. On an 8GB ovh vps, this consumes around 1gb memory.

    best way to select one and load test it.... see if Ant throws pants at you.

  • I'll top up 3$ and try an automated, recipe based system on Debian with Patroni

  • @pmasta said:
    I'll top up 3$ and try an automated, recipe based system on Debian with Patroni

    lol, that is enough to run global cluster. No wonder dot com collapsed. Will ai be also this cheap in 2050?

    ==============================================================
    Dbadude(database administrator since 2008) affiliate links: $3/y NAT VPS - $10/Y IPV4 VPS - $10/Y Torrents

  • @dbadude said:

    @pmasta said:
    I'll top up 3$ and try an automated, recipe based system on Debian with Patroni

    lol, that is enough to run global cluster. No wonder dot com collapsed. Will ai be also this cheap in 2050?

    well it is enough on TH, at least for a couple of days. an equivalent setup i made at work, using ovh private cloud, costs almost a thousand bucks a month. albeit that is a much larger setup. that's why im hyped about TierHive.

  • AnthonySmithAnthonySmith AdministratorProviderOG

    @pmasta said:

    @dbadude said:

    @pmasta said:
    I'll top up 3$ and try an automated, recipe based system on Debian with Patroni

    lol, that is enough to run global cluster. No wonder dot com collapsed. Will ai be also this cheap in 2050?

    well it is enough on TH, at least for a couple of days. an equivalent setup i made at work, using ovh private cloud, costs almost a thousand bucks a month. albeit that is a much larger setup. that's why im hyped about TierHive.

    TCP Mode was just rolled out, might help with your cluster.

    TierHive - Hourly VPS - NAT Native - /24 per customer - DE, UK, SG, CA x2, USA x5, FR x3, AU, PL, NL, JP, BR, ZA
    FREE tokens on sign up, try before you buy. | Static Hosting Free for life: https://tierhive.com/static-hosting/

Sign In or Register to comment.