Skip to content
Bram Gruneir edited this page May 7, 2024 · 16 revisions

Replicator

Replicator is a logical-replication toolkit that supports use-cases involving the following products:

Use-cases:

  • Live migrations to CockroachDB.
  • Backfill existing database from CockroachDB to preserve a migration fallback option.
  • Logical replication to reporting / analytics databases.
  • Replication strategies not otherwise supported by CockroachDB (e.g. Hot/Cold, 2DC, DHT Rings).

Notable features:

  • Embedded TypeScript / JavaScript environment for configuration and on-the-fly data transforms.
  • Common patterns in logical replication can be configured with data behaviors.
  • Support for transactionally-consistent replication (including foreign keys) or a free-running, immediate, mode for high-throughput applications.
  • Merge operators can resolve row-level data conflicts.