NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Bunny Database (bunny.net)
grugdev42 16 minutes ago [-]
Maybe I'm not the target market for this, but how hard is it REALLY to manage a RDBMS?

Any Linux distro can have MySQL or Postgres installed in less than five minutes and works out of the box

Even a single core VPS can handle lots of queries per second (assuming the tables are indexed properly and the queries aren't trash)

There are mature open source backup solutions which don't require DB downtime (also available in most package managers)

It's trivial to tune a DB using .conf files (there are even scripts that autotune for you!!!)

Your VPS provider will allow you to configure encryption at rest, firewall rules, and whole disk snapshots as well

And neither MySQL or Postgres ever seem to go down, they're super reliable and stable

Plus you have very stable costs each month

nicoburns 1 minutes ago [-]
I would have no concerns around reliability uptime running my own database.

I would have concerns around backups (ensuring that your backups are actually working, secure, and reliable seems like potentially time intensive ongoing work).

I also don't think I fully understand what is required in terms of security. Do I now have to keep track of CVEs, and work out what actions I need to in response to each one? You talk about firewall rules. I don't know what is required here either.

I'm sure it's not too hard to hire someone who does know how to do these things, but probably not for anything close to the $50/month or whatever it costs to run a hosted database.

arielcostas 7 minutes ago [-]
It's not about it being hard, it's about delegating. Many companies are a bit less sensitive to pricing and would rather pay monthly for someone else to keep their database up, rather than spending engineering hours on setting up a database, tuning it, updating it, checking its backups, monitoring it and making it scale if needed.

Sure, any regular SME can just install Postgres or MySQL without even setting much up except with `mysql_secure_install`, a user with a password and an 'app' database. But you may end up with 10-20 database installs you need to back up, patch and so on every once in a while. And companies value that.

wahnfrieden 13 minutes ago [-]
Look into the capabilities of what I consider the leading edge of open source RDBMS managed solutions, Yugabyte: https://www.yugabyte.com

And tell me how easily you can achieve this "out of the box"

If you don't care about business continuity or high availability then everything gets easier

> And neither MySQL or Postgres ever seem to go down, they're super reliable and stable

The box they're on goes down

senko 9 minutes ago [-]
> The box they're on goes down

So? Not everyone needs 99.999999% availability.

drmajormccheese 44 minutes ago [-]
This is not a database of bunnies
m4200 15 minutes ago [-]
Accurate, but missing required punctuation of at least 1 grawlix of length 4 and 2 interrobangs
sockaddr 44 minutes ago [-]
That's the only reason that I clicked.
bvogelzang 2 hours ago [-]
Pricing Details:

  While in public preview, Bunny Database is free.

  When idle, Bunny Database only incurs storage costs. One primary region is charged continuously, while read replicas only add storage costs when serving traffic (metered by the hour).

  Reads - $0.30 per billion rows
  Writes - $0.30 per million rows
  Storage - $0.10 per GB per active region (monthly)
wahnfrieden 11 minutes ago [-]
The best thing about their pricing is that you can prepay. So if you have a runaway cost, it can stop before you run up a 5 or 6 figure bill, unlike Azure/AWS/GCP/CF.
miyuru 3 minutes ago [-]
Their CDN has a minimum $1 charge.

I was testing IPv6 origin support (they don’t support it), and they billed me $2 for a couple of test requests. I was testing at the end of the month.

With other providers, this would have cost only a few cents.

1 hours ago [-]
mchusma 41 minutes ago [-]
I have used multiple s3 and cdn replacements, and bunny is my favorite. Excited to see a database product in the mix.
pier25 3 hours ago [-]
Pretty cool. I’ve been using Bunny as a Cloudflare replacement for a couple of years and my experience has been flawless.
jsheard 2 hours ago [-]
It does feel like they're spreading their resources pretty thin though, the S3-compatible interface for their file storage has been "coming soon" since 2022.
pier25 1 hours ago [-]
Yeah that's true. The lack of S3 compat hasn't been an issue for me personally but it would be nice to have it for their edge storage.
kilroy123 2 hours ago [-]
I, too, have the same worry.
cobertos 2 hours ago [-]
Huh, how? Did you have to modify your site a lot to do switch?

I tried to test it out as a CDN replacement for Cloudflare but the workflow was a lot different. Instead of just using DNS to put it in front of another website and proxy the requests (the "orange cloud" button), I had to upload all the assets to Bunny and then rewrite the URLs in my app. Was kind of a pain

pier25 1 hours ago [-]
They do have the CDN proxy too. Not sure when it was implemented though.

It's a similar process to Cloudflare. Point the NS to them and enable the proxy for a domain or subdomain.

jsheard 1 hours ago [-]
You can also create a standalone pull zone and point your existing DNS provider to the CNAME they give you.

(don't use CNAME flattening with DNS-routed CDNs like Bunny though, if you must use an apex domain then use the CDNs integrated nameservers)

osener 1 hours ago [-]
When I tried it last year, their edge compute infra was just not there yet. It could not do any meaningful server-side rendering because of code size, compute and JS standard constraints.

Has this situation changed?

pier25 46 minutes ago [-]
Not sure what you mean with ssr for a CDN?
no_wizard 33 minutes ago [-]
Edge computing. Cloudflare workers for example.

Bunny has a similarity concept: https://bunny.net/edge-scripting/

Daegalus 44 minutes ago [-]
I have been using them for over a year. THey have the same flow as Cloudflare, point domain to thier CDN, set CDN Pull Zone to target your server. I havent had to do anything.

They even support websockets.

Why they cant do is the TUnnel stuff, or at least fake it. I have ipv6 servers, and I can't have the IPv4 Bunny traffic go to the ipv6 only sources.

koakuma-chan 1 hours ago [-]
Why couldn't they just use SQLite, and not libSQL?
rawgabbit 40 minutes ago [-]
It seems Bunny is competing with Cloudflare. They offer very similar services including CDN, video streaming, databases etc.
endymion-light 35 minutes ago [-]
Looks cool, I need an alternative to my supabase set-up for little web tools, so i'll check it out!
the__alchemist 18 minutes ago [-]
Bun alert!
replwoacause 2 hours ago [-]
Is this good for write heavy loads or does it face the same constraints as regular SQLite?
throwaway894345 21 minutes ago [-]
> Not every project needs Postgres, and that’s okay. Sometimes you just want a simple, reliable database that you can spin up quickly and build on, without worrying it’ll hit your wallet like an EC2.

Isn't the operational burden of SQLite the main selling point over Postgres (not one I subscribe to, but that's neither here nor there)? If it's managed, why do I care if it's SQLite or Postgres? If anything, I would expect Postgres to be the friendlier option, since you won't have to worry about eventually discovering that you actually need some feature even if you don't need it at the start of your project. Maybe there are projects that implement SQLite on top of Postgres so you can gradually migrate away from SQLite if you need Postgres features eventually?

m_nalikowski 6 minutes ago [-]
Marek here from bunny.net. We’re not saying SQLite is universally better than Postgres. The trade-off we’re optimizing for is cost model and operational simplicity.

Even as a managed service, Postgres DBaaS still tends to push users into capacity planning, instance tiers, and paying for idle headroom. Using a SQLite-compatible engine lets us offer a truly usage-based model with affordable read replication and minimal idle costs.

zackify 1 hours ago [-]
why this over turso or litestream + read replicas?
4star3star 2 hours ago [-]
Why choose this over Cloudflare D1?
jsheard 2 hours ago [-]
For one they're EU-based, which may be a selling point if you're inclined to divest from US tech when possible.
pier25 1 hours ago [-]
Cloudflare IPs might not work in Spain during football matches :)

It looks like there might be issues in Italy too.

amelius 15 minutes ago [-]
Good question, the cloudflare speedtest has a bunny in it.
benjymo 1 hours ago [-]
Some ISPs have bad peering with Cloudflare (e.g. Deutsche Telekom). Not Cloudflares fault but it makes it a bad choice if your customers are in Germany.

And Cloudflare is an american company.

nickorlow 2 hours ago [-]
Not a technical reason, but given Cloudflare's recent business practices where they hold you hostage if you don't upgrade to an enterprise plan are a pretty good reason to avoid imo.
ForHackernews 2 hours ago [-]
This sounds a lot like https://turso.tech/ ? Unless I misunderstand, they're both pitching SQLite-for-the-cloud.
Squarex 2 hours ago [-]
Yes, they mention they use libsql. Don't know why I should use them and not the product by the actual libsql authors.
PhilippGille 1 hours ago [-]
Some European companies migrate their dependencies from US clouds to European ones. Turso is registered in Delaware. Bunny HQ is in Slovenia. Different data related policies apply.
pier25 1 hours ago [-]
An advantage is the integration with other Bunny services like containers etc.

Also, not sure about now, but historically Turso didn't have to best uptime.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 16:55:41 GMT+0000 (Coordinated Universal Time) with Vercel.