
A data synchronization strategy is a set of decisions you make before anyone writes an integration: which system owns each piece of data, which way changes flow, how fast they must arrive and what happens when two systems disagree. Teams that skip those decisions end up with a working connection that still produces two different customer addresses. Our senior engineers at Ampersand work through these decisions with you from the first consultation, because that is where sync projects are won or lost.
TL;DR
- Name one system of record for every data type (customer contacts, products, invoices) before choosing any tool.
- Default to one-way flows. Add two-way sync only for fields where two teams genuinely need to edit the same record.
- Match timing to the cost of stale data: real time where someone acts within minutes, batch where data changes slowly.
- Plan for conflicts, duplicates and failed transfers up front, with a review queue instead of silent overwrites.
- Log and monitor every flow. In Switzerland, personal data adds legal requirements for logging and breach records.
What a strategy has to settle
IBM describes data synchronization as the continuous process of keeping records accurate and uniform across systems and devices. The alternative is manual re-entry, which is slow and introduces errors.
That definition sounds like a technical job, but most failures are decisions nobody made. A typical Swiss SME has a CRM, an online shop, an accounting package and maybe an ERP. The customer lives in all four. Sales updates a phone number in the CRM, finance corrects a billing address in the accounting tool, and the shop still holds last year’s version. Nobody did anything wrong. Nobody decided who wins.
A Swiss article on business software notes that diverging addresses, payment terms or credit limits complicate invoicing, approvals and closing controls, including documents relevant for MWST (Swiss VAT). Its point is that a working interface isn’t enough. You need clear data flows, unique record identifiers and controlled synchronization.
So the strategy has five parts, in this order: ownership, identifiers, direction, timing, and failure handling. The tool comes last.
Start with ownership: one system of record per data type
A system of record is the system whose version of a fact is the true one. For contact data that is often the CRM, for product and material data the ERP, for booked invoices the accounting software. Write it down as a table with one row per data type and, where it matters, one row per field.
Field level matters more than people expect. The shipping address might be owned by the shop (the customer edits it at checkout) while the payment terms are owned by finance. A University of St. Gallen case study of Ciba, the Basel chemical company, describes a master data strategy built on exactly this: master data has one source, and ownership is assigned per attribute of each data object type, documented in a RACI matrix (a chart of who is responsible, accountable, consulted and informed).
In a ten-person startup you don’t need a RACI matrix. You need a one-page table and a named person per row who decides when the rules change. That person is the data owner. If nobody can be named, the data is already in conflict, you just haven’t seen it yet.
The second piece is the shared identifier. Systems can only sync a record if they can agree it is the same record. Matching on name or email breaks as soon as someone has two addresses or a typo. Give every customer and product one stable ID, created in the owning system, and store it in every other system as a reference field. This is the unglamorous work that makes later automation possible, and it is cheapest to do before you have 40,000 records with no common key.
Choose direction: one-way first, two-way by exception
Microsoft’s guidance on integration patterns for Dynamics 365 sets the trade-off clearly. One-way sync gives you a clear record keeper and simple conflict handling. Bidirectional sync keeps apps aligned in both directions but makes conflict resolution tricky and can duplicate data.
Our advice is blunt: make every flow one-way until a business reason forces otherwise. A product catalogue flowing from ERP to shop is one-way. Orders flowing from shop to ERP are one-way in the other direction. Two one-way flows over different data are not two-way sync, and they are far easier to run than true bidirectional sync of the same record.
True two-way sync is justified when two teams really edit the same fields, for example sales and support both updating a contact’s phone number. Even then, narrow it: sync only the fields both sides need, and give each field a winner. Two-way sync is also not two one-way copies glued together. A value transformed on its way from A to B may come back in a different form and look like a fresh edit, so it bounces between systems or overwrites someone’s independent work, as the Encyclopedia of Abstractions explains. Suppressing echoes of your own writes is part of the design from day one.
Choose timing: what does stale data cost?
IBM separates real-time (synchronous) updates from batch (asynchronous) ones, applied at regular intervals such as nightly or hourly. The temptation is to say everything should be real time. That’s expensive, and it couples your systems: Microsoft’s guidance notes that synchronous patterns deliver up-to-the-minute values but handle only small payloads and can make systems depend on each other, while asynchronous patterns are sturdier and balance loads.
A practical test per data flow is to ask what happens if the value is an hour old.
| Data | Cost of stale data | Sensible timing |
|---|---|---|
| Stock levels in a shop | Overselling, cancelled orders | Near real time, event-driven |
| New customer from web form to CRM | Slow follow-up | Real time or within minutes |
| Product descriptions, price lists | Low, changes rarely | Scheduled batch, hourly or nightly |
| Booked invoices to reporting | None until month-end | Nightly batch |
| Reference data (country codes, VAT rates) | Low | Event-based when it changes |
Most healthy setups mix both modes and add a periodic full comparison that catches anything the incremental flows missed. That reconciliation job is cheap insurance and is the first thing dropped when a project runs short of budget.
How the machinery detects change
You rarely need to choose a technique yourself, but you should know what is being chosen for you, because it decides what can silently go wrong.
The simplest approach compares timestamps (“what changed since 14:00?”). It works until someone deletes a record, because a deleted row has no timestamp to find. Triggers inside the source database catch every change type but add load to the system people are working in. Reading the database’s transaction log, known as change data capture, avoids that load and catches everything, but the log formats differ between vendors. Confluent’s overview of change data capture lays out these three options and their trade-offs.
For a shop or CRM you don’t control the database anyway. You get an API, perhaps with webhooks (the system calls you when something changes), perhaps only polling. What the vendor’s API can emit shapes your timing options more than your preferences do. Check that before promising anyone real-time anything.
Two properties are worth demanding of whoever builds it. The first is idempotency: if the same change arrives twice, the result is the same as if it arrived once. Retries after a network failure are certain to happen, and without idempotency they create duplicate orders. The second is delta-based transfer, sending only what changed rather than the whole table every time.
Conflicts, duplicates and failures
The plan for the day things go wrong is the part of a strategy that separates a demo from a system you can run for years.
A conflict means the same field was changed in two systems since the last sync. “Last write wins” is the default in many tools and it is a poor one. Clocks drift between systems, record-level comparison throws away concurrent edits to different fields, and some fields should always defer to the owning system regardless of timing, as one engineer’s account of building a sync engine lays out. His conclusion is that conflict policy needs to be set per field, per object and per direction. He also reports spending four months on that engine before a customer touched it, which is a fair warning about building it yourself.
A workable policy for a small team looks like this:
- Each field has an owner system. Updates from any other system are checked against that ownership before being applied.
- When the same field changed on both sides, the record goes to a review queue for a named person, not into an automatic overwrite. Silent data loss is harder to spot than an open exception.
- Every resolution records who decided, when, and from which values.
- Where one field lands in the queue again and again, make one system its sole owner and remove the conflict for good.
The SAP Integration Playbook describes this ownership-matrix and review-queue approach for multi-source master data replication, and its advice to run first in detect-only mode is worth stealing. Switch the sync on without writing anything, count the conflicts for two weeks, and you learn whether you have an integration problem or a people problem (two departments maintaining the same field).
Duplicates need the same care. Matching records across systems by fuzzy rules is a trade-off between merging too much and too little. Merging two different customers into one is usually worse than missing a match, since a wrongly merged record can also expose one person’s data to another. Set matching thresholds conservatively and send borderline pairs to a person.
Failures get their own plan: what happens to a change that can’t be delivered because the target is down? It should wait in a queue, be retried, and raise an alert when retries run out. The version nobody plans for is the failure with no alert, where the sync stops on a Tuesday and someone notices on the following month’s close.
Master data: the same strategy with higher stakes
Master data is the slow-changing core your business runs on: customers, suppliers, products, chart of accounts. Synchronizing it is the same exercise with less tolerance for error, because every other process reads from it.
PwC Switzerland’s publication on SAP master data governance distinguishes consolidation, a one-time activity that merges and calculates the best record during the initial load, from central governance, a continuous activity where maintained master data is replicated to connected systems. Its practical lesson is that preparation decides the outcome: clean up inconsistencies across your systems, check for duplicates while consolidating, and set up clear responsibilities before the first record moves.
For a company of ten to a hundred people, a lightweight version is usually right. Pick the system that will own the master record, clean the data once, load it, and then let changes flow outward one-way from that system. Edits made in downstream tools either get routed back through the owner or are blocked. You can add a full master data platform later if the number of systems grows, and nothing you did above has to be thrown away.
The tool doesn’t fix an ownership gap. A platform bought before anyone has the authority to resolve a disputed record gives you a faster way to disagree.
Security, logging and Swiss rules
Synchronization copies data. Every copy is another place where it can leak, so a sync design needs access control on each connection, encryption in transit and credentials kept out of code.
If the data includes personal information, the Swiss Data Protection Ordinance requires technical and organizational measures that fit the risk, covering confidentiality, availability, integrity and traceability. Article 4 requires logging in specified cases, for instance when large volumes of sensitive personal data are processed and preventive measures alone can’t guarantee protection, and the logs must be kept at least one year. Article 15 requires documentation of data breaches to be kept for at least two years. Whether your flows fall under these provisions depends on your data, so confirm with your data protection adviser or lawyer before launch.
The design consequence is simple: build an audit trail from the start. For each synchronized change, record the source, the time, the rule that applied and the outcome. That same log answers the everyday question “why does the record say this?” and costs far less to build in than to retrofit.
The Swiss federal administration has the same problem on a national scale. The Federal Council notes that reuse of data across systems is held back by missing master data, differently defined interfaces and weak governance, and the I14Y interoperability platform and the once-only principle aim to fix it by documenting where data sits and in what quality. A catalogue of your own systems, fields and owners does the same job for a company.
Monitor it like a product
A sync that works on launch day is a beginning. Track four numbers: how long changes take to arrive, how many fail, how many conflicts land in the review queue, and how old the oldest queued item is. A queue that grows faster than it is cleared points to a staffing or threshold decision, not a bug. A rising conflict count usually means two teams are maintaining one field.
Test with ugly data: names with umlauts and apostrophes, empty required fields, a customer with two addresses, a record deleted on one side, an API that times out halfway through a batch. Then test the rollback: you should be able to pause the flow for one system or one field without stopping everything.
Where a senior-led studio fits
The decisions above are what a senior engineer settles in the first conversations, before any code exists: who owns what, which flows are one-way, and what the shop’s or ERP’s API can actually emit. Ampersand’s studio, based in Zurich, builds system integrations and API connectivity for shops, CRM and ERP, and every project is led by senior engineers from first consultation through handover, so the person who agrees the ownership table is still there when the connection goes live. Migrations of legacy systems, where master data has to be cleaned and loaded once, are part of the offer too.
Ongoing operation is covered by a monthly plan, Run & monitor, listed at CHF 750 per month. The full list of integration, migration and support options is on the Ampersand pricing page, and you can start from the studio’s homepage if you want to talk through your own systems first.
FAQ
What is the difference between data synchronization and data replication?
Replication copies data from one place to another, usually one-way, to create a backup or a read-only copy. Synchronization goes further by keeping several copies consistent over time, which can include changes flowing back and conflicts being resolved. In business systems, most of what you need is controlled one-way replication with clear owners.
Should small companies use real-time or batch sync?
Use real time where someone acts on the data within minutes and a stale value causes a wrong decision, such as stock levels or new leads. Use scheduled batches for data that changes slowly or is only read later, such as price lists and reporting. Most companies end up with both, plus a periodic full comparison.
What is master data synchronization?
It is the controlled distribution of your core records, such as customers, products and suppliers, from one owning system to every system that uses them. One system holds the authoritative version of each field, and the other systems receive changes rather than keeping their own competing copies.
How do we avoid duplicate customers across the CRM, shop and ERP?
Give each customer one stable ID created in the owning system and store it in every other system. Match on that ID rather than on name or email, and send uncertain matches to a person to approve instead of merging them automatically.
Sources
- What Is Data Synchronization? (IBM)
- Datenaustausch zwischen Anwendungen sicher organisieren (businessmanagementsoftware.ch)
- Case Study Ciba: Organizing Master Data Management (University of St. Gallen)
- Choose the right pattern for your integration strategy (Microsoft Learn)
- Bidirectional Consistency Mapping (Encyclopedia of Abstractions)
- What Is Change Data Capture? (Confluent)
- The Seven Engineering Problems That Make Real-Time Enterprise Sync Almost Impossible (DEV Community)
- Multi-Source Master Data Replication with Conflict Resolution (SAP Integration Playbook)
- Unlock the true value behind your master data (PwC Switzerland)
- Ordinance on Data Protection (Fedlex)
- Bericht des Bundesrates in Erfüllung des Postulates 19.3988 (parlament.ch)
Talk to us
Have a project this touches on?
A free 10-minute call is the fastest way to find out whether we are the right studio for it.
Book a free 10-min callKeep reading
More articles.
Security Audit vs. Pen Test: Which One Do You Need?
A security audit checks your controls against a standard. A pen test attacks your systems to see what breaks. Here is how to choose, what each costs in Switzerland, and the order to do them in.
Read articleSwiss FADP Compliance for Websites, Apps and Platforms
What the Swiss FADP requires when you build or run a website, app or platform: privacy notice, cookies, processors, transfers, breaches and fines, in plain terms.
Read articleUptime Monitoring Best Practices for Websites and Apps
How to monitor uptime without alert fatigue: what to check, how often, who gets paged, and how to set an error budget for your website or app.
Read article