Digital SystemsEcommerce database transactions: isolation, deadlocks and safe retries
A practical method for choosing isolation, separating deadlocks from waits, retrying the whole transaction and protecting external effects.
Knowledge Hub
Practical guides on Shopify, email, tracking, automation and SEO. We publish new ones every week.
Digital SystemsA practical method for choosing isolation, separating deadlocks from waits, retrying the whole transaction and protecting external effects.
E-commerceBuild a fraud-control system that combines reliable data, layered rules, selective 3D Secure and disciplined manual review without rejecting good customers.
Digital SystemsAn implementation guide to protecting the post-login session with tightly scoped cookies, identifier rotation, server-side timeouts and verifiable revocation.
Digital SystemsA practical approach to opaque cursors, deterministic ordering and read sessions that reduce duplicates, skipped records and deep-page costs.
Digital SystemsAn operational model for protecting catalog and checkout APIs from expensive GraphQL queries with measurable budgets, contextual limits, persisted operations and useful telemetry.
Digital SystemsA practical method for tracing slow queries, comparing estimates with actual rows, designing focused indexes and retiring unused ones safely.
Digital SystemsAn operational guide to separating deployment from exposure, building stable cohorts, stopping a risky release quickly, and removing flags without lasting debt.
Design amounts, currency scales, rounding and deterministic allocations so carts, payments, refunds and accounting always agree.
E-commerceDesign a payment flow that separates recoverable and terminal outcomes, limits retries and confirms orders only from an authoritative server-side state.
Digital SystemsAn operating model for logs that support incidents and audits without becoming an uncontrolled store of personal data, tokens and secrets.
Digital SystemsPartition orders and events around real query patterns, prove pruning, govern retention, and avoid excessive partitions or platform-specific hotspots.
Digital SystemsPublish events that remain consistent with ecommerce orders by combining a local transaction, relay or CDC, idempotent consumers and operational controls.
We reply within one business day with a first opinion and, if it makes sense, a quote.
Write to us