Urgent.News

What's breaking now, across thousands of outlets.

Tech

Integrate App Event Logging Without Advanced Infrastructure — A Rollback-Safe Checkout API

TL;DR: integrate app event logging with one small, versioned event contract at the checkout boundary, and send it through a plain HTTPS endpoint that can be disabled without changing the payment path. Record the attempt, the failure class, the release identifier, and the rollback decision. Do not make the logging call a prerequisite for completing or reversing an order. That rule is deliberately…

Integrating app event logging into the checkout boundary of a marketplace app does not require advanced infrastructure. The logging should be a simple, versioned event contract sent through a plain HTTPS endpoint that can be disabled without affecting the payment process. When recording the event, include the attempt ID, the time it occurred, the release identifier, the outcome, and the failure class. Do not include sensitive information like payment credentials, access tokens, or customer data.

The event payload should be a compact JSON format, containing the event name, schema version, attempt ID, occurrence time, release ID, outcome, failure class, and correlation ID. The attempt ID serves as an idempotency key for the event stream, while the order ID remains separate for reconciliation purposes. The release ID helps SREs compare cohorts after deployment, and the failure class should be coarse enough to remain stable during incidents.

Rollback safety is critical for the logging path, as it becomes another dependency. If the checkout waits for telemetry before returning a result, an observability outage could become a checkout outage. Instead, use an asynchronous, bounded handoff where events are enqueued locally, and the business result is returned independently.

The queue should have a limit based on the worst plausible burst of events, not the average request rate. Include a discard policy for loss of records, ensuring that it does not block order creation.

To implement this, create a compact JSON structure representing the event with the necessary fields and a sink interface for publishing the events. Use an HTTP client as the sink implementation, marshaling the event payload before sending it over HTTPS. This simple API gives up some vendor-specific features but provides a boundary that can be integrated, tested, and disabled during rollbacks.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Password Reset Deliveries: 3 Receipt Template Controls for Email Domain Reputation

Keep receipt templates under an explicit approval owner, and make sender-domain review part of releasing the receipt sent after payment settles.

  • Email domain reputation affects password reset email delivery
  • Implement three controls: approved template, sender-domain approval, single auditable receipt
  • Separate receipt content, recipient selection, and sender identity responsibilities

Google made $63 billion from Search. So why are you getting fewer clicks?

First published on yappatyih.com . TL;DR Alphabet reported on 28 October 2026 that Google Search and other earned $63.35 billion in the third quarter, up 12% from a year earlier.

  • Google's Search generated $63.35 billion in Q3 2026, a 12% increase from 2025.
  • AI Overview reduces organic clicks by 38%, as per Agarwal and Sen's experiment.

More from Monday 2 November →