6 ms·
$50 PlanetScale Metal Is GA for Postgres
- skeptrune 11mo agoLet's gooooo! Incredible deal for indiehackers.
- samlambert 11mo agoReally excited for more people to get to use Metal. Let me know if you have any questions.
- whalesalad 11mo agoWhy is Metal not offered for single instance deploys? Our app does not need this kind of uptime. We would be happy with a node going down once in a while (no data loss, of course) with a little bit of downtime to save 66% on the cost of running 2 additional nodes that will never see action.
- samlambert 11mo agoIt's a durability thing, we need to make sure writes are replicated off to at least one node. There might be avenues to get Metal down to single node in the future.
- solatic 11mo agoI definitely think there are use-cases out there which are fine with daily backups. Not every use-case requires high availability or high durability. Even to take a case in point where durability is irrelevant - people building caches in Postgres (so as to only have one datastore / not need Redis as well). Not a big deal if the cache blows up - just force everyone to login again. Would love to see the vendor reduce complexity on their end and pass through the savings to the customer. edit: per your other reply re. using replication to handle resizing, maybe being upfront with customers about additional latency / downtime being necessary with single-node discounts, then for resizing you could break connections, take a backup, then restore the backup on a resized node?
- solatic 11mo agoDo such small caps on CPU/RAM mean that multiple customers are sharing the same server? Is there concern for noisy neighbors here, either IOPS or in case another customer's workload grows to take the full available storage on the NVMe? What kind of downtime would be needed to switch to a larger size?
- rcrowley 11mo agoWe've engineered in protections from noisy neighbors in both CPU and I/O usage and we do not over-commit resources. If your or another customer's workload grows and needs to size up we launch three whole new database servers of the appropriate size (whether that's more CPU+RAM, more storage, or both), restore the most recent backups there, catch up on replication, and then orchestrate changing the primary. Downtime when you resize typically amounts to needing to reconnect i.e. it's negligible.
- ngalstyan4 11mo agoSounds cool! Would be curious to know what the underlying aws ec2 instance is. Is each DB on a dedicated instance? If not, are there per-customer iops bounds?
- samlambert 11mo agothere aren't per customer IOPs limits but the CPU will be the bottleneck.
- rcrowley 11mo agoWe run on the same instance types the larger PlanetScale Metal sizes offer as whole instances. For Intel that's r6id, i4i, i7i, i3en, and i7ie. For ARM that's r8gd, i8g, and i8ge. (Right now, at least. AWS is always cookin' up new instance types.) Same story will soon be true for GCP.
- orliesaurus 11mo agoI'm stoked about this release too... From what I can tell, the 'Metal' offering runs on nodes with directly attached NVMe rather than network-attached storage. That means there isn't a per-customer IOPS cap – they actually market it as 'unlimited I/O' because you hit CPU before saturating the disk. The new $50 M-class clusters are essentially smaller versions of those nodes with adjustable CPU and RAM in AWS and GCP . RE: EC2 shapes, it's not a shared EBS volume but a dedicated instance with local storage. BUT you'll still want to monitor capacity since the storage doesn't autoscale. ALSO this pricing makes high-throughput Postgres accessible for indie projects, which is pretty neat.
- rcrowley 11mo agoCorrect you are. Just want to add that you don't necessarily need to invest in fancy disk-usage monitoring as we always display it in the app and we start emailing database owners at 60% full to make sure no one misses it.
- JoshGlazebrook 11mo ago> 'unlimited I/O' because you hit CPU before saturating the disk. So in the M-10 case, wouldn't this actually be somewhat misleading as I imagine hitting "1/8 vCPU" wouldn't be difficult at all?
- rcrowley 11mo agoYes, you can certainly use up your CPU allocation on an M-10 database (at which point we offer online resizing as large as you want to go, all the way up to 192 CPUs and 1.5TiB RAM). Even still, I've been able to coax more than 10,000 IOPS from an M-10. (Actually, out of dozens of M-10s colocated on the same hardware all hammering away.) You can get a lot more out of that CPU allocation with the fast I/O of a local NVMe drive than from the slow I/O of an EBS volume.
- orphea 11mo ago> $50 Looks like US only. Choosing Europe is +$10, Australia is +$20.
- deleted 11mo ago[deleted]
- anoojb 11mo agoPerhaps a naive question — but why would someone use a dedicated database provider and connect from another cloud provider's application service? ...as opposed to using the same provider's db + app service offering? Wouldn't this introduce additional latency among other issues?
- rcrowley 11mo agoPlanetScale operates databases in AWS and GCP. There's no network latency penalty for choosing PlanetScale if you're hosting your app in one of those cloud providers (and in one of the many regions we operate in).
- ShakataGaNai 11mo agoMore importantly, no bandwidth charge penalty. As leaving AWS isn't inexpensive.
- carlm42 11mo agoIt depends a bit on your cloud provider but some of them have an offering that doesn't always match your needs or their pricing might be much more expensive at equal performance.
- wrs 11mo agoI had the same latency concerns when I heard about this PaaS DB trend, but you’ll note that this runs in the AWS (soon GCP) region of your choice, so if you’re hosted there, it should be about the same latency as using their managed DB service. If you aren’t hosting the app in the same AWS/GCP region then I still have the same question.
- lab14 11mo ago> so if you’re hosted there, it should be about the same latency as using their managed DB service. yes and no. In my AWS account I can explicitly pick an AZ (us-east-2a, us-east-2b or us-east-2c) but Availability Zones are not consistent between AWS accounts. See https://docs.aws.amazon.com/ram/latest/userguide/working-with-az-ids.html https://docs.aws.amazon.com/ram/latest/userguide/working-wit...
- dodomodo 11mo agoIt might be slightly off topic but I have a hard time understanding the layout of the website on mobile, it's not clear what is clickable and what's not.
- samlambert 11mo agoThank you for the feedback.
- buster 11mo agoSounds amazing, but i would rather be able to run the database locally and use the same in dev as in production. Is this possible?
- Hawkenfall 11mo agoIt's just a hosted Postgres database, you could run this locally with Docker for example: https://hub.docker.com/_/postgres https://hub.docker.com/_/postgres
- rcrowley 11mo agoPlanetScale's Postgres offering is as close to plain-old-Postgres as we could possibly build.
- unbelievably 11mo ago$50 bucks gets you an EIGHTH of a vCPU, 1GB RAM, and 10GB SSD??? This is quite frankly highway robbery. Not to mention the laughable bandwidth. Hetzner will give you 16 vCPU, 32GB RAM, and 640GB SSD for less than that. We're talking over an order of magnitude difference in value here.
- carlm42 11mo agoOn Hetzner you will be on the hook for managing the database though, and DBA is most certainly a full-time job if you have a serious use-case for it.
- unbelievably 11mo agoConsidering they are charging an unfathomable $4529/mo for 256 GB databases, extrapolating that to a serious use case you can indeed just hire someone full-time with how much you'd save. And then you'll actually have someone who understands how databases work instead of treating it like an expensive black box. edit: my bad that's the price for 256GB RAM.
- tempest_ 11mo agoCloud databases have been pricey for a while. The reality most databases are tiny as shit and most apps can tolerate the massive latency that the cloud provider dbs offer. It is why it is sorta funny we are rediscovering non network attached storage is faster.
- carlm42 11mo agoYeah per your edit that'd be for 256GB RAM which puts that into serious dollar category. For comparison I checked what AWS asks for for the same spec and that'd be $4616/month (for a db.m8gd.16xlarge), and that doesn't even yield you an actual NVMe. You can of course build the same for cheaper on Hetzner but again then you're on the hook also for the operations of the thing, which at that size is possibly non-trivial.
- solatic 11mo ago
- vivzkestrel 11mo agohow does this compare to an RDS offering?
- rcrowley 11mo agoThis will be faster than an equivalent RDS instance and will handle more of the operational lifecycle around failover and high-availability with less downtime than RDS.
- taw1285 11mo agoFor the less experienced devs, how should I be thinking about choosing between this vs Amazon Aurora?
- samlambert 11mo agoIt will be faster and a lot easier to use than Aurora.
- mikkelam 11mo agoThey have a very nice comparison in terms of performance and price https://planetscale.com/benchmarks/aurora https://planetscale.com/benchmarks/aurora
- mjb 11mo agoI don't think either is a bad choice, but Aurora has some advantages if you're not a DB expert. Starting with Aurora Serverless: - Aurora storage scales with your needs, meaning that you don't need to worry about running out of space as your data grows. - Aurora will auto-scale CPU and memory based on the needs of your application, within the bounds you set. It does this without any downtime, or even dropping connections. You don't have to worry about choosing the right CPU and memory up-front, and for most applications you can simply adjust your limits as you go. This is great for applications that are growing over time, or for applications with daily or weekly cycles of usage. The other Aurora option is Aurora DSQL. The advantages of picking DSQL are: - A generous free tier to get you going with development. - Scale-to-zero and scale-up, on storage, CPU, and memory. If you aren't sending any traffic to your database it costs you nothing (except storage), and you can scale up to millions of transactions per second with no changes. - No infrastructure to configure or manage, no updates, no thinking about replicas, etc. You don't have to understand CPU or memory ratios, think about software versions, think about primaries and secondaries, or any of that stuff. High availability, scaling of reads and writes, patching, etc is all built-in.
- everfrustrated 11mo agoDoesnt "Metal" infer you get the whole box to yourself? Curious if my definitions are different to others here because I don't get what's "Metal" about sharing an instance with others. You're still sharing nvme IO, cpu, memory bandwidth, etc. Not having a VM isn't really the point. (EDIT: and could have been done with non-metal aws instances with direct-attached nvme anyway)
- rcrowley 11mo agoWithin PlanetScale's product lineup, Metal refers to the use of local NVMe drives. Nothing more. These extremely affordable sizes are indeed slices of larger boxen, though no resources are overcommitted.
- bsnnkv 11mo agoI also think this naming is misleading - there is a very clear association with "bare metal", which is not what is being offered here
- bigTMZfan 11mo agoWill these smaller instances be offered for Vitess / MySQL compatible users?
- rcrowley 11mo agoSoon!
- Onavo 11mo agoSo what happens if you get a nvme failure? Is there automatic failover and restore? How does cross data center nodes work?
- rcrowley 11mo agoThese are all three-node clusters with PlanetScale's management handling backup, restore, failover, and replication.
- wackget 11mo agoIf anyone from Planetscale is reading this, please know I hate what you did to your website. I previously had it bookmarked as an example of excellent, usable website design. About a year ago it turned into a plaintext nightmare. The first time I saw the new design I genuinely thought that a CSS file had failed to load in my browser. It's awful. *Edit:* It also fails to load other pages if you have JavaScript or XHR disabled.
- samdoesnothing 11mo agoDesign is subjective of course. I love their new website and much prefer it to the old one.
- heliumtera 11mo agoCan you provide an example of a website you approve?
- mesmertech 11mo agoWas curious what it looks like now, and yea, not a fan of the fake hacker "we don't do CSS or styling". But then again maybe I was just used to their old design
- HatchedLake721 11mo agoSame. Love PlanetScale, love their previous website design. I struggle reading white text on black backgrounds, so I don't even try to read their product pages or blog posts since there's no light mode :( yes I know about reader mode It feels it went from "professional Stripe level design that you admire and it inspires you" to just "hard to read black website", not sure what for. (not fully functional) https://web.archive.org/web/20240811142248/https://planetscale.com/ https://web.archive.org/web/20240811142248/https://planetsca...
- dukepiki 11mo agoThere's definitely a light mode for planetscale.com (the docs, the blog, the changelog, and the UI). Should work on both desktop and mobile. Make sure your browser is requesting light mode. The browser doesn't always follow your OS-level preferences.
- boundlessdreamz 11mo agoOff-topic: when will postgres 18 be offered on metal?
- wessorh 11mo agoI haven't read HN for a while, this appears to just be an advertisement, did the rules change and advertisements for new products are promoted like product placement in movies? asking for a friend that liked this space
- ksec 11mo agoIt is a product / feature announcement. Much like blog post talking about their products or AWS announcing new features at their summit. Apple Announcing new MacBook Pro.
- deleted 11mo ago[deleted]
- fosterfriends 11mo agoPlanetscale support has been top-notch to work with, ++. Keep up the great work y'all!
- croemer 11mo ago$60/TB of egress is quite a lot
- buremba 11mo agobut at least you get a fraction of CPU and 1GB memory.