December 2023 Summaries
8 posts from Cockroach Labs
Filter
Month:
Year:
Post Summaries
Back to Blog
Cockroach Labs offers a humorous yet insightful collection of survival tips for managing workloads and work-life, derived from the experiences of experts in the field. The blog features a wide range of posts, including strategies for changing database schemas without downtime, executing SQL queries in the browser, and saving data centers during emergencies. Notable highlights from 2023 include a post about DoorDash's use of CockroachDB to handle massive data volumes and an analysis of the system failures at Ticketmaster during a high-demand event. The blog emphasizes the importance of performance predictability and isolation in multi-tenant systems, explores control theory techniques for system builders, and delves into the intricacies of real-time inventory management. Additionally, it provides a glimpse into the reactions to the CockroachDB name and offers resources like podcasts and webinars for further learning.
Dec 28, 2023
658 words in the original blog post.
The text presents an engaging overview of CockroachDB (CRDB), a scalable and distributed SQL database noted for its resilience and reliability, akin to the survival abilities of a cockroach. It highlights CRDB's ability to scale from a single laptop to thousands of servers globally, allowing for seamless reads and writes on all nodes without conflicts. The database simplifies the complexities of distributed transactions by converting SQL queries into key-value data, which is then distributed and stored across nodes. CockroachDB is available in three forms: serverless, dedicated, and self-hosted, catering to different operational needs. The database's name symbolizes its robustness and ability to maintain data integrity and availability under challenging conditions, as illustrated by a testimonial from a Bose platform architect who praised its resilience.
Dec 27, 2023
511 words in the original blog post.
"The Engineer’s Survival Guide," published by Cockroach Labs and humorously illustrated by Giovanni Cruz, offers advice for navigating the complexities of a tech career while addressing the growing demand for AI integration. The text emphasizes the importance of evaluating AI technology carefully, balancing the pressure to adopt new tools with the risks of premature implementation. It stresses the need for a solid foundation of data quality, robust APIs, and collaboration with various teams, including security and legal, to ensure a successful AI adoption. By focusing on unchanging fundamentals and gaining hands-on experience, tech professionals can prepare for AI's evolving landscape, ultimately enabling them to make informed decisions and respond confidently to inquiries about AI strategies in their organizations.
Dec 22, 2023
1,589 words in the original blog post.
At RoachFest 2023, Spreedly's Senior Software Architect, Scott Traver, shared insights on their migration from Riak and Postgres to CockroachDB, emphasizing a cautious and responsible approach to modernizing their data architecture to avoid potential bottlenecks. Spreedly adopted a "source of truth" strategy by running CockroachDB alongside their existing system, allowing them to model data gradually and address inefficiencies, such as application-generated UUIDs that could create hotspot ranges. This strategy enabled them to improve performance by letting CockroachDB auto-generate UUIDs and utilize features like row-level time-to-live and change data capture to manage data efficiently. Traver highlighted the importance of using the right tools for specific tasks and ensuring they integrate well within a broader data ecosystem, rather than relying on a single solution to address all challenges. This approach not only mitigated risks but also allowed Spreedly to streamline its data systems, demonstrating how a thoughtful migration strategy can lead to a more efficient and scalable infrastructure.
Dec 19, 2023
718 words in the original blog post.
Tweeq, a Saudi fintech startup founded in 2020, is developing a scalable and flexible payments platform to support Saudi Arabia's vision of becoming a cashless society by 2025. The company, which is the first nonbank payment service provider licensed in the country, aims to revolutionize the payments landscape with a modern approach that emphasizes scalability, 24/7 availability, and adaptability to customer needs. Tweeq's platform is built using a minimalist tech stack that is cloud-agnostic, allowing it to comply with Saudi Arabia's Personal Data Protection Law by storing data locally through a hybrid infrastructure using Oracle Cloud Infrastructure and on-premises solutions. This setup ensures resilience and flexibility, enabling future integration with major cloud providers as they enter the region. As Tweeq prepares for expansion across the Middle East and North Africa, its robust platform is poised to support additional services and enhance its scalability and reliability.
Dec 14, 2023
614 words in the original blog post.
Form3, an enterprise-grade managed payment processing platform, simplifies the complex process of transferring funds across various payment schemes by utilizing a single API for secure and reliable transactions, while handling operational and compliance concerns. At RoachFest 2023, Form3 engineers discussed their migration from PostgreSQL to CockroachDB, which is crucial for their multi-cloud strategy involving AWS, Azure, and Google Cloud. CockroachDB's active-to-active replication allows the platform to withstand full cloud outages, forming a resilient cluster across multiple clouds. The platform's architecture utilizes Golang microservices, NATS JetStream for messaging, and Kong as an API gateway, with Kubernetes clusters running critical and non-critical components. Challenges such as pod-to-pod connectivity, security measures, and efficient backups in a multi-cloud environment were addressed. The migration process was facilitated by CockroachDB's PostgreSQL compatibility, allowing Form3 to leverage existing tools and knowledge. Form3's innovative multi-cloud approach, emphasizing security, performance, and reliability, serves as a model for other organizations considering a similar transition.
Dec 13, 2023
921 words in the original blog post.
Adopting a multi-cloud architecture is increasingly seen as a strategic decision for businesses, driven by a variety of factors beyond technical challenges. Regulatory compliance is a major reason, especially with evolving regulations like the EU's DORA, prompting companies to mitigate risks associated with relying on a single cloud provider. Avoiding vendor lock-in and maintaining flexibility in cloud services are also significant motivations, allowing companies to navigate pricing dynamics and reduce dependency on one provider. Multi-cloud adoption can enhance customer reach, particularly for B2B companies, by meeting clients on their preferred cloud platforms. While some experts express skepticism about using multi-cloud for negotiation leverage, having a presence on multiple clouds can sometimes offer pricing advantages. Additionally, multi-cloud environments can empower engineering teams to select the best-suited cloud solutions, boost team morale, and attract top talent by providing challenging and valuable work experiences. Despite the high costs and complexity, multi-cloud may also be justified in specific scenarios requiring extreme availability or in regions with limited cloud provider presence, while it remains a less favorable option for general resilience due to the associated high data egress costs.
Dec 11, 2023
1,343 words in the original blog post.
Modernizing applications often involves adopting distributed systems, which can pose challenges, particularly when transitioning from NoSQL to relational databases like CockroachDB. Megan Janes, a Senior Software Engineer at Procter & Gamble, recounted their experience of shifting the company's IoT infrastructure from using various NoSQL databases to implementing CockroachDB. Initially, the company's data management faced issues such as incomplete data validation and mismatched data schemas, leading to inefficiencies for their data science teams. By switching to CockroachDB, they achieved a simplified architecture with a single multi-region cluster that enforced schema validation, ensuring data accuracy and eliminating the so-called "data graveyard." This transition not only improved data management but also influenced the team's approach to database design and data localization, supported by resources like O'Reilly's Guide to CockroachDB and courses from Cockroach University.
Dec 04, 2023
613 words in the original blog post.