...

/

Messaging queue-Illustrations and other stuffs backup

Messaging queue-Illustrations and other stuffs backup

Requirements and goals of the system

In a distributed messaging queue data resides on several machines. Our aim is to design a distributed messaging queue having the following functional and non-functional requirements.

Functional Requirements

Following are the actions that a client should be able to perform.

  • CreateQueue: The client can create a queue via this API call. This API call can get other parameters to control the other configuration attributes of a queue being created.

  • SendMessage: This API call enables a client to send messages to a queue. In addition to other parameters, this API call takes the message with a limited size. Generally, most of the popular services like Amazon SQS and Microsoft MSMQ allow a maximum size of 256KB and 4MB, respectively. There are various approaches used to send messages larger than the specified allowed sizes. One approach is to divide the message into small chunks at the sender’s side and ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy