A data virtualization decision checklist for Salesforce helps you decide whether a record should be read live from its owning system or copied into Salesforce. Work through five checks in order: confirm a live read is needed, measure the wait users will accept, plan for source outages, test volume and transformation, and assign field ownership.
What a live read changes in a Salesforce integration
With data virtualization, Salesforce reads a record from another system at the moment a user needs it. Nothing is copied into Salesforce, so there is no stored duplicate to refresh and no second copy to reconcile. The trade-off is that the user’s screen now depends on the external system answering in time.
This pattern differs from batch synchronization and from requests that are sent and forgotten. The read is triggered by something that happens in the flow of work, such as a user action, a search or a record update, and the caller waits for the reply before it draws the result. Treat the read as part of the user’s task, not as background data movement, and design it with that in mind from the start.
Step 1: Confirm that a live read is the right design
Start by writing down why the value must be current. Live reads suit information that changes often and that users check before they act, such as an order status held in a billing system. They suit poorly for values that feed a monthly summary, or for values that a process must filter and total across large sets of records.
Answer these four questions for each field before you commit:
- Does the user need the value at the moment of the action, or will a value that is minutes or hours old do the job?
- Will users edit the value in Salesforce, or is it read-only in this context?
- Does an audit or history requirement mean the value must be stored on the Salesforce record?
- Will automation or bulk processes need the value across many records at the same time?
If a value that is an hour old is acceptable, a scheduled copy is usually simpler to run and easier to test. If an audit requirement needs the value on the record itself, that field is no longer a strong candidate for virtualization, even when the rest of the screen reads live.
Step 2: Measure the wait a user will accept
A virtual read is synchronous. The caller sends a request, waits for the reply, and then draws the screen. A slow answer from the external system therefore appears as a slow page. Measure the full round trip from the user’s side, including the work Salesforce does after the reply arrives, rather than timing the external call alone.
Set the acceptable wait per screen, not per integration. A related list that pulls a handful of external rows can tolerate more delay than a field a user needs while filling in a form. Test at realistic data volumes and during the busy hours of the external system, because average response times hide the slow responses that users remember.
Write the threshold into the design document. If the team cannot agree on a number, the design is not ready for a live read, and a copy or a background refresh deserves a closer look before anyone builds the screen.
Step 3: Plan for the source being unavailable
A live read depends on the external system being up, reachable and fast enough at the moment the user asks. Maintenance windows, network faults and throttling on the other side all reach the user as errors or delays. Decide what happens in each case before the build, not during the first outage.
- Show a clear message that the external data could not be retrieved, and keep the rest of the record usable.
- Decide whether the user can retry from the screen, and whether the screen retries on its own first.
- Log each failure with enough detail that support can tell an outage from a malformed request.
- Decide whether a last known value may appear, and if it does, label it clearly as older data.
Failure handling deserves the same attention as the normal path. Teams often design the happy path in detail and leave the error screen to the final sprint, which is often where support questions after go-live start.
Step 4: Test volume, query shape and transformation
Live reads suit a screen that needs a small, well-defined set of external rows. They become difficult when a process needs thousands of records at once, when the query needs joins across the external system, or when the external formats need heavy conversion before a user can read them.
Check three things for each screen. First, how many rows a single view or search returns. Second, whether the external system can filter at its end instead of sending everything back. Third, how much translation the data needs. When the external system speaks a different protocol, a conversion step has to sit between the two. Middleware is often where that conversion and any complex transformation live, so the team should name the layer that owns each conversion before the build starts.
Step 5: Assign ownership for each field
A virtual read leaves the data in its home system, and that system holds the authoritative version. Salesforce shows whatever it returns at that moment. Record which system owns each field, who answers for its accuracy, and who gets called when a value looks wrong on the screen.
Reporting needs deserve their own check. A field that exists as a live read alone may not behave the same way in a report or a list view as a stored field does. Confirm how the reporting requirement will be met on your instance and release before you commit to a live read for any field that appears in reports.
Consider also what a process does if the external value is missing for a day. If a regulated decision relies on that value, the live read alone does not show what was known at the time of the decision, so the decision record needs its own snapshot of the inputs.
When a copy still makes sense
A virtual read is one choice among several. Some fields should be copied because users edit them in Salesforce, because history matters, or because records must be matched and merged. Those cases bring their own work: a matching rule, a review step for possible duplicates and a named owner for conflicts.
If the data must be loaded rather than read, compare the options in choosing Salesforce data loader options for migration before you pick a method. Once copies exist, keep them clean with a duplicate review routine for data stewards, so that someone is accountable for deciding when two records describe the same customer.
Each live read is also a request that draws on capacity at the external system and on the limits that govern calls made from Salesforce. Before a screen with several reads goes live, check the expected call volume against the API call budget checklist for integration architects.
If a live read fires from a record update, a bulk update can start the same external call for many records at once. The developer checklist for bulk-safe triggers is the place to check that batch behavior before the read goes live.
Turning the checklist into a decision
Score each field against the five steps and record the result in one place. The options are a live read, a scheduled copy, a stored copy, or a split design where the screen reads live and the record keeps a snapshot of the value it used. The goal of the exercise is a decision the team can defend when the first outage happens, not a diagram that looks complete.
For help planning this work, see Salesforce implementation.
Questions about caching, deleted records and middleware
Can a live read be cached for a short time?
Yes, if the business accepts a short window in which the screen shows slightly older data. Set the window in the design, label the value as cached where users can see it, and confirm that a cached value cannot be saved back to the source as if it were current.
What should a screen show when the external record has been deleted?
Show the record as not found rather than displaying a stale copy. The Salesforce record may still hold the external key, so decide whether that key is kept for history, cleared, or flagged for review. The choice affects the user on the screen and any process that later reads the key.
Who decides what happens when the external system is slow for hours?
The owner of the screen and the owner of the external system should agree on the fallback together. The screen owner knows what the user can do without the data, and the system owner knows how long a slowdown is likely to last. Write the agreed fallback into the support runbook before go-live.
Does data virtualization remove the need for middleware?
Not necessarily. A direct read can work for simple requests. Middleware still matters for protocol conversion, complex transformation and coordinating several systems in one process. Event notifications can cover some of that ground, but a process that spans several systems usually needs one layer that owns the order of work and the retries.
How often should the response time of a live read be rechecked?
Recheck it after any change on either side, such as a new release of the external system or a change to the fields the screen queries. Repeat the timing test during the peak periods you identified in step two, because a read that passes in a quiet week can fail during a busy one.