News for hackers. Stuff that matters.
Re:Ask HN: What has been your experience with CockroachDB? by rad_gruchalski on Sunday August 28, 2022 @05:15AM (#32626911)
Haven’t used them in production because their license doesn’t allow operating as a service.

I have used an alternative.

Re:Ask HN: What has been your experience with CockroachDB? by sean0- on Monday August 29, 2022 @05:02PM (#32643510)
To be clear, you can use CockroachDB if you're a service.

What is prohibited, however, is you can't take CockroachDB and try and offer a hosted CockroachDB-as-a-Service to external organizations.

But if your organization has a DB-as-a-Service offering internally, you can totally add crdb to the mix (this is pretty common, as a matter of fact). If your org offers a service and its backed by crdb, you can totally do that, too.

Re:Ask HN: What has been your experience with CockroachDB? by tluyben2 on Sunday August 28, 2022 @07:11AM (#32627417)
What does that mean? What service do you have that is disallowed? We are evaluating it and are finding the license page confusing. Yugabyte seems friendlier but it seems even less talked about.
Re:Ask HN: What has been your experience with CockroachDB? by rad_gruchalski on Sunday August 28, 2022 @11:13AM (#32629017)
I used YugabyteDB. License was one thing: database is Apache 2 licensed and no strings attached, you can operate it as a service yourself. Not so with CockroachDB, what powerhour said.

Other reasons: it’s Postgres code under the hood, not a rewrite, so you can use existing extensions. I have even contributed the support for FDWs, which I use in production.

More here https://gruchalski.com/tags/yugabytedb/ and here https://github.com/radekg/yugabyte-db-multi-tenant-paas-demo.

Re:Ask HN: What has been your experience with CockroachDB? by tluyben2 on Monday August 29, 2022 @07:32AM (#32636900)
Thank you for that feedback!
Re:Ask HN: What has been your experience with CockroachDB? by powerhour on Sunday August 28, 2022 @09:31AM (#32628255)
Cockroachdb uses the BSL which means you can't host it as a service for others. It's more of a "source available" license (that eventually converts to Apache, after a few years).