Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

上海枫泾古镇一角_20240824上海枫泾古镇一角_20240824
0

Uber Slashing Storage Costs by 70% with MyRocks Differential Backups

By [Your Name], Staff Writer

Uber has significantly reduced itsstorage costs by 70% through the implementation of a novel differential backup system for its distributed databases, according to a recent blog post. This innovative solutionaddresses a critical challenge the ride-sharing giant faced after migrating its Schemaless and Docstore services to MyRocks, a RocksDB-based MySQL storage engine.

Before the migration, Uber’s Schemaless and Docstore databases—handling tens of petabytes of operational data and millions of requests per second—were crucial for its global operations. The shift to MyRocks,while optimized for write operations and storage efficiency, initially presented a problem: a lack of incremental backup support. This meant full backups were required for each database partition, leading to substantial redundant data storage and escalating costs in blob storage.

The newlydeveloped differential backup system cleverly leverages the immutable nature of MyRocks’ SSTable (Sorted String Table) files. Instead of replicating all files during each backup, the system maintains a shared pool of SSTable files, adding only newly created files to this pool. A manifest file, acting as an index,meticulously records the list of included files, enabling efficient restoration when needed.

As detailed in a technical blog post by Adithya Reddy, the process begins with an initial full backup, storing all metadata and SSTable files in a shared pool within the blob storage. Subsequent differential backups simply append new SSTable files to thispool, reusing existing files from previous backups. The backup manifest, implemented as a JSON document, tracks essential information including backup type, success status, timing details, and file checksums, providing crucial metadata for recovery.

This streamlined system is managed by a stateless service called Backup Scheduler, which determines backup timingand frequency based on partition backup status. The actual backup process is handled by ephemeral backup containers, leveraging Percona XtraBackup where necessary.

This innovative approach represents a significant technological advancement in database management, demonstrating how optimizing backup strategies can dramatically reduce operational costs. The success of Uber’s solution highlights the potential forsimilar improvements in other organizations managing large-scale distributed databases. The implications extend beyond cost savings; the faster backup times also contribute to improved operational efficiency and resilience. Further research into adapting this methodology to other database systems could yield substantial benefits across the industry.

References:

  • Reddy, A. (Year). *[


>>> Read more <<<

Views: 0

0

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注