Comment by matthewaveryusa

Comment by matthewaveryusa 18 hours ago

33 replies

The only caveat being this assumes all your data can fit on a single machine, and all your processing can fit on one machine. You can get a a u-24tb1.112xlarge with 448 vcores, 24TB RAM for 255/hour and attach 64TB of EBS -- that's a lot of runway.

tuhgdetzhh 18 hours ago

Or rent a bare-metal machine from hetzner with 2-3x performance per core and 90% less costs[1].

[1] Various HN posts regarding Hetzner vs AWS in terms of costs and perf.

  • tetha 17 hours ago

    In my experience, a decently managed database scales very hard.

    3x EX44 running Patroni + PostgreSQL would give you 64GB of working memory, at least 512 GB NVMe of dataset (configurable with more for a one-time fee) at HA + 1 maintenance node. Practically speaking, that would have carried the first 5 - 10 years of production at the company I work at with ease, for 120 Euros hardware cost/month + a decent sysadmin.

    I also know quite a few companies who toss 3-4x 20k - 30k at DELL every few years to get a database cluster on-prem so that database performance ceases to be a problem (unless the application has bad queries).

  • cortesoft 12 hours ago

    There are no Hetzner servers that have 24TBs of RAM

  • ethanwillis 16 hours ago

    This might be true in terms of direct monetary costs.

    I want to like Hetzner but the bureaucratic paper process of interacting with them and continuing to interact with them is just... awful.

    Not that the other clouds don't also have their own insane bureaucracies so I guess it's a wash.

    I'm just saying, I want a provider that leaves me alone and lets me just throw money at them to do so.

    Otherwise, I think I'd rather simply deploy my own oversized server in a colo even with the insanely overpriced hardware prices currently.

    edit: And shortly after writing this comment I see: "Microsoft won't let me pay a $24 bill, blocking thousands in Azure spending" https://news.ycombinator.com/item?id=46124930

    • rixed 4 hours ago

      Yes there is some bureaucratic paper churn to deal with them, but it's a one time cost. I did it once probably more than 10 years ago. Since then, login to the website takes me <10s (with OTP) every couple of days and then finding what I'm looking for in the web UI or the API doc is usualy just 3 or 4 clicks away (their website is a bit messy).

      Compare that with AWS, where login is slow and unreliable (anyone else got an error message after every login and has to refresh to get in?), the website is a giant mess collapsing under its own weight, and slow like it's still running websphere.

      Over the last 10 years, I've certainly lost way more time working through aws paperless bureaucracy than complying with Hetzner paper bureaucracy. And I'm not even using aws for that long.

    • earthnail 16 hours ago

      Can you elaborate on what the bureaucracy is you experienced? I'm a Hetzner customer since last month and so far I thoroughly enjoy it. Have not encountered any bureaucracy yet.

      • ethanwillis 14 hours ago

        I think I was still being a bit too harsh even after throwing into my comment that other providers aren't perfect either.

        But basically after the initial paperwork I had some issues with my account getting flagged even though I wasn't using it 99.999% of the time. It's not a huge deal for me because I wasn't trying them out for anything serious. I just questioned how often that might happen if I was actually using it seriously and what kind of headaches it could cause me while re-verifying everything with them.

        From people I know if everything is going good then their service is great. Server performance is good, pricing is good, etc.

        • vachina 11 hours ago

          You’re renting an entire infrastructure, I think a bit of KYC is reasonable.

          I had more trouble onboarding AWS SES, with a process that felt more like me begging. With which I said fuck it and went with self hosting ever since (on a bare metal server no less)

      • wesammikhail 13 hours ago

        I was asked for a passport photo when I tried to open an account. They literally asked for a passport photo immediately after the signup form. Like WHAT? I couldn't believe my eyes. The most insane shit I've ever seen.

    • aquariusDue 11 hours ago

      It's weird seeing people on HN complain about this aspect regarding Hetzner because it's the complete opposite of my experience. Two years I've rented a dedicated server for around 40 euros monthly from Hetzner as a business customer and I had no issues whatsoever. They didn't ask for a business license or personal ID or anything really, I provided a VAT ID along with a business name and address but it wasn't anything extra compared to what I also provided Migadu or Porkbun for example.

      I suppose they might have more KYC procedures for personal accounts based outside the EU otherwise I have no clue.

      • whatevermom3 5 hours ago

        Same, Hetzner has always been very flexible with me when it comes to practically anything. It's always been humans answering my queries, with of course various quality but overall quite good especially for the price. I gave them some VAT number to get reduced prices at some point and that was it :shrug:

      • vidarh 3 hours ago

        Used them for more than 10 years. There was a one off, straightforward process of providing some details back then, and then nothing more.

      • gip 10 hours ago

        I'm based in the US and I tried twice to create an account for Hetzner (a personal account as well as a company / startup account). They rejected all my attempts. I don't quite understand their business model :)

        • johnthescott 10 hours ago

          similar experience, as well. not sure what's going on with hetzner.

    • superze 8 hours ago

      I love their pricing and the simplicity, but they don't give the impression of being highly skilled. They have zero managed services, not even managed K8. Their s3 (very mature tech at this point) is utterly garbage even one year after their launch.

      Then the bureaucracy you mention which is just a reflection how they work internally as well.

    • Nextgrid 16 hours ago

      > I want a provider that leaves me alone and lets me just throw money at them to do so.

      That’s been my experience with Hetzner.

      A lot of people get butthurt that a business dares to verify who they’re dealing with as to filter out the worst of the worst (budget providers always attract those), but as long as you don’t mind the reasonable requirement to verify your ID/passport they’re hands-off beyond that.

      • ethanwillis 14 hours ago

        That's fair and I don't have any major issues with that.

        I guess my concern on the bureaucracy is if you are unlucky enough to get flagged as a false positive it can be an annoying experience. And I can't really blame them too hard for having to operate that way in an environment of bad actors.

        You're definitely right that the budget providers do attract the types of people trying to do bad things/exploit them in some way.

  • [removed] 17 hours ago
    [deleted]
adityaathalye 17 hours ago

Heh, the documentation calls out the limits. Maximum (theoretical) DB size is 281TB: https://sqlite.org/limits.html

> This particular upper bound is untested since the developers do not have access to hardware capable of reaching this limit.

> However, tests do verify that SQLite behaves correctly and sanely when a database reaches the maximum file size of the underlying filesystem (which is usually much less than the maximum theoretical database size) and when a database is unable to grow due to disk space exhaustion.

DenisM 18 hours ago

Scale-up solves a lot of problems for stable workloads. But elasticity is poor, so you either live with overprovisinoed capacity (multiples, not percentages) or fail under spiky load which often time is the most valuable moment (viral traffic, Black Friday, etc).

No one has solved this problem. Scale out is typically more elastic, at least for reads.

  • kragen 17 hours ago

    That's a good point, but when one laptop can do 102545 transactions per second, overprovisioned capacity is kind of a more reasonable thing to use than back when you needed an Amdahl mainframe to hit 100 transactions per second.

    • DenisM 15 hours ago

      As compute becomes cheaper your argument becomes more and more true.

      But it only works if workloads remain fixed. If workloads grow at similar rates you’re back to the same problem.

      • kragen 15 hours ago

        Well, it doesn't work for the newly added workloads. But for the most part we instead have the same workloads performed less efficiently.

  • CuriouslyC 15 hours ago

    I love hetzner for internal resources because they're not spikey. For external stuff I like to do co-processing, you can load balance to cloudflare/aws/gcp services like containers/Run/App Runner/etc.

  • masterj 14 hours ago

    I suspect that for a large number of orgs accepting over-provisioning would be significantly cheaper than the headcount required for a more sophisticated approach while allowing faster movement due to lower overall complexity

[removed] 18 hours ago
[deleted]
kiitos 16 hours ago

and that your application doesn't need to be resilient to host or network faults

embedding-shape 17 hours ago

> The only caveat being this assumes all your data can fit on a single machine

Does my data fit in RAM? https://yourdatafitsinram.net/

Not sure using EC2/AWS/Amazon is a good example here, if you're squeezing for large single-node performance you most certainly go for dedicated servers, or at least avoid vCPUs like a plague.

  • jandrese 17 hours ago

    That site is a bit questionable. I entered "64TB" as the answer and it was very happy to show me a bunch of servers that maxed out at 6 or 8TB. Even the one server that listed 64TB of RAM might be questionable since it's not leaving room for the OS or your applications. That said 64 TB is a gargantuan amount of data, so I'm not too worked up over it not fitting in RAM. Lord help you if you have a power outage and have to reload the data from disk.

  • paulddraper 15 hours ago

    How does 25 TiB fit in RAM when the max machine has 24 TB?