Skip to main content

Distributed system

 

Distributed system

·         A distributed system is a collection of processor located in geographical dispersal physical location.

·         In this system, the workhold is distributed or divided between two or more computers that are linked together by communication network . that is the different processors communicate using communication links, such as telephone lines and buses3

·         The various processors do not share memory, clock ,or peripheral devices instead each processors has its local memory.

·         The purpose of distributed system is to provide an efficient and convenient environment for sharing of resources.

·         Some example of distributed operating system are amoeba, angle, chorus, much, alpha kernel.

·         The processors in a distributed system vary in size and function. They may include small microprocessors, workstations microcomputers, mainframe computers and large general purpose computers.

Model of distributed operating system

The design of distributed operating system is based on two models:

1.       Client-server model

2.       Peer-to-peer model

1.       Client-server model.  In client server model, the client send a resource request to the server and the server in turn provides the requested resources as the response back to client.

 

 


 

 2.       Peer-to-peer model. In peer-to-peer model, all the computers behave as clients. These clients communication with each other for exchange of their resources.

 

 

 


 

 Pros and cons  of Distributed system

    Pros of Distributed system

1.           Resource sharing: if number of different sites is connected to one another, then a user at one site may be able to use the resource available at another site.

2.         Computation speedup. A distributed system allows us to divide a computational work into sub-computations and distribute it among the various site.

3      .        Load sharing. In distributed system, if a particular site is overloaded with some jobs can be moved from one  site to another.

4.           Reliability : if one site fails in a distributed system, the remaining sites can continue operating. Giving the system better reliability.

5       .             Communication. When several sites are connected to one another by a communication network, the users at different sites can exchange information.

 

Cons of Distributed system

 

  • 1. It is difficult to provide adequate security in distributed systems because the nodes as well as the connections need to be secured.
  • 2. Some messages and data can be lost in the network while moving from one node to another.
  • 3. The database connected to the distributed systems is quite complicated and difficult to handle as compared to a single user system.
  • 4. Overloading may occur in the network if all the nodes of the distributed system try to send data at once.

Comments

Popular posts from this blog

Defination of OS(operating system) and its concepts

    What do you mean by operating system?     Definition :  An operating system is a program that act as an interface between the user of a computer and the                                      Computer hardware. Operating system is a first program that gets loaded into the memory through a process called booting. Concepts of operating system : ·                       The purpose of operating system is to provide an environment in which a user can execute program in a convenient and efficient manner. ·                       Operating system is an integrated set of program that ma...

Classification of Operating System

  Classification of operating systems The operating systems may be classified into different types depending upon the nature of interaction between the user and his/her program. The various types of operating system are : 1.       single user operating system    2.        Multi user operating system   3.         Batch processing operating system 4.        Multi programming operating system   5.       Multi tasking operating system   6.         Multiprocessing operating system 7.         Time sharing operating system 8.       Real time system      Distributed system Multi threading operating system       Single user operating system ·          ...

Process Termination or destroy a process

  Process Termination or destroy a process Processes may request their own termination by making the  exit( )  system call, typically returning an int. This int is passed along to the parent if it is doing a  wait( ) , and is typically zero on successful completion and some non-zero code in the event of problems. child code: int exitCode; exit( exitCode ); // return exitCode; has the same effect when executed from main( ) parent code: pid_t pid; int status pid = wait( &status ); // pid indicates which child exited. exitCode in low-order bits of status // macros can test the high-order bits of status for why it stopped Processes may also be terminated by the system for a variety of reasons, including: The inability of the system to deliver necessary system resources. In response to a KILL command, or other un handled process interrupt. A parent may kill its children if the task a...

Application Of Threads

  Application Of Threads This section discuss various implementation of threads. Multithreading concepts are implemented by pthread (POSIX standard), solaris, linux, window 2000 and java. 1. POSIX THREAD(Pthreads) ·          Pthread refers to the POSIX standard(IEEE 1003.IC) that defines an API for thread creation and sychronisation. ·          Prior to the of POSIX THREADS, each hardware vendor implemented their own version of threads. ·          As each implemented from the other, writing portable multithreaded application was difficult. Thus POSIX standardize the API for thread management. ·          The current Pthread API is defined only for C programming language and it is implemented as function with a header file Pthread.h and thread library. ·          The naming...

Multi processing system

  Multi processing system ·           Multi processesor system is the sytem that contain two or more processors or CPUS and has ability to simultaneously execute     several programs. Hence the name multi-processor In such a system, multiple processor share the clock, bus, memory and peripheral devices. ·           A multi processor system is also known as parallel system ·           Multi processor system are categorized into two different types:                single user operating system    2.        Multi user operating system   3.         Batch processing operating system 4.        Multi programming operating system   5.       Multi tasking operating sy...