iblync · Two-way sync

Bidirectional database sync: two systems taking writes, kept in step

Bidirectional database sync keeps two databases in step when both of them accept writes: a change made on either side reaches the other. It lets an organisation run an old system and its replacement in parallel during a transition, instead of moving everything in one night. iblync, Interkey's own migration and replication platform, supports it between systems that were never built to share data. Below: when two-way sync is worth its cost, what to decide first, and how Interkey runs it.

Orientation

At a glance

The whole page in one table, before the detail.

What it does
Both databases accept writes, and each side's changes are applied to the other continuously
Typical use
Old and new systems running in parallel during a transition, or two live applications sharing records
Decided first
Which system owns each type of record, how a conflict is resolved, and the lag the business accepts
How iblync helps
Continuous replication including bi-directional synchronisation, throttling, and queueing while a target is away
Deployment
Confirmed per engagement, with whether any data leaves your environment
Commercial model
By quotation, priced by source system, target system and data volume

In short, for decision makers

  • What it buys you: the old and the new system both stay usable while users, reports and integrations move across in stages, and the way back stays open.
  • What it costs you: conflict rules, monitoring of the lag between the two sides, and a clear owner for every type of record.
  • Our advice: use one-way replication wherever it is enough, and two-way sync only for the records that genuinely need writes on both sides.
  • Who delivers it: Interkey, with the team that operates iblync, supported from Riyadh in Arabic or English.

What bidirectional database sync is, and what it is not

In one-way replication there is a single source of truth: changes flow from the source to a target that is read-only for that data. In bidirectional database sync, also called two way database sync, both databases take writes, and the sync engine carries each side's changes to the other. When both systems serve live traffic at the same time, people often call it active-active sync.

Read more

It is not a backup: two-way sync spreads every change, including a mistaken delete, to both sides. Nor does it remove the decision about ownership. Two systems taking writes will sooner or later change the same record, and the rule for that moment must exist before the first write. Our page on database synchronization with iblync sets out the three kinds of sync side by side.

One-way replication or two-way sync: which one the job needs

Where one-way replication is enough and where bidirectional database sync is needed
SituationOne-way replicationTwo-way sync
A reporting or search copy of productionEnough: the copy is read-onlyNot needed
Moving to a new system with a single switch-overEnough until cutoverOnly if rollback must keep the new system's writes
Old and new systems used together during a phased transitionWorks only if each record type is written in one placeNeeded where users write the same records in both
Two live applications sharing customer or asset recordsRarely enoughNeeded, with ownership agreed per field or record type
Two sites or servers that must both accept writesNot enoughNeeded, with conflict rules and lag limits agreed

The pattern we recommend most often is a mix: one-way flows for most record types, and two-way sync only for the few that must be written in both places.

Running old and new systems in parallel during a transition

The most common reason a Saudi organisation asks for two-way sync is a replacement project: a core system is being modernised, but the business cannot move every user, branch and integration on one weekend. With bidirectional sync, both systems stay live and in step. Some teams work on the new system while others stay on the old one, and each sees the other's changes. That changes how the transition is managed:

Read more
  • Move in stages. Departments, services or reports switch one at a time, on the business's schedule rather than at the end of a transfer window.
  • Keep the way back. If the new system misbehaves, users return to the old one and their recent work is already there.
  • Prove before you switch. Validation runs while both systems are in use, so the go or no-go decision rests on real figures.

Parallel running has an end date. The longer both sides take writes, the more conflicts and lag there are to watch, so the plan names what must be true to retire the old system. The zero downtime migration page sets out each phase up to the final cutover.

How iblync handles bidirectional database sync

iblync is built for systems that use different engines and rarely share a data model. For two-way work it brings:

  • Continuous replication in both directions. After an initial load, changes on each side are applied to the other continuously.
  • Heterogeneous systems. iblync's website lists sources including MySQL, PostgreSQL, SQL Server and IBM DB2, and targets including Couchbase and Neo4j; custom connectors are built for systems it does not yet cover.
  • Flow control. Throttling limits what sync takes from production; if one side is unavailable, its changes queue and are processed when it recovers.
  • Configured workflows. Mappings and rules are configured, not hand-coded, so your team can review and repeat them.
  • Validation. iblync's own site states that validation uses checksums and row counts.

Our change data capture guide explains how changes are read from each side, and what each method asks of a database.

Conflict rules and loop prevention: what to settle before sync starts

Bidirectional database sync succeeds or fails on decisions made before any data moves. We settle these with you in scoping:

Read more
  • Ownership. Which system owns each type of record, and where possible each field. Clear ownership prevents most conflicts.
  • Conflict resolution. When the same record changes on both sides, which change wins: the owning system, a priority rule, or a review queue for a person to decide.
  • Loop prevention. A change applied from one side must not be read back as a new change and sent home again.
  • Mapping. How fields, codes, dates and Arabic text map between two data models designed apart.
  • Acceptable lag. How far one side may fall behind before someone is alerted.
  • Deletes. Whether a delete on one side removes, archives or only flags the record on the other.

How a bidirectional sync project runs

  1. Scope.

    Both systems and versions, data volume, the rate of change on each side, the record types that need writes on both, and how long parallel running should last.

  2. Rules.

    Ownership, conflict resolution, deletes, mappings and lag limits written down and agreed.

  3. Initial load.

    The bulk of the data moves once, throttled so it does not compete with production.

  4. Two-way sync and parallel running.

    Changes flow in both directions while users move across in stages and validation runs.

  5. Retire or keep.

    The old system is retired once the agreed conditions hold, or the sync continues if both systems stay in service.

What Interkey delivers: cost, data residency and support in Saudi Arabia

iblync is an Interkey product, delivered with the team that operates it rather than licensed and left. We deliver the ownership and conflict rules, the connectors and mappings, the initial load, the two-way replication, monitoring of lag and queues, the validation checks you accept, and the plan that ends parallel running. The same engineers support it from Riyadh, in Arabic or English.

Read more

When it is the wrong fit: if both systems come from one vendor with a supported native replication path, that path is usually cheaper, and we will say so. If one system can stay read-only, one-way replication is simpler.

There is no published price list. The quotation follows the source systems, the target systems and the data volume; the effort follows how many record types need writes on both sides, how far the data models differ, and how long parallel running lasts. Durations are estimated in scoping as a range.

Interkey confirms where the sync runs, and whether data leaves your environment, before the first record moves. Where the data includes personal data, Saudi Arabia's Personal Data Protection Law, overseen by the Saudi Data and AI Authority (SDAIA), belongs in the same conversation. The database migration service page describes the wider sequence from assessment to handover.

Questions buyers ask

Can we keep our old system and the new one both live while staff move across?

Yes. That is the main use of two-way sync. Both systems accept writes, each sees the other's changes, and teams move in stages. The plan agrees in advance what must be true before the old system is retired.

Is active-active sync safe for financial or stock records?

It can be, if each such record has one owning system or a strict conflict rule, and the lag between the sides is monitored. Records that both sides change often are better given a single owner than left to a conflict rule.

How do you sync a database between two servers in different locations?

Each side's changes are captured and applied to the other, throttled so the link and production are not overloaded, and queued if one side is unreachable. The network path and acceptable lag are part of scoping.

Can the two-way sync run inside our own data centre in Saudi Arabia?

The deployment is confirmed per engagement. For your project, Interkey confirms where it runs and whether any data leaves your environment before work starts.

How is a bidirectional sync project priced in KSA?

By quotation, against the source systems, the target systems and the data volume. The record types written on both sides and the length of parallel running shape the effort. Send us those and we reply with a first scope.

How long should old and new systems run in parallel?

As long as validation and the business need, and no longer. It is set in scoping as an estimate, driven by how many users and integrations must move and how quickly the new system proves itself.

Next step

Plan two-way sync for your transition

Tell us the two systems, the rough data volume, which records both sides must write, and how long you expect to run them in parallel. The reply comes from the team that would run the sync.

Required field

By sending this form, you agree to our Privacy Notice.

Or directly

+966-11-2180999 [email protected]

Tawuniya Towers, North Tower, 7th Floor, King Fahad Highway, Olaya, P.O. Box 56835, Riyadh 11564, Saudi Arabia

or One-way or two-way

Published by Interkey. Last updated . Interkey is registered in Riyadh, Saudi Arabia under commercial registration 1010156897.