Contact on:

BusinessCommercialComputer ScienceWorld

Distributed system Communication techniques

5 Mins read
distributed systems

Distributed system Communication techniques

  1. Remote procedure call
  2. Remote method communication –based on objects i.e. method invocation between client and server
  3. MOM – Message Oriented Middleware
  4. Data streaming

For every Communication technique in distributed system, establish what it is and how it is in distributed system environment and also the challenges

The basis of communication in distributed system is Layered protocols. Establish why there is need for layering, identifying various services offered by these layers

Models include:

  1. OSI 7 layered Model
  2. TCP/IP protocol suite model

The OSI is suitable for computer network environment but for distributed systems, there is a challenge and therefore need for middleware

Why need middleware?

Note that having powerful and flexible opportunities for communication between services is essential for any distributed system.

In traditional network applications, communication is based on low level message passing primitives offered by the transport layer. An important issue in middleware systems is to offer a high level of abstraction that will make it easier to express communication between processes than this approach offered by the interface to the transport layer.

distributed systems
distributed systems

RPC in distributed systems

One of the most widely used abstractions is the RPC. The essence of RPC is that a service is implemented by means of a procedure of which the body is executed at a server. The client is offered only the signature of the procedure that is the procedure stem along with its parameters.

How does RPC work?

We have a client stub and the server stub.

When the client calls the procedure, the client side presentation called a client stub takes care of wrapping the parameter values into a message and sends it to the server. The server then calls the actual procedure and returns the result again in a message. The client stub extracts the result values from the return message and passes it back to the calling client application.

What type of communication does RPC effect? Is it persistent, transient, synchronous, asynchronous?

RPCs offer synchronous communication facilities by which a client is blocked until the server has sent a reply. Although variations of either mechanisms exist by which distrithis model is rela… it turns out that the general purpose high level message oriented models are often more convenient.

What are the limitations of RPCs? Can they be addressed through RMI?

What is RMI and how does it work?

Focus on similarities and differences between RPCs and RMIs

The message oriented model (MOM) Communication techniques distributed system – what is it and how does it work? What are its advantages over other communication models i.e. RPC/RMI?

In MOM (Message Oriented Models) the issues are whether or not communication is persistent and whether or not communication is synchronous.

  • After a careful analysis that MOM models generally offer persistent asynchronous communication and are used where RPCs are not appropriate.

Application areas

  1. They are used to assist in the integration of widely dispersed collection of databases into large scale information systems.
  2. Email
  3. Workflows


A very different form of communication is that of streaming in which the issue is whether or not two successive messages have a temporal relationship. In continuous data streams, a maximum end to end delay is specified by each message. In addition, it is also required that messages are sent subject to a minimum end to end delay. Examples of continuous data streams are video and audio streams.

Challenges of data streaming communication approach

  1. Giters
  2. Unreliable links
  3. Loads


The basic idea behind multi casting is to disseminate information from one sender to multiple receivers. First, multicasting can be achieved by setting up a tree from the sender to the receiver. Considering that it is now well understood how self organized into peer to peer systems, solutions have also appeared to dynamically set up trees in a decentralized fashion.

What is multicasting and what are the challenges of multicasting? How is it implemented in a distributed system?

distributed systems
distributed systems

NAMING in distributed system

The need for naming in distributed systems

The type of names that exist –

  • Human readable names
  • Identifiers
  • Addresses

Various naming techniques

  • Flat naming
  • Structured naming
  • Attribute based names

There is need of mapping names onto computational entities.

Finding the entity, a name it refers to is known as name resolution. To engage in this effort, there is need for a naming system.

Features of distributed systems that make naming difficult

  1. Openness
  2. Location
  3. Mobility
  4. Distribution of the naming system

The issues of a naming system that needs to be addressed by the naming system are

  1. Distribution
  2. Scalability
  3. Efficiency

What does defining a distributed naming system require?

  1. Defining a set of admissible names for the entities
  2. Defining the set of the named entities
  3. Defining the association between names and entities.

What challenge that scalability pose here? It is about introducing new entities, each entity requires to be given a name which is a challenge

What is a name? a name is something that refers to an entity. It could be a string, symbols, etc.

Defining the set of admissible names determines how we can speak about the system. An entity is something one can operate on by accessing it through an access point.

An access point is a special sort of entity in distributed systems used to access an entity.

What does it entail to access an identity through an access point? This requires an address. The address of an access point can be called the address of the entity

What is the relationship between addresses and names?

Addresses are some sort of names which are unfriendly for human.

Location independency is another issue of addresses.

An identifier is another type of name and it refers to at most one entity. This means that each entity is referred to by at most one identifier. An identifier always refers to the same entity which is never reused.

Distinction between addresses and identifiers. Use stable analogy.

Identifiers and addresses are often in machine readable form. This poses a challenge to humans because they cannot handle them easily. This might create problems in the use, monitoring and control of distributed systems.

There is therefore need for use of human friendly names. This brings another need of name resolution which is about resolving names to addresses.

The main issue is how do we associate names and identifiers to addresses?


Look at the DNS case and how it addresses the issue of associating names and identifiers to addresses?

  1. Flat naming
  2. Structured naming
  3. Attribute based naming

Flat naming

It’s the simplest, where a name is just a flat sequence of characters or symbols. Examples are broadcasting where messages containing the identifier of the given entity is sent to everyone but only the machine containing the entity responds.

The challenge of this approach is inefficiency that arises from network growth.

Multi casting – it’s also used in multicasting where only a strict group of … receives the request.

Structured naming

Structured names are composed of simple human readable names. A good example of this is the internet namespace.

Have an understanding of namespaces

names are organized hierarchically according to a level directed graph that is called a naming graph.

How is the structure of a naming graph?

               We have

  1. Leaf notes – represent named entities.
  2. Directory notes – have a number of outgoing pages each labelled with an identifier.


Limitations of flat and structured naming

  1. Flat naming allows for unique and location independent way to refer to distributed entities.
  2. Structured naming provides for human friendliness. The challenge is how is it possible to exploit information associated to entities to exploit them?

ATTRIBUTE BASED NAMING in distributed systems

               Many ways can be used to describe an entity. The most popular approach is to use a collection of (attribute value pairs) associated with an entity to describe it. These are also referred to as directory services.

Choosing the right set of attributes to describe the resources is the most important thing.

This can be achieved through resource distribution framework (RDF). This is simply a model for describing resources and the references in RDF are essentially URLs.

To use RDF involves querying a directory service. if resource description is stored, they can be queried when looking for a particular resource. The query returns a reference to the resource to be .. by the application.

How relevant is naming to distributed systems? What is naming? Distinguish between names, addresses and identifiers

Look at the different approaches to naming.

Look at concept of namespace with special attention to the DNS case

distributed systems
distributed systems
  • How to make money on YouTube
    What is YouTube? YouTube is a video-sharing website where users can upload, share, and view videos. YouTube was founded in February 2005 and has since become the most popular video-sharing website…
  • How to Create a Basic HTML Page
    HTML is the foundation of the World Wide Web. It is the markup language used to structure the content of a web page. HTML is divided into two main parts: the…
  • COMPUTER SCIENCE / IT Project Documentation Example.
    COMPUTER SCIENCE / IT Project Documentation Example free download. A common question asked of project management leaders is, “What is the value of project documentation, and how can I be sure…
  • How to Make Money as a Web Developer
    How to Make Money as a Web Developer There are many ways to make money as a web developer. Here are some of the most common: 1. Freelance work This is…
  • The Easy way to Start A Service Business Online
    Start A Service Business Online A Step-By-Step Guide. If you have a service-based business, then you’ve probably thought about how to start a service business online. One of the best ways to start a service business online is to combine your strong points with what the internet has to offer and maximize your strengths. # In this article, we’ll walk you through the steps to take in order to build a successful service-based business from scratch. # Keep on reading if you’d like some simple tips for starting a new service company.
99 posts

About author
Web developer, Web-based Software systems designer, and developer, Networking, Social Marketer, PHP programmer, Photographer, blogger. Student final year project helper.
Related posts
CommercialComputer ScienceHury YouVideos

How to make money on YouTube

3 Mins read
What is YouTube? YouTube is a video-sharing website where users can upload, share, and view videos. YouTube was founded in February 2005 and has since become the most popular video-sharing website in the world. Users…
Computer Science

How to Create a Basic HTML Page

1 Mins read
HTML is the foundation of the World Wide Web. It is the markup language used to structure the content of a web page. HTML is divided into two main parts: the document content and the…
Computer ScienceTech

COMPUTER SCIENCE / IT Project Documentation Example.

1 Mins read
COMPUTER SCIENCE / IT Project Documentation Example free download. A common question asked of project management leaders is, “What is the value of project documentation, and how can I be sure I’m doing it correctly?”…

Leave a Reply

Your email address will not be published.