Blog
Engineering
Faster bulk-data loading in CockroachDB
Last year the BulkIO team at Cockroach Labs replaced the implementation of our IMPORT bulk-loading feature with a simpler and faster data ingestion pipeline. In most of our tests, it looked like a major improvement: the release notes for CockroachDB v19.2 touted "4x faster" IMPORT. Many a 🎉 reaction was clicked, and the team moved on to new projects. But over the following months, it became clear we had celebrated too soon: we started to get reports of some IMPORTs that, instead of being faster, were much slower or even getting stuck. Armed with a test that could reproduce such a case, we started to dig.
Bilal Akhtar
October 13, 2020
applications
How MyMahi built a scalable, serverless backend using CockroachDB and AWS Lambda
Even before the stay-at-home orders spiked the demand for digital learning platforms, MyMahi was architecting for scale. MyMahi, a New Zealand-based digital education company, built their student platform, which helps 8,000+ monthly active students track their learning journeys, with CockroachDB Core embedded in a technology stack that includes spot instances (e.g., AWS Fargate), serverless functions (e.g., AWS Lambda), and GraphQL (e.g., GraphQL.js, GraphQL Tools). Starting in 2018, MyMahi designed their new application to take advantage of technologies that allow them to scale out seamlessly in response to student activity. In this blog post, we'll highlight MyMahi’s application architecture and discuss how different technologies like AWS Lambda interact with CockroachDB to provide a scalable, serverless backend for their application.
Vy Ton
October 8, 2020
Community
Cockroach Labs + Hacktoberfest: A celebration of open source
Cockroach Labs is proud to participate in DigitalOcean’s annual Hacktoberfest, a celebration of open source and community innovation. The month-long event encourages everyone from experienced developers to students and code newbies to make positive contributions to an ever-growing community. All backgrounds and skill levels are encouraged to complete the challenge. Once a hacker submits four high-quality pull requests, they receive a custom t-shirt from DigitalOcean.
Charlotte Dillon
October 6, 2020
Product
Tutorial: How to simulate a multi-region CockroachDB cluster on localhost with Docker
Simulating a CockroachDB cluster can be an incredibly useful tool for testing, training, and development work. It's an easy process that you can perform directly on localhost using Docker. Today's blog post is a tutorial by Cockroach Labs enterprise architect Fabio Ghirardello on how to simulate a multi-region CockroachDB cluster on localhost.
Fabio Ghirardello
October 2, 2020
Product
Build a Go App with upper/db and CockroachDB
upper/db is a data access layer written in Go with ORM-like features. It's compatible with PostgreSQL, MySQL, SQLite, MongoDB, and now, CockroachDB! I am very pleased to announce that our CockroachDB adapter is now in beta and ready to be used!
José Nieto
September 29, 2020
Product
New Cockroach University course: CockroachDB for Python Developers
Today, we are excited to introduce our second Cockroach University course: CockroachDB for Python Developers. This course is designed for application developers looking to advance their education with CockroachDB and learn how to build scalable, resilient applications and services. Similar to our inaugural Getting Started course, this free course includes a series of videos, exercises, and a final exam. However, this course is much more hands-on. You will build a full-stack vehicle-sharing application called MovR in Python using the popular SQLAlchemy ORM. Our goal is for students to walk away from this course feeling confident in building fully-functional applications with CockroachDB.
Will Cross
September 29, 2020
Engineering
Cloud-native Java-persistence layer using CockroachDB and Hibernate
This blog is written by guest authors Robin de Silva Jayasinghe, Thomas Pötzsch, and Joachim Mathes. Robin de Silva Jayasinghe, is a Sr. software engineer based in Germany working at synyx GmbH & Co. KG. synyx is an agile software provider in Karlsruhe, Germany that works together with different companies to find the best possible IT-solutions for their challenges. Thomas and Joachim are working as software and systems engineers at Contargo, one of the leading container hinterland logistics in Europe.
Robin de Silva Jayasinghe
September 18, 2020
Product
How we built a CockroachDB dialect for Hibernate
This post was originally published in 2017, upon announcing that CockroachDB’s support for Hibernate was in beta. Today, we’re excited to announce some big news: the CockroachDB dialect for Hibernate is officially available! 🥳 Hibernate now offers first-class support for CockroachDB. You can read more about the dialect, and our journey to get there, in this blog post.
Jordan Lewis
September 17, 2020
Engineering
Introducing Pebble: A RocksDB-inspired key-value store written in Go
Since its inception, CockroachDB has relied on RocksDB as its key-value storage engine. The choice of RocksDB has served us well. RocksDB is battle tested, highly performant, and comes with a rich feature set. We’re big fans of RocksDB and we frequently sing its praises when asked why we didn’t choose another storage engine. Today we’re introducing Pebble.
Peter Mattis
September 15, 2020