Skip to content

How current must integration data be?

Stock figures and description text may need different freshness targets. What matters is the consequence of using outdated information.

Tobias Krüger2 min read
Round clock face without numerals, with a red hand and a pink-highlighted time segment.

Name the decision behind the update

“Everything in real time” leaves unanswered which delay is acceptable for which task. Stock may affect a sales commitment. Editorial copy may wait until an agreed time. The required freshness follows from that use; only then can the transfer method be chosen sensibly.

In asynchronous workflows, systems may temporarily show different states. Microsoft describes this consequence of event-driven architecture. A promptly triggered event does not remove queues or target processing time.

Example: two fields, different consequences

The following table is fictional planning, not a measurement or a general recommendation for update intervals.

Data

Consequence of an old state

Decision and check

Sellable stock

A commitment could exceed the available quantity.

Aim for a short delay; check and reserve according to the business rule before a binding commitment. Trace the change until it is effectively displayed in the target.

Editorial product description

Approved wording appears later.

Transfer within an agreed publication window may suffice; check that the approved version is fully visible in the target.

Even frequent stock updates alone cannot prevent simultaneous sales of the same last unit. The ordering process needs a reliable availability check and reservation rule for that. Conversely, a description may contain safety-related or contractually important information. Its delay cannot then be assumed harmless.

Agree on a target, measurement point and fallback

For each data group, define which confirmed source state starts the clock and when the change must actually be usable in the target. Successful dispatch to an interface is an earlier measurement point. Also specify who handles overruns and what is displayed when freshness is unknown, or what must be checked before a commitment.

Microsoft presents several integration patterns, including batch processing. A scheduled batch may fit tolerable waiting times. Events may help with tight timing needs but bring their own operational responsibilities. Evaluate the choice using delayed and rejected changes before promising a freshness level.

Sources

Written by

  • Tobias KrügerEditor for Systems IntegrationTobias Krüger covers how different software systems work together at ASES. In his articles he explains how ERP, CRM and online shops are connected and how to deal with errors in data exchange.

Follow ASES

Read more

All articles

APIs & Integration with ASES

ERP, CRM and shop cleanly connected