Distributed paradigms
Distributed paradigms

This free course is available to start right now. Review the full course description and key learning outcomes and create an account and enrol if you want a free statement of participation.

Free course

Distributed paradigms

2.3 Synchronous and asynchronous message passing

Synchronous message passing involves one entity (usually a client) in the message passing process sending a message and a second entity (usually a server) receiving it, carrying out some processing and then sending back some response which the first entity processes in some way. While the second entity is carrying out the processing the first entity pauses waiting for the response.

In asynchronous message passing each entity in the process does not have to wait for the next part of the dialogue they are engaged in and can carry out some other task. For example, the server could be carrying out some processor-intensive task for another service which it provides. This form of message passing, where there is no close coordination between message passing entities, is known as asynchronous message passing.

One way of implementing this would be to place protocol messages on some intermediate queue middleware which would be periodically interrogated by a client; in between interrogating the middleware the client would carry out useful work. This is the idea behind message-oriented middleware.

M879_1

Take your learning further

Making the decision to study can be a big step, which is why you'll want a trusted University. The Open University has nearly 50 years’ experience delivering flexible learning and 170,000 students are studying with us right now. Take a look at all Open University courses.

If you are new to university level study, find out more about the types of qualifications we offer, including our entry level Access courses and Certificates.

Not ready for University study then browse over 900 free courses on OpenLearn and sign up to our newsletter to hear about new free courses as they are released.

Every year, thousands of students decide to study with The Open University. With over 120 qualifications, we’ve got the right course for you.

Request an Open University prospectus