Explore tens of thousands of sets crafted by our community.
Distributed System Patterns
10
Flashcards
0/10
Service Discovery
A pattern in microservices architectures where services dynamically discover and communicate with one another. It's essential for routing requests and services scaling and deployment.
MapReduce
A programming model for processing and generating large datasets with a parallel, distributed algorithm on a cluster. A 'Map' step distributes the computing, and a 'Reduce' step aggregates the results.
Two-Phase Commit (2PC)
A type of atomic commitment protocol that is used in distributed systems to achieve high levels of consistency and ensure that all participants in a transaction either commit or rollback changes.
Sharded Services
A pattern where the dataset is partitioned across multiple services to improve scalability and manageability. Commonly used in databases to distribute load.
Gossip Protocol
A communication protocol that disseminates information in a distributed system, much like the spreading of a rumour, to ensure eventual consistency and fault tolerance.
Load Balancer
A device or software that distributes network or application traffic across a number of servers to improve responsiveness and reliability of applications, web sites or other services.
Singleton Service
A service instance that's running once at any point in time across a distributed system. It's used for operations that cannot be duplicated, such as aggregating metrics.
Consensus Protocol
A protocol used to achieve agreement on a single data value among distributed processes or systems. Paxos and Raft are common examples used for replicated state machines.
Circuit Breaker
A stability pattern that prevents a system from repeatedly trying to execute an operation that's likely to fail. It helps to prevent cascading failures and allows for recovery.
Eventual Consistency
A consistency model for distributed computing which allows for temporary data inconsistencies but guarantees that all nodes will converge to the same state without conflict, given enough time.
© Hypatia.Tech. 2024 All rights reserved.