Tag

dual write

1 views collected around this technical thread.

Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 17, 2024 · Databases

Data Migration Strategies: Dual‑Write and Gray‑Scale Switch Approaches

This article presents two practical database migration schemes—dual‑write and a gray‑scale switch—detailing their workflows, code refactoring, data synchronization using Syncer, consistency verification with sync‑diff‑inspector, and operational trade‑offs for minimizing downtime and ensuring data integrity.

Database MigrationGray SwitchMySQL
0 likes · 13 min read
Data Migration Strategies: Dual‑Write and Gray‑Scale Switch Approaches
IT Architects Alliance
IT Architects Alliance
Apr 14, 2023 · Databases

Comprehensive Guide to Database Horizontal Scaling, Smooth 2N Expansion, and Keepalived High‑Availability Configuration

This technical guide explains how to scale a sharded database horizontally by introducing five expansion schemes—including shutdown, write‑stop, log‑based, dual‑write, and smooth 2N approaches—covers MariaDB installation, master‑master replication setup, dynamic data‑source configuration with ShardingJDBC, and detailed Keepalived high‑availability configuration for seamless service continuity.

Database ScalingDynamic Data SourceKeepalived
0 likes · 31 min read
Comprehensive Guide to Database Horizontal Scaling, Smooth 2N Expansion, and Keepalived High‑Availability Configuration
Ctrip Technology
Ctrip Technology
Jun 9, 2022 · Databases

Ctrip Order Database Architecture Optimization and Sharding Case Study

This article details Ctrip's comprehensive redesign of its airline ticket order database, covering the background performance bottlenecks, vertical and hot‑cold data splitting, sharding key selection, multi‑level caching, cross‑shard query optimization, dual‑write mechanisms, fault‑tolerance strategies, project planning, and the resulting improvements in scalability and cost.

Fault Tolerancedatabase shardingdual write
0 likes · 37 min read
Ctrip Order Database Architecture Optimization and Sharding Case Study
Qunhe Technology Quality Tech
Qunhe Technology Quality Tech
Apr 2, 2022 · Databases

How to Design and Test Horizontal Sharding for Large-Scale Databases

This article outlines the background, analysis, design, testing strategy, migration plan, and production quality results for implementing horizontal sharding, table splitting, and Elasticsearch integration in a growing enterprise database system.

database shardingdual writees integration
0 likes · 12 min read
How to Design and Test Horizontal Sharding for Large-Scale Databases
Qunhe Technology Quality Tech
Qunhe Technology Quality Tech
Jul 2, 2021 · Databases

How to Seamlessly Migrate Billions of Rows: A Practical Guide to Database Sharding and Sync

This article outlines a comprehensive, step‑by‑step approach for migrating massive tables—up to billions of rows—through sharding, dual‑write, data synchronization, validation, testing, and controlled switch‑over to ensure minimal impact on production services.

CDCData SynchronizationDatabase Migration
0 likes · 16 min read
How to Seamlessly Migrate Billions of Rows: A Practical Guide to Database Sharding and Sync
Architect's Tech Stack
Architect's Tech Stack
Sep 13, 2020 · Big Data

Evolution and Optimization of JD Daojia Order Center Elasticsearch Cluster

This article details how JD Daojia's order center migrated from a simple MySQL‑backed system to a high‑throughput Elasticsearch cluster, describing each architectural phase, performance tuning measures, dual‑cluster real‑time backup, version upgrades, data synchronization strategies, and the key pitfalls encountered such as deep pagination and FieldData memory issues.

Cluster ArchitectureData SynchronizationDocValues
0 likes · 11 min read
Evolution and Optimization of JD Daojia Order Center Elasticsearch Cluster
Xianyu Technology
Xianyu Technology
Jun 9, 2020 · Backend Development

Xianyu Coin Service Migration: A Service‑Based Data Migration Approach

Alibaba migrated Xianyu Coin’s points from the legacy KingTower platform to the new Banliang service using a four‑phase, service‑based approach—preparation, active/passive data migration with distributed locks, dual‑write for consistency, reconciliation, and a gradual service switch—completing the transition in a month without user impact.

Data MigrationDistributed SystemsRedis lock
0 likes · 11 min read
Xianyu Coin Service Migration: A Service‑Based Data Migration Approach