The Wayback Machine - https://web.archive.org/web/20240828110559/https://www.geeksforgeeks.org/what-is-a-distributed-system/
Open In App

What is a Distributed System?

Last Updated : 22 Apr, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

A distributed System is a collection of autonomous computer systems that are physically separated but are connected by a centralized computer network that is equipped with distributed system software. The autonomous computers will communicate among each system by sharing resources and files and performing the tasks assigned to them.

What-is-a-Distributed-System

Types of Distributed Systems

There are many models and architectures of distributed systems in use today.

  • Client-server systems: The most traditional and simple type of distributed system, involves a multitude of networked computers that interact with a central server for data storage, processing, or other common goal.
  • Peer-to-peer networks: They distribute workloads among hundreds or thousands of computers all running the same software.
  • Cell phone networks: It is an advanced distributed system, sharing workloads among handsets, switching systems, and internet-based devices.

The most common forms of distributed systems today operate over the internet, handing off workloads to dozens of cloud-based virtual server instances that are created as needed, and then terminated when the task is complete.

Example of a Distributed System

Any Social Media can have its Centralized Computer Network as its Headquarters and computer systems that can be accessed by any user and using their services will be the Autonomous Systems in the Distributed System Architecture.

Distributed-System

  • Distributed System Software: This Software enables computers to coordinate their activities and to share the resources such as Hardware, Software, Data, etc.
  • Database: It is used to store the processed data that are processed by each Node/System of the Distributed systems that are connected to the Centralized network.

Working-of-Distributed-System

  • As we can see that each Autonomous System has a common Application that can have its own data that is shared by the Centralized Database System.
  • To Transfer the Data to Autonomous Systems, Centralized System should be having a Middleware Service and should be connected to a Network.
  • Middleware Services enable some services which are not present in the local systems or centralized system default by acting as an interface between the Centralized System and the local systems. By using components of Middleware Services systems communicate and manage data.
  • The Data which is been transferred through the database will be divided into segments or modules and shared with Autonomous systems for processing.
  • The Data will be processed and then will be transferred to the Centralized system through the network and will be stored in the database.

Characteristics of Distributed System

  • Resource Sharing: It is the ability to use any Hardware, Software, or Data anywhere in the System.
  • Openness: It is concerned with Extensions and improvements in the system (i.e., How openly the software is developed and shared with others)
  • Concurrency: It is naturally present in Distributed Systems, that deal with the same activity or functionality that can be performed by separate users who are in remote locations. Every local system has its independent Operating Systems and Resources.
  • Scalability: It increases the scale of the system as a number of processors communicate with more users by accommodating to improve the responsiveness of the system.
  • Fault tolerance: It cares about the reliability of the system if there is a failure in Hardware or Software, the system continues to operate properly without degrading the performance the system.
  • Transparency: It hides the complexity of the Distributed Systems to the Users and Application programs as there should be privacy in every system.
  • Heterogeneity: Networks, computer hardware, operating systems, programming languages, and developer implementations can all vary and differ among dispersed system components.

Advantages of Distributed System

  • Applications in Distributed Systems are Inherently Distributed Applications.
  • Information in Distributed Systems is shared among geographically distributed users.
  • Resource Sharing (Autonomous systems can share resources from remote locations).
  • It has a better price performance ratio and flexibility.
  • It has shorter response time and higher throughput.
  • It has higher reliability and availability against component failure.
  • It has extensibility so that systems can be extended in more remote locations and also incremental growth.

Disadvantages of Distributed System

  • Relevant Software for Distributed systems does not exist currently.
  • Security possess a problem due to easy access to data as the resources are shared to multiple systems.
  • Networking Saturation may cause a hurdle in data transfer i.e., if there is a lag in the network then the user will face a problem accessing data.
  • In comparison to a single user system, the database associated with distributed systems is much more complex and challenging to manage.
  • If every node in a distributed system tries to send data at once, the network may become overloaded.

Use cases of Distributed System

  • Finance and Commerce: Amazon, eBay, Online Banking, E-Commerce websites.
  • Information Society: Search Engines, Wikipedia, Social Networking, Cloud Computing.
  • Cloud Technologies: AWS, Salesforce, Microsoft Azure, SAP.
  • Entertainment: Online Gaming, Music, youtube.
  • Healthcare: Online patient records, Health Informatics.
  • Education: E-learning.
  • Transport and logistics: GPS, Google Maps.
  • Environment Management: Sensor technologies.

Challenges of Distributed Systems

While distributed systems offer many advantages, they also present some challenges that must be addressed. These challenges include:

  • Network latency: The communication network in a distributed system can introduce latency, which can affect the performance of the system.
  • Distributed coordination: Distributed systems require coordination among the nodes, which can be challenging due to the distributed nature of the system.
  • Security: Distributed systems are more vulnerable to security threats than centralized systems due to the distributed nature of the system.
  • Data consistency: Maintaining data consistency across multiple nodes in a distributed system can be challenging.

Are Distributed Systems and Microservices the Same?

Distributed systems and microservices are related concepts but not the same. Let’s break down the differences:

  1. Distributed Systems:
    • A distributed system is a collection of independent computers that appear to its users as a single coherent system.
    • In a distributed system, components located on networked computers communicate and coordinate their actions by passing messages.
    • Distributed systems can encompass various architectures, including client-server, peer-to-peer, and more.
  2. Microservices:
    • Microservices is an architectural style that structures an application as a collection of small, autonomous services, modeled around a business domain.
    • Each microservice is a self-contained unit that can be developed, deployed, and scaled independently.
    • Microservices communicate with each other over a network, typically using lightweight protocols like HTTP or messaging queues.

While microservices can be implemented in a distributed system, they are not same. Microservices focus on architectural design principles, emphasizing modularity, scalability, and flexibility, whereas distributed systems encompass a broader range of concepts, including communication protocols, fault tolerance, and concurrency control, among others.

Conclusion

Distributed systems are becoming increasingly popular due to their high availability, scalability, and fault tolerance. However, they also present some challenges that must be addressed. By understanding the characteristics and challenges of distributed systems, developers can design and implement effective distributed systems that meet the needs of their users.



Previous Article
Next Article

Similar Reads

Distributed System - Thrashing in Distributed Shared Memory
In this article, we are going to understand Thrashing in a distributed system. But before that let us understand what a distributed system is and why thrashing occurs. In naive terms, a distributed system is a network of computers or devices which are at different places and linked together. Each one of these distributed computers shares the same s
4 min read
Distributed System - Types of Distributed Deadlock
A Deadlock is a situation where a set of processes are blocked because each process is holding a resource and waiting for another resource occupied by some other process. When this situation arises, it is known as Deadlock. A Distributed System is a Network of Machines that can exchange information with each other through Message-passing. It can be
4 min read
Distributed Information Systems in Distributed System
Distributed systems consist of multiple independent computers working together as a unified system. These systems offer enhanced scalability, reliability, and fault tolerance. They ensure efficient resource utilization and performance by distributing tasks across various nodes. One crucial aspect is managing and sharing data effectively, which is t
9 min read
Distributed Ledger Technology(DLT) in Distributed System
Distributed Ledger Technology (DLT) is a way to record and share data across multiple computers, ensuring that all copies of the data are synchronized and secure. Unlike traditional databases controlled by a single entity, DLT allows for decentralized data storage and management. This makes it harder for data to be tampered with and increases trans
11 min read
Operating System - Difference Between Distributed System and Parallel System
A distributed system is a model where distributed applications are running on multiple computers linked by a communications network. Sometimes it is also called loosely coupled systems because in which each processor has its own local memory and processing units. LOCUS and MICROS are some examples of distributed operating systems. Parallel Systems
4 min read
Difference between a Distributed Lock Manager and a Distributed Database
In today’s world, managing data and resources efficiently across multiple locations is crucial. Distributed Lock Managers and Distributed Databases are foundational in achieving this. They serve different yet complementary roles in distributed systems. While a distributed lock manager coordinates access to shared resources, a distributed database h
5 min read
Distributed Consensus in Distributed Systems
In distributed systems, achieving consensus among nodes is critical for maintaining coherence and reliability. This article explores the principles, algorithms, challenges, and applications of distributed consensus, which are essential for ensuring agreement across decentralized networks. Important Topics for Distributed Consensus in Distributed Sy
11 min read
Distributed System vs. Clustered System
When discussing scalability and reliability as well as performance in the context of computing, terms such as distributed systems and clustered systems are unavoidably mentioned. Even though they have a few common characteristics, they are two different ideas with different architectures and usage. It is important to understand the distinctions bet
5 min read
What is Scalable System in Distributed System?
In distributed systems, a scalable system refers to the ability of a networked architecture to handle increasing amounts of work or expand to accommodate growth without compromising performance or reliability. Scalability ensures that as demand grows—whether in terms of user load, data volume, or transaction rate—the system can efficiently adapt by
10 min read
Maekawa’s Algorithm for Mutual Exclusion in Distributed System
Prerequisite - Mutual exclusion in distributed systems Maekawa's Algorithm is quorum based approach to ensure mutual exclusion in distributed systems. As we know, In permission based algorithms like Lamport's Algorithm, Ricart-Agrawala Algorithm etc. a site request permission from every other site but in quorum based approach, A site does not reque
4 min read
Ricart–Agrawala Algorithm in Mutual Exclusion in Distributed System
Prerequisite: Mutual exclusion in distributed systems Ricart–Agrawala algorithm is an algorithm for mutual exclusion in a distributed system proposed by Glenn Ricart and Ashok Agrawala. This algorithm is an extension and optimization of Lamport's Distributed Mutual Exclusion Algorithm. Like Lamport's Algorithm, it also follows permission-based appr
3 min read
Lamport's Algorithm for Mutual Exclusion in Distributed System
Prerequisite: Mutual exclusion in distributed systems Lamport's Distributed Mutual Exclusion Algorithm is a permission based algorithm proposed by Lamport as an illustration of his synchronization scheme for distributed systems. In permission based timestamp is used to order critical section requests and to resolve any conflict between requests. In
5 min read
Suzuki–Kasami Algorithm for Mutual Exclusion in Distributed System
Prerequisite: Mutual exclusion in distributed systems Suzuki–Kasami algorithm is a token-based algorithm for achieving mutual exclusion in distributed systems.This is modification of Ricart–Agrawala algorithm, a permission based (Non-token based) algorithm which uses REQUEST and REPLY messages to ensure mutual exclusion. In token-based algorithms,
3 min read
Difference between Token based and Non-Token based Algorithms in Distributed System
A distributed system is a system in which components are situated in distinct places, these distinct places refer to networked computers which can easily communicate and coordinate their tasks by just exchanging asynchronous messages with each other. These components can communicate with each other to conquer one common goal as a task. There are ma
3 min read
Various Failures in Distributed System
DSM implements distributed systems shared memory model in an exceedingly distributed system, that hasn’t any physically shared memory. The shared model provides a virtual address space shared between any numbers of nodes. The DSM system hides the remote communication mechanism from the appliance author, protecting the programming ease and quality t
3 min read
Load-Sharing Approach in Distributed System
Load sharing basically denotes the process of forwarding a router to share the forwarding of traffic, in case of multiple paths if available in the routing table. In case there are equal paths then the forwarding process will follow the load-sharing algorithm. In load sharing systems, all nodes share the overall workload, and the failure of some no
6 min read
Types of Distributed System
Pre-requisites: Distributed System A Distributed System is a Network of Machines that can exchange information with each other through Message-passing. It can be very useful as it helps in resource sharing. It enables computers to coordinate their activities and to share the resources of the system so that users perceive the system as a single, int
8 min read
Difference Between Load Balancing and Load Sharing in Distributed System
A distributed system is a computing environment in which different components are dispersed among several computers (or other computing devices) connected to a network. These devices broke up the work and coordinated their efforts to do the job faster than if it had been assigned to a single device. Load Balancing:Load balancing is the practice of
2 min read
Deadlock Prevention Policies in Distributed System
A Deadlock is a situation where a set of processes are blocked because each process is holding a resource and waiting for a resource that is held by some other process. There are four necessary conditions for a Deadlock to happen which are: Mutual Exclusion: There is at least one resource that is non-sharable and can be used by only one Process at
4 min read
Event Ordering in Distributed System
In this article, we will look at how we can analyze the ordering of events in a distributed system. As we know a distributed system is a collection of processes that are separated in space and which can communicate with each other only by exchanging messages this could be processed on separate computers or it could even be multiple processes within
4 min read
Process Addressing in Distributed System
In this article, we will go through the concept of addressing processes involved in communication in Distributed Systems in detail. In a Message-based communication system, another vital issue is to name or address the processes that are involved in communication. The following are the two types of addressing schemes supported by the Message Proces
4 min read
RPC Implementation Mechanism in Distributed System
In this article, we will go through the concept of the Remote Procedure Call (RPC) and its working mechanism. RPC is an effective mechanism for building client-server systems that are distributed. RPC enhances the power and ease of programming of the client/server computing concept. It's a protocol that allows one software to seek a service from an
5 min read
Distributed System - Call Semantics in RPC
This article will go through the Call Semantics, its types, and the issues in RPC in distributed systems in detail. RPC has the same semantics as a local procedure call, the calling process calls the procedure, gives inputs to it, and then waits while it executes. When the procedure is finished, it can return results to the calling process. If the
3 min read
Lightweight Remote Procedure Call in Distributed System
Lightweight Remote Procedure Call is a communication facility designed and optimized for cross-domain communications in microkernel operating systems. For achieving better performance than conventional RPC systems, LRPC uses the following four techniques: simple control transfer, simple data transfer, simple stubs, and design for concurrency. In th
5 min read
Multidatagram Messages in Distributed System
In this article, we will go through the concept of Multidatagram messages in Distributed Systems in detail. In distributed systems, communication is carried out between processes by passing messages from one process to another. A message-passing system gives a collection of message-based IPC protocols while sheltering programmers from the complexit
3 min read
Handling Failure in Distributed System
A distributed system is a group of independent computers that seem to clients as a single cohesive system. There are several components in any distributed system that work together to execute a task. As the system becomes more complicated and contains more components, the likelihood of failure rises, resulting in decreased reliability. In other wor
9 min read
Issues in IPC By Message Passing in Distributed System
The sender sends a message that contains data and it is made in such a way that the receiver can understand it. The inter-process communication in distributed systems is performed using Message Passing. It permits the exchange of messages between the processes using primitives for sending and receiving messages. 1. A Fixed-Length Header with 3 Comp
5 min read
Distributed System - Parameter Passing Semantics in RPC
A Distributed System is a Network of Machines that can exchange information with each other through Message-passing. It can be very useful as it helps in resource sharing. In this article, we will go through the various Parameter Passing Semantics in RPC in distributed Systems in detail. Parameter Passing Semantics in RPC:The parameter passing is t
4 min read
Distributed System - Transparency of RPC
RPC is an effective mechanism for building client-server systems that are distributed. RPC enhances the power and ease of programming of the client/server computing concept. A transparent RPC is one in which programmers can not tell the difference between local and remote procedure calls. The most difficult aspect of designing an RPC facility is en
3 min read
File Accessing Models in Distributed System
In Distributed File Systems (DFS), multiple machines are used to provide the file system’s facility. Different file system utilize different conceptual models of a file. The two most usually involved standards for file modeling are structure and modifiability. File models in view of these standards are described below. File Accessing Models: The fi
4 min read
Article Tags :