Change compensation rules while workflows remain active
Old sagas may have committed effects under an earlier contract. Version the recovery logic and decide how those records continue before deploying new rules.
Read articleAI implementation, software architecture, cloud operations and Australian technology policy.
100 articles in Software architecture
Page 4 of 6
Old sagas may have committed effects under an earlier contract. Version the recovery logic and decide how those records continue before deploying new rules.
Read articleMoving one tenant between stores changes routing, ownership and background work. Keep an authoritative location and explicit cutover rules throughout the transition.
Read articlePlan the period when old and new producers coexist. A new field becomes safe only when every relevant reader handles both its presence and its absence.
Read articleRolling releases can read and write the same cache at once. Separate incompatible formats and plan the load created when the new namespace starts empty.
Read articleKeeping an unused field briefly can preserve rollback. Drop it only after readers, writers and recovery tools have stopped depending on it.
Read articleAdding revision checks to one endpoint leaves older jobs able to overwrite it. Roll out the protection across the complete set of writers.
Read articleModules in one application may share infrastructure without sharing unrestricted permission to mutate every table. Make data ownership and enforcement explicit.
Read articleThe outbox worker needs access to event records and approved destinations. It does not automatically need unrestricted access to the source application's data.
Read articleA retry key identifies an intention, not a user. Authenticate the caller and scope result lookup so one account cannot retrieve or suppress another account's operation.
Read articleAn additive field can expose information to every existing caller. Evaluate its audience and data meaning before treating it as a harmless schema extension.
Read articleA corrective action can release resources, reverse a commitment or notify a customer. Give it explicit authority rather than treating recovery as an unrestricted system privilege.
Read articleA tenant identifier selects a context. The server must establish whether the authenticated caller may use it and whether the target belongs inside it.
Read articlePublishing a field creates another accessible copy. Review subscribers, replay tools and retention before adding personal or commercially sensitive information.
Read articleReusing data must not reuse another caller's authority. Review access checks before and after the point where a cached value enters the response.
Read articleSchema changes may require privileges that ordinary requests do not. Keep that authority scoped to the release process and remove temporary access afterwards.
Read articleA valid session does not guarantee that the requested action remains permitted. Keep the access decision consistent with the state being changed.
Read articleService boundaries add independent control and operational work. Compare the cost of the problem being solved with the cost of running the split.
Read articleA publisher sized only for normal arrivals may never catch up after an outage. Estimate spare throughput and protect the database while draining delayed work.
Read article