Architecture decisions · Integration and automation
Systems that do not talk to each other
Data lives in separate systems and someone copies, reconciles and corrects it by hand.
01
How it is diagnosed
Map how data moves today, including files and email; count how often a value is typed by hand and where errors show up.
02
The options, side by side
03
What decides between the options
The volume and frequency of exchanges, whether the systems expose an API or only files, and the cost of an error that goes unnoticed.
| What decides | A Batch export | B One-way feed | C Two-way sync with a failure queue |
|---|---|---|---|
| Volume and frequency The more often and the faster data must arrive, the more the way it travels matters. | limited Data is as old as the last run; fine for a daily file, not for minutes. | suits it Changes flow as they happen; the limit is the receiving side's API. | needs work It copes; each change carries a version, so a late or repeated message never overwrites a newer one. |
| An API, or only files What each system lets you read and write limits the options before any preference does. | suits it Works with files alone; neither side needs an API. | needs work Needs a way to read changes at the source: an API, a change table or a drop folder. | limited Needs both sides to report their changes and accept writes; on an old database, triggers and two tables can do the first. With files alone it is rarely worth it. |
| Cost of an unnoticed error An order that never arrives costs more than a late report. | limited A failed row shows up at the next run, or when someone notices. | needs work Failures are seen if the feed logs them; nothing retries unless it is built to. | suits it Each failure is retried, then parked in a dead-letter queue that the reconciliation report names; someone has to read it daily. |
| Who changes the data If only one side changes data there is one source of truth; if both do, there are conflicts to resolve. | needs work One direction per file; changes on both sides end up reconciled by hand. | limited Changes made on the receiving side are overwritten or lost. | suits it Built for it; the work is in mapping each record's identity across both sides and setting one rule per kind of field. |
Volume and frequency A B C
The more often and the faster data must arrive, the more the way it travels matters.
- A · Batch export limited Data is as old as the last run; fine for a daily file, not for minutes.
- B · One-way feed suits it Changes flow as they happen; the limit is the receiving side's API.
- C · Two-way sync with a failure queue needs work It copes; each change carries a version, so a late or repeated message never overwrites a newer one.
An API, or only files A B C
What each system lets you read and write limits the options before any preference does.
- A · Batch export suits it Works with files alone; neither side needs an API.
- B · One-way feed needs work Needs a way to read changes at the source: an API, a change table or a drop folder.
- C · Two-way sync with a failure queue limited Needs both sides to report their changes and accept writes; on an old database, triggers and two tables can do the first. With files alone it is rarely worth it.
Cost of an unnoticed error A B C
An order that never arrives costs more than a late report.
- A · Batch export limited A failed row shows up at the next run, or when someone notices.
- B · One-way feed needs work Failures are seen if the feed logs them; nothing retries unless it is built to.
- C · Two-way sync with a failure queue suits it Each failure is retried, then parked in a dead-letter queue that the reconciliation report names; someone has to read it daily.
Who changes the data A B C
If only one side changes data there is one source of truth; if both do, there are conflicts to resolve.
- A · Batch export needs work One direction per file; changes on both sides end up reconciled by hand.
- B · One-way feed limited Changes made on the receiving side are overwritten or lost.
- C · Two-way sync with a failure queue suits it Built for it; the work is in mapping each record's identity across both sides and setting one rule per kind of field.
04
What the work looks like
The step of the offer where a case like this usually starts:
02
Focused engineering project
Small, well-bounded work: an API, an integration, a performance fix.
05
Is this your case?
Send it with this problem already selected; the next page asks which options you considered and a little context. No verdict on your system: that only comes once I understand it.
Or write to me directly at contacto@danielcolaco.pt.