Software Engineering / Insight

Backend decisions that become expensive after launch

Account ownership, repeat deliveries and recovery from interrupted work shape the API that customers and support staff will depend on.

Decide who owns each record

Consider a report created by an employee who later leaves the company. Should their replacement still be able to open it? That answer tells you whether a report belongs to a person, a workspace or an account. It also shapes what a data export should contain.

Record the owner, the roles allowed to act and what happens when access changes. Apply those rules to reads, edits, exports and background work, including actions reached through different screens.

Make a second delivery predictable

An integration may deliver an event again after it fails to receive an acknowledgement. Decide how your application recognizes the same event and how it distinguishes a legitimate later change. Preserve the provider’s event reference where one is available.

For example, replaying a successful import should leave one completed import in the customer’s history. If an earlier attempt stopped halfway through, the system needs a way to resume or reconcile the work.

Describe uncertain outcomes in customer terms

Think through what your user sees if they request an export and close the browser before it finishes. If they return later, can they tell whether the export is queued, finished or needs attention? Those states affect both your data model and the support team’s options.

Return a reference users can share with support. Keep a record of the important state changes without copying private content into every log message.

Write the handover around one real incident

Pick an event that would interrupt a customer’s work, such as a completed export that never became available to download. Document how to locate it, which states permit a retry and how to confirm that the customer can use the result. Have someone other than the author walk through it.

Bring us the decision you’re working through.

Include the constraint behind it so we can discuss the right first step.

Ask a product question