Discover our quick start guide and build your first application in 5-10 minutes
Quick Start GuideTraditional microservices architectures force an impossible choice: monolithic databases with ACID transactions (simple but doesn't scale), or per-service databases with distributed sagas (scalable but complex compensation logic).
Sagas require extensive compensation logic for failure scenarios. Two-phase commit across services creates tight coupling and availability risks. Manual coordination between service databases increases operational complexity and infrastructure costs.
Shared Data Platform For Microservices
Microservices store state in Apache Ignite using service-specific tables within distribution zones, enabling ACID transactions across service boundaries without saga complexity.
Integration Pattern: Each microservice owns its tables within Apache Ignite. Cross-service operations use distributed transactions that span multiple tables. Transaction coordinator ensures atomic commits across service boundaries.
Consistency Model: Consensus replication provides ACID guarantees for distributed transactions. Snapshot isolation prevents read-write conflicts across services. No eventual consistency windows or compensation logic.
Performance Characteristics: Memory-first storage delivers low-latency state access. Partition-aware routing minimizes cross-service coordination overhead. Horizontal scalability handles service growth without performance degradation.
When This Pattern Works
This architecture pattern is best for:
Example Use Cases:
Distributed ACID transactions replace saga compensation logic. No need to write rollback handlers for every service interaction. Transaction coordinator ensures atomic commits across service boundaries. Reduces code complexity and maintenance burden.
Consensus replication ensures cross-service transactions commit atomically. No eventual consistency windows or intermediate states visible to other services. Snapshot isolation prevents read-write conflicts across service boundaries.
Single platform consolidates multiple per-service databases, caches, and coordination services. Significant cost reduction potential through infrastructure consolidation. Reduces operational overhead of managing multiple database systems.
Distribution zones provide logical isolation per service. Each microservice owns its tables and schemas. Cross-service transactions don't require tight coupling at the schema level. Services evolve independently while maintaining transactional consistency.
Discover our quick start guide and build your first application in 5-10 minutes
Quick Start GuideLearn about other Apache Ignite use cases
Use Cases Overview