CockroachDB

Finally a Cockroach You Can Love

By May 7, 2019 July 16th, 2019 No Comments

Today, we’re adding a new member to the ObjectRocket family, and I’m excited to announce that it’s CockroachDB. We’ve been completely focused on our MongoDB, Redis, and Elasticsearch offerings for just over three years, so this is a huge moment for us and we think it will be for you too.

The database that just… won’t… die…

To put it simply, the GitHub repo for CockroachDB sums it up with “CockroachDB is a cloud-native SQL database for building global, scalable cloud services that survive disasters.” However, to stop there really misses a lot of the capabilities that CockroachDB has to offer. There are five key features of the product that help add the details of what’s so special about CockroachDB:

  • Distributed SQL: It should fit right in with the applications and knowledge you have today. It’s the ease of the SQL syntax, ACID compliant transactions, and PostgreSQL wire compatibility that make it easy to fit into your stack.
  • Cloud Neutral: All clouds are created equal for CockroachDB. You can run it from binary or containerized with robust support for technologies like Kubernetes. You can easily drop CockroachDB everywhere that you have infrastructure for availability and resiliency.
  • Massive Scalability: CockroachDB offers the scalability you expect from a NoSQL database, but with the consistency of a traditional relational database. Scaling CockroachDB is as simple as adding more nodes, and it will do the rest for you.
  • High Availability: HA is built in and automatic for CockroachDB, so resilience is a breeze. When outages occur, data is automatically redistributed without downtime. Perform rolling maintenance and upgrades without impacting your applications.
  • Geo-distributed: In addition to being able to scale globally (while still maintaining ACID compliance), CockroachDB allows you to select which of your data resides in which regions. Whether it’s for compliance reasons or to keep your data close to the customer for latency purposes, CockroachDB has got you covered.

The team over at Cockroach Labs have truly created a best of both worlds technology and we’re excited to be launching it.

Why CockroachDB on ObjectRocket?

As I mentioned above, it’s been a while since we’ve released a new datastore. We’ve been looking for something new that is right on the cusp of massive adoption, yet has had time to be thoroughly battle tested. Something that has meaningful commonalities with the ObjectRocket portfolio, while also filling a well-defined gap. In CockroachDB, we’ve found the datastore that checks all of those boxes and more.

Let’s start with the “cloud-native SQL” bit from the CockroachDB description. Though there are lots of examples of SQL running in clouds, it’s much different to claim that a SQL database is cloud-native; just it’s running there, doesn’t mean that it was built to. As we’ve presented at Kubecon 2018, running datastores on a platform like Kubernetes can be complicated, but CockroachDB allows us to fill a relational gap in the portfolio with a product that “just works” on our infrastructure.

At ObjectRocket we’ve always focused on datastores that scale with your application, and this is yet another area where CockroachDB just fits. It allows you to break your database into small flexible nuggets that you can then place wherever. Need more capacity? Just add more nodes where you need them. Lose some infrastructure somewhere? The cluster automatically rebalances and carries on. Our other offerings can do this today, but doing this and supporting strongly-consistent ACID transactions, is a massive win.

As if that wasn’t enough benefit, CockroachDB has the ability to scale globally. You can place nodes in any cloud or datacenter globally and CockroachDB automatically handles all of the replication and distribution of data across those nodes. You can simply just replicate everything globally for disaster recovery or resiliency purposes, or take it even further and selectively retain data in specific regions for compliance or latency reasons. Given our current push to multiple clouds on our Beta platform, the fact that CockroachDB is cloud agnostic and truly multi-cloud, it is not only a great fit for our customers, but a great example of what our new platform is capable of.

Finally, we are a support focused company and with all of this configurability and resilience, there are plenty of opportunities to help you take advantage of all that goodness without the ramp up time or risk of learning and using a new datastore. The capabilities available to you are huge and we’ll help you make the right decisions and get you up and running in no time. We’ll take the wheel on the data so you can focus on your app.

How can I try it?

CockroachDB is available NOW on our Beta platform. We’ve attached an alpha label to the product for now, as we add features like backups and encryption that we feel are required for taking the step to Beta on our product.

The CockroachDB alpha is perfect for testing the performance and compatibility with your application, so grab some test data and create your instance today. We’re offering clusters of CockroachDB running in a single region today, but stay tuned as new features and capabilities will be rolled out regularly.

As with our Beta Elasticsearch offering, access to the product is currently offered under a free trial. We’ll give you plenty of notice when we’re going to continue on to paid trials, so try it out now.

Steve Croce

Steve Croce

Steve Croce is currently a Senior Product Manager and Head of User Experience at ObjectRocket. Today, Steve leads the UX/UI team through rebuilding out the platform’s user interface, scopes the company’s product and feature roadmap, and oversees the day to day development for ObjectRocket's Elasticsearch and PostgreSQL offerings. A product manager by day, he still likes to embrace his engineer roots by night and develop with Elasticsearch, SQL, Kubernetes, and web application stacks. He's spoken at KubeCon + CloudNativeCon, OpenStack summit, Percona Live, and various ObjectRocket events.