# distributed-transaction

Published articles for distributed-transaction.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## When the action succeeds and the audit write doesn't

DevFeed: [When the action succeeds and the audit write doesn't](<https://devfeed.tech/articles/when-the-action-succeeds-and-the-audit-write-doesn-t-16002.md>)

Original publisher: [Read original article](<https://workos.com/blog/audit-log-write-reliability>)

Author: WorkOS

Published: 2026-09-04T00:00:00Z

Content type: article

Language: en

Sources: [WorkOS Blog](<https://devfeed.tech/sources/workos-blog.md>)

Topics: [Logging](<https://devfeed.tech/topics/logging.md>), [systems](<https://devfeed.tech/topics/systems.md>), [payload](<https://devfeed.tech/topics/payload.md>)

Tags: [audit](<https://devfeed.tech/tags/audit.md>), [distributed-transaction](<https://devfeed.tech/tags/distributed-transaction.md>), [logging](<https://devfeed.tech/tags/logging.md>), [metric](<https://devfeed.tech/tags/metric.md>), [retry](<https://devfeed.tech/tags/retry.md>)

### AI overview

The article examines why audit logs can become unreliable when an application performs an action and writes its audit record as separate operations. It describes silent gaps, phantom events, and duplicate events caused by failures, ordering, and retries, emphasizing that audit records must remain trustworthy evidence.

### Source excerpt

When the action succeeds and the log write fails, you get a gap that nothing alerts on. Here is the write path that closes it.

## Dropbox's Former Most Senior Eng: Building Great Systems and Advice for the AI Era | James Cowling

DevFeed: [Dropbox's Former Most Senior Eng: Building Great Systems and Advice for the AI Era | James Cowling](<https://devfeed.tech/articles/dropbox-s-former-most-senior-eng-building-great-systems-and-advice-for-the-ai-era-james-cowling-18091.md>)

Original publisher: [Read original article](<https://www.developing.dev/p/dropboxs-former-most-senior-eng-building>)

Author: Ryan Peterman

Published: 2026-05-25T10:00:57Z

Content type: opinion

Language: en

Sources: [The Developing Dev](<https://devfeed.tech/sources/the-developing-dev.md>)

Topics: [systems](<https://devfeed.tech/topics/systems.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>)

Tags: [concurrency](<https://devfeed.tech/tags/concurrency.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-system](<https://devfeed.tech/tags/distributed-system.md>), [distributed-transaction](<https://devfeed.tech/tags/distributed-transaction.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [replication](<https://devfeed.tech/tags/replication.md>), [systems](<https://devfeed.tech/tags/systems.md>), [technical](<https://devfeed.tech/tags/technical.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

A podcast interview with James Cowling, CTO of Convex and former senior engineer at Dropbox, about designing abstractions and large-scale transactional systems. Cowling discusses Granola, distributed transaction coordination, concurrency, Byzantine fault tolerance, and career advice in the context of AI.

### Source excerpt

Transcript & Audio

## Distributed Transaction Design: Trade-offs Between Consistency and Scalability

DevFeed: [Distributed Transaction Design: Trade-offs Between Consistency and Scalability](<https://devfeed.tech/articles/most-engineers-want-both-consistency-and-scalability-17957.md>)

Original publisher: [Read original article](<https://newsletter.systemdesignclassroom.com/p/most-engineers-want-both-consistency-and-scalability>)

Author: System Design Classroom

Published: 2025-09-25T11:43:41Z

Content type: article

Language: en

Sources: [System Design Classroom](<https://devfeed.tech/sources/system-design-classroom.md>)

Topics: [Scalability](<https://devfeed.tech/topics/scalability.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>)

Tags: [distributed-transaction](<https://devfeed.tech/tags/distributed-transaction.md>), [performance](<https://devfeed.tech/tags/performance.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

This article examines distributed transaction design through Two-Phase Commit, Saga with Orchestrator, and Saga with Choreography. It explains that these approaches protect distributed workflows but involve trade-offs between consistency, performance, locking, failure recovery, and scalability.

### Source excerpt

Reality Doesn't Work That Way.

## Distributed transactions: What, why, and how to build a distributed transactional application

DevFeed: [Distributed transactions: What, why, and how to build a distributed transactional application](<https://devfeed.tech/articles/distributed-transactions-what-why-and-how-to-build-a-distributed-transactional-application-23780.md>)

Original publisher: [Read original article](<https://cockroachlabs.com/blog/distributed-transactions-what-why-and-how-to-build-a-distributed-transactional-application>)

Author: Charlie Custer

Published: 2023-02-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Cockroach Labs](<https://devfeed.tech/sources/cockroach-labs.md>)

Topics: [Transactions](<https://devfeed.tech/topics/transactions.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [distributed-systems](<https://devfeed.tech/topics/distributed-systems.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Availability](<https://devfeed.tech/topics/availability.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [Network](<https://devfeed.tech/topics/network.md>)

Tags: [availability](<https://devfeed.tech/tags/availability.md>), [database](<https://devfeed.tech/tags/database.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-transaction](<https://devfeed.tech/tags/distributed-transaction.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [network](<https://devfeed.tech/tags/network.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

This tutorial explains database transactions and distributed transactions, including their all-or-nothing behavior, how they span multiple database nodes, and why workloads are distributed for horizontal scalability, availability, and fault tolerance.

### Source excerpt

Transactions make up an important part of the database workload for most modern applications. And when it comes time to scale up operations for a growing business, distributing those workloads across multiple hardware systems for horizontal scalability, high availability, and fault tolerance is often an important part of the plan.

## Varnish to Redis Migration

DevFeed: [Varnish to Redis Migration](<https://devfeed.tech/articles/varnish-to-redis-migration-26226.md>)

Original publisher: [Read original article](<https://medium.com/groupon-eng/varnish-to-redis-migration-887ad6d805d2?source=rss----5c13a88f9872---4>)

Author: Ravikumar

Published: 2022-03-22T15:39:20Z

Content type: article

Language: en

Sources: [Groupon Engineering -- Medium](<https://devfeed.tech/sources/groupon-engineering-medium.md>)

Topics: [migration](<https://devfeed.tech/topics/migration.md>), [Caching](<https://devfeed.tech/topics/caching.md>), [Amazon EKS](<https://devfeed.tech/topics/amazon-eks.md>), [Redis](<https://devfeed.tech/topics/redis.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [cache-invalidation](<https://devfeed.tech/tags/cache-invalidation.md>), [caching](<https://devfeed.tech/tags/caching.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [distributed-transaction](<https://devfeed.tech/tags/distributed-transaction.md>), [haproxy](<https://devfeed.tech/tags/haproxy.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [migration](<https://devfeed.tech/tags/migration.md>), [nginx](<https://devfeed.tech/tags/nginx.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [redis](<https://devfeed.tech/tags/redis.md>), [varnish](<https://devfeed.tech/tags/varnish.md>)

### AI overview

Groupon describes migrating its Varnish caching infrastructure to Redis while moving application workloads to AWS EKS. The article focuses on a high-traffic place read service, the limitations of TTL-based cache invalidation, and the planned shift to event-based expiration.

### Source excerpt

At Groupon, we are in the process of migrating our app workloads to AWS EKS. As part of the migration, we are also in the process of re-architecting our services to make them cloud & Kubernetes optimised. In this article, we will focus on the impact of cloud migration on Varnish caching at Groupon. For the uninitiated, Varnish is a high-performance reverse caching proxy. For simplicity, you can think of it as a general proxy such as HAProxy or Nginx with caching support so that it doesn't have to go to a backend service every time it receives a request. Internally, Varnish cache uses pthreads heavily(to the tune of 1000s) to serve the requests. In contrast, Redis is single-threaded. Varnish at Groupon & Place Read Service We have been using Varnish for many of our high-traffic services. These read-heavy services get traffic to the tune of millions of RPM. One such service is our place read service which is called on each & every deal page visit; it will be the focus of this article. Place read service stores all the locations a deal can be redeemed. Ex: Redemption location details of the deal https://www.groupon.com/deals/parent-big-littles-3 is highlighted below. Traffic pattern of place read service The service is called more than a billion times a day with peak traffic of ~2 million requests per minute. Current architecture (simplified) The traffic is served by a cluster of 4 Varnish servers (40GB RAM). The current Varnish hit rate is 95%. This is admittedly a low hit rate for a read-heavy service, the main reason being our TTL-based cache invalidation logic. Varnish cache invalidation We are using TTL-based cache invalidation. This usually leads to a problem where Varnish starts bombarding the backend service when most of the keys expire at the same time. Request coalescing is not very helpful when the unique keys count is in millions (which is the case with our service). As a workaround, we use randomised TTLs (between 30 to 60 mins) so that all the keys don't