# compensating-transactions

Published articles for compensating-transactions.

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

## The Great Monolith Renaissance: Why Startups Are Fleeing Microservices

DevFeed: [The Great Monolith Renaissance: Why Startups Are Fleeing Microservices](<https://devfeed.tech/articles/the-great-monolith-renaissance-why-startups-are-fleeing-microservices-105535.md>)

Original publisher: [Read original article](<https://hackernoon.com/the-great-monolith-renaissance-why-startups-are-fleeing-microservices?source=rss>)

Author: Dua Amjad

Published: 2026-10-28T20:34:15Z

Content type: opinion

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [modular-monolith](<https://devfeed.tech/topics/modular-monolith.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>)

Tags: [amazon](<https://devfeed.tech/tags/amazon.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [backend](<https://devfeed.tech/tags/backend.md>), [billing](<https://devfeed.tech/tags/billing.md>), [bus](<https://devfeed.tech/tags/bus.md>), [cadence](<https://devfeed.tech/tags/cadence.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [clusters](<https://devfeed.tech/tags/clusters.md>), [code](<https://devfeed.tech/tags/code.md>), [communication](<https://devfeed.tech/tags/communication.md>), [compensating-transactions](<https://devfeed.tech/tags/compensating-transactions.md>), [development](<https://devfeed.tech/tags/development.md>), [devops](<https://devfeed.tech/tags/devops.md>), [great-monolith-renaissance](<https://devfeed.tech/tags/great-monolith-renaissance.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [modular-monolith](<https://devfeed.tech/tags/modular-monolith.md>), [monolith](<https://devfeed.tech/tags/monolith.md>), [overhead](<https://devfeed.tech/tags/overhead.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [software-architecture](<https://devfeed.tech/tags/software-architecture.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [startup](<https://devfeed.tech/tags/startup.md>), [startups](<https://devfeed.tech/tags/startups.md>), [tech-trends](<https://devfeed.tech/tags/tech-trends.md>)

### AI overview

The excerpt argues that small startup teams can lose product development time to microservices overhead, including cross-service coordination, network failure handling, distributed data consistency, and extra deployment and observability systems. It presents a modular monolith as one codebase and deployment with a shared database divided into modules, while acknowledging that keeping it maintainable is difficult. Suggested boundaries include separate database schemas and no cross-schema joins, an in-memory event bus for module communication, and public facades for accessing other modules. The decision matrix favors a monolith for teams of 1-20 building products with shifting requirements and a shared deployment cadence; it favors microservices for teams of 50+ with clear domain boundaries, differing deployment needs, or high DevOps headcount. These are the excerpt's recommendations and criteria.

### Source excerpt

Discover why tech startups are abandoning complex microservices to embrace the "Modular Monolith."Learn how reducing DevOps overhead can boost your development.

## The saga pattern is compensating transactions with better marketing

DevFeed: [The saga pattern is compensating transactions with better marketing](<https://devfeed.tech/articles/the-saga-pattern-is-compensating-transactions-with-better-marketing-94471.md>)

Original publisher: [Read original article](<https://ankit-rana.com/logs/68-sagas-are-compensating-transactions/>)

Author: hello@ankit-rana.com

Published: 2026-10-22T00:00:00Z

Content type: article

Language: en

Sources: [Ankit Rana | Mechanical Sympathy](<https://devfeed.tech/sources/ankit-rana-mechanical-sympathy.md>)

Topics: [Transactions](<https://devfeed.tech/topics/transactions.md>), [acid](<https://devfeed.tech/topics/acid.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [atomic](<https://devfeed.tech/tags/atomic.md>), [availability](<https://devfeed.tech/tags/availability.md>), [compensating-transactions](<https://devfeed.tech/tags/compensating-transactions.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [distributed-transactions](<https://devfeed.tech/tags/distributed-transactions.md>), [email](<https://devfeed.tech/tags/email.md>), [isolation](<https://devfeed.tech/tags/isolation.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [observable](<https://devfeed.tech/tags/observable.md>), [payment](<https://devfeed.tech/tags/payment.md>), [reliability](<https://devfeed.tech/tags/reliability.md>), [rollback](<https://devfeed.tech/tags/rollback.md>), [saga](<https://devfeed.tech/tags/saga.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

A saga trades a single transaction's isolation for independently committed service steps: intermediate states are visible, and failures require new compensating actions rather than rollback. Those actions can fail too, so the article calls for idempotent steps and compensations, retries, timeouts, durable and queryable saga state, and human escalation when compensation cannot succeed. It recommends ordering reversible work first and irreversible actions, such as sending confirmation, last; where possible, reserve resources before finalizing them. Choreography avoids a coordinator but leaves workflow and progress scattered across services. Orchestration centralizes sequencing, state tracking, recovery, and compensation, at the cost of a coordination component. The pattern adds substantial failure-path complexity; the author advises using it when service boundaries make a local transaction impossible, and notes that visible intermediate states must be acceptable to the product.

### Source excerpt

A saga replaces one atomic transaction with a sequence of local transactions, each of which commits and becomes visible immediately, so there is no isolation and intermediate states are observable. When a later step fails, earlier ones are undone by running compensating actions, which are forward operations with their own failure modes rather than a rollback. The difficulty is not the mechanism but the steps that cannot be compensated, such as an email already sent or a payment already captured, which have to be designed around rather than reversed.