You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Distributed Systems are systems that consist of multiple independent components that communicate and coordinate with each other to achieve a common goal. These systems are designed to work together despite being located on different machines or networks.
3
+
4
+
## Overview
5
+
6
+
Distributed systems can be complex due to the challenges of network communication, data consistency, fault tolerance, and scalability. They are used in various applications, from cloud computing to large-scale web services.
7
+
8
+
### CAP THEOREM
9
+
10
+
The CAP theorem states that a distributed system can only guarantee two out of the following three properties at the same time:
11
+
12
+
1.**Consistency**: All nodes see the same data at the same time.
13
+
2.**Availability**: Every request receives a response, either success or failure.
14
+
3.**Partition Tolerance**: The system continues to operate despite network partitions.
15
+
16
+
In practice, this means that when designing a distributed system, trade-offs must be made between these properties based on the specific requirements of the application.
0 commit comments