February 2023 Summaries
8 posts from Cockroach Labs
Filter
Month:
Year:
Post Summaries
Back to Blog
The Big Ideas in App Architecture podcast explores current challenges and innovative solutions in application architecture by featuring insights from industry leaders such as CTOs, CIOs, VPEs, and architects from companies like Twilio, Greenhouse, and Starburst. In its first episode, Ken Pickering, SVP of Engineering at Starburst Data, discusses the benefits of separating compute from storage, which enhances the functionality of data lakes, and advocates for a hybrid/multi-cloud approach, despite its economic challenges, to avoid vendor lock-in. He emphasizes the importance of making reversible "two-way door" architectural decisions to adapt to changing business needs and advises proving concepts before making perfect technical decisions. Future episodes will feature insights from other leaders like Mike Boufford of Greenhouse and Gregg Mojica of Alloy Automation, offering perspectives on topics such as serverless architecture.
Feb 27, 2023
1,005 words in the original blog post.
The text is a detailed tutorial on how to send data from CockroachDB to Azure Synapse using change data capture (CDC) technology, providing a step-by-step guide on integrating these systems for enhanced data analytics. It outlines the preparation of necessary variables, creation of an Azure Storage Account and Container, upgrading the storage with Azure Data Lake Storage Gen2 capabilities, and enabling CDC to send row-level changes to Azure. The tutorial emphasizes the benefits of using Azure Synapse, a comprehensive analytics service, in conjunction with CockroachDB to achieve transactional consistency and real-time data replication, which helps businesses make informed, data-driven decisions. Additionally, it highlights CockroachDB's features such as scalability, resilience, and data locality, which ensure reliable data processing and low-latency global data access, ultimately offering a competitive edge in leveraging data analytics tools.
Feb 23, 2023
1,474 words in the original blog post.
Paul Scanlon's blog post discusses the development of an open-source JavaScript package called cloud-region-country-flags, which translates cloud provider region codes into country flags and geographical information. This tool addresses the challenge of identifying the specific country associated with often ambiguous cloud region codes, like "eu-west-1" or "asia-southeast-1," by converting them into meaningful data including the country's emoji flag, name, and geographical coordinates. The package works with Amazon Web Services (AWS) and Google Cloud Platform (GCP) region codes and is particularly useful for applications that require high availability and low latency by keeping data close to the user. The solution emerged from Scanlon's need for an easy way to display this information in his projects, such as a demo app using the CockroachDB Cloud API. The package is in early stages and welcomes community feedback and contributions.
Feb 17, 2023
686 words in the original blog post.
The article by Charlie Custer explores the concept of distributed transactions in databases, detailing their importance for modern applications that require horizontal scalability, high availability, and fault tolerance. It explains that while distributed transactions enable databases to operate across multiple nodes and regions, they introduce challenges such as ensuring consistency. The text describes various patterns to manage distributed transactions, including the two-phase commit pattern, active-passive replicas, and multi-active distributed transactions, highlighting their advantages and trade-offs. In particular, it emphasizes the benefits of a multi-active system, as exemplified by CockroachDB, which offers easy scaling and fault tolerance without compromising consistency. The article also notes the complexity of implementing such systems from scratch, recommending adopting purpose-built solutions like CockroachDB for applications needing advanced distributed capabilities.
Feb 16, 2023
1,675 words in the original blog post.
A North American real-money gaming company successfully expanded into new regional markets while saving $1.5 million per expansion by utilizing CockroachDB, a database system that meets the performance, consistency, and compliance needs of the industry. The company faced challenges with data locality requirements, particularly due to the U.S. Wire Act, which mandates that betting data be processed within the state where the bet was placed. CockroachDB's ability to function as a single logical database with geo-partitioning allowed the company to comply with these regulations efficiently, without the need for separate databases in each state. This approach not only minimized the complexity and cost of maintaining multiple databases but also negated the necessity of hiring additional engineers for each new state launch, contributing to significant operational savings. The company's lean operations and faster product development were made possible due to CockroachDB's support and capabilities, which also enabled them to eliminate other software services, thereby further simplifying their technology stack.
Feb 15, 2023
1,041 words in the original blog post.
Adyen, a global fintech company renowned for its seamless payment processing services, has successfully transitioned its online payment system to CockroachDB, enhancing their ability to handle increased transaction volumes without downtime. Established in 2006 in Amsterdam, Adyen has evolved from a payments company to a comprehensive tech platform, offering solutions like embedded finance, risk management, and data analysis. The company faced challenges with their previous PostgreSQL setup due to necessary downtimes and the complexity of achieving idempotency. CockroachDB, being PostgreSQL wire-compatible, facilitated a smooth migration while offering distributed data capabilities that ensure transactions are not double-processed. This transition has allowed Adyen to maintain uptime and consistency across its global operations, with CockroachDB's distributed nature enabling reads and writes from multiple locations. As Adyen continues to innovate, they are exploring new use cases for CockroachDB, including customer loyalty applications and a CockroachDB-as-a-Service model.
Feb 14, 2023
1,037 words in the original blog post.
CockroachDB, named for its resilience akin to the notorious survival skills of cockroaches, was conceptualized by co-founders Spencer Kimball and Peter Mattis as a highly available, scalable, and persistent open-source data storage solution. Despite its polarizing name, which evokes reactions ranging from curiosity to aversion, the database's durability and scale have become its defining features, attracting major clients like Netflix, Starburst, and Hard Rock Digital for their distributed, transactional workloads. The name embodies the core attributes of CockroachDB, representing an indomitable system that can withstand failures and continue operating seamlessly, much like its namesake. Cockroach Labs embraces the name and the feedback it generates, viewing it as an opportunity to highlight the database's robustness and reliability in handling mission-critical applications, supported by a community of developers and early adopters who appreciate the value of a resilient database platform.
Feb 08, 2023
805 words in the original blog post.
Data partitioning, also known as database partitioning, is a technique used to split an application's database into separate pieces, or partitions, to improve scalability, availability, and performance. As companies grow and their data needs expand, a single-instance database becomes insufficient, prompting the use of partitioning to manage data more efficiently. The two main types of partitioning are vertical and horizontal, with vertical partitioning dividing data by columns and horizontal partitioning dividing data by rows, often leading to sharding, which distributes data across multiple servers for better scalability. While partitioning offers benefits like reduced latency and increased fault tolerance, it introduces complexities and costs, particularly in managing sharded databases, which require significant manual work and maintenance. However, distributed SQL databases, such as CockroachDB, have emerged as a modern solution, automating much of the complexity involved in data partitioning and offering seamless scalability and resilience without the need for extensive manual intervention.
Feb 07, 2023
2,477 words in the original blog post.