Home / Companies / Yugabyte / Blog / December 2024

December 2024 Summaries

4 posts from Yugabyte

Filter
Month: Year:
Post Summaries Back to Blog
YugabyteDB Anywhere offers a self-managed deployment option that allows users to handle aspects like data location and security while Yugabyte manages database operations. The blog explores the process of creating incremental backups in YugabyteDB Anywhere, which are based on filesystem differences rather than specific SQL changes, to reduce time and storage needs. Incremental backups, which only include data changed since the previous backup, can be done more frequently than full backups, helping meet Restore Point Objectives. These backups involve capturing YSQL schema dumps, snapshot exports, and copying SST files from Tablet Leader nodes, all stored in Azure Blob Storage. The size of incremental backups can vary due to factors like compaction and tablet leader changes, but they are linked to full backups, which affect their retention and expiry dates. Incremental backups provide a cost-effective alternative to full backups by reducing the storage footprint and enabling more frequent backups without significant impact on resources, thus supporting tighter Recovery Point and Recovery Time Objectives.
Dec 19, 2024 1,341 words in the original blog post.
The blog post explores the process of building a Node.js application using Drizzle ORM in conjunction with YugabyteDB, a PostgreSQL-compatible database. Drizzle ORM is highlighted for its lightweight, TypeScript-first framework which enhances performance and developer productivity without compromising type safety. It supports dialect-specific packages that allow seamless integration with PostgreSQL-compatible databases like YugabyteDB, making it suitable for handling structured and semi-structured data, such as JSONB. The post guides readers through setting up a three-node YugabyteDB cluster using Docker, configuring it for fault tolerance across regions, and connecting it to Drizzle ORM to generate a database schema. The Drizzle ecosystem, which includes the core ORM and Drizzle Kit for database migrations, is discussed in detail, demonstrating how to create tables and simulate sensor data in an IoT application. The post concludes by positioning Drizzle as a competitive option among ORMs for its balance of flexibility, performance, and developer experience, especially when paired with databases like YugabyteDB.
Dec 16, 2024 1,807 words in the original blog post.
Ruby on Rails, a popular web development framework since 2005, is often paired with PostgreSQL for its database needs due to its robust features like scaffolding, testing, and ORM. This guide illustrates the process of setting up a Ruby on Rails application using PostgreSQL, and demonstrates how to transition the application to YugabyteDB to enhance scalability and resilience. It details the installation of necessary dependencies, the creation of a simple financial application with models, controllers, and views, and the configuration of a PostgreSQL database. Furthermore, the guide explains the setup of a YugabyteDB cluster using Docker to achieve distributed SQL capabilities, allowing the application to maintain operations even during regional failures. By updating the database configuration, Rails applications can easily migrate from PostgreSQL to YugabyteDB, offering developers a seamless path to increased availability and scalability.
Dec 06, 2024 1,686 words in the original blog post.
Franck Pachot's blog post delves into the intricacies of achieving precise clock synchronization in Amazon EC2 instances, which is crucial for maintaining database consistency and performance in distributed systems like YugabyteDB. The post discusses the importance of accurate timekeeping for correct event ordering in distributed databases, where operations must be executed in sequence to maintain data integrity, as exemplified by banking transactions. It explores how traditional databases use sequential numbering systems for event ordering, whereas distributed databases face challenges due to potential clock drift across nodes. The blog highlights various time synchronization methods on AWS, notably the Network Time Protocol (NTP), AWS Time Sync Service, and the Precision Hardware Clock (PHC) introduced at AWS re:Invent 2023, which offers sub-millisecond accuracy. Furthermore, it discusses the Precision Time Protocol (PTP) for greater precision and the use of ClockBound to provide a secure time source, enabling YugabyteDB to replace its conservative 500ms clock skew setting. Overall, the post emphasizes how AWS's time synchronization innovations, particularly PHC and ClockBound, allow distributed databases to operate with enhanced precision and performance, leveraging cloud infrastructure capabilities.
Dec 03, 2024 2,078 words in the original blog post.