Browse Prior Art Database

A method for mutual communication among multiple instances of an application in PaaS cloud environment Disclosure Number: IPCOM000238165D
Publication Date: 2014-Aug-06
Document File: 4 page(s) / 88K

Publishing Venue

The Prior Art Database


In this article, we describe a method to support mutual communication between application instances in PaaS cloud. In our method, we use a customized HTTP Header in the request, instead of 3rd-party components or services, to implement such communications. Our method remove the dependency on 3rd-party components or services, and increase the serviceability of the PaaS cloud and decrease the migration and maintenance efforts.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 53% of the total text.

Page 01 of 4

A method for mutual communication among multiple instances of an application in PaaS cloud environment

The Problem

In PaaS cloud environment, an application can scale in/out at any time and has uncertain count of instances.

These instances are transparent to each others: They are very dynamic - go alive and away at any time, and they are not aware of others.

So how can they communicate to each other to implement some common use scenarios, such as Leader and followers, Master and slaves , and Message broadcast etc.

Known Solutions

Use 3rd-party components(including database, message queue or other service etc.) as a centric service to communicate.

This solution involves a 3rd-party component as dependency, and will make it complicated to deploy, maintain and migrate the application and the PaaS system.


Page 02 of 4

The current invention discloses a method to support mutual communication among application instances, without dependency on 3rd-party components.

This method enhances the Router (or LoadBalancer or any component which has the same function) to support special messages from application instances, and then relay the messages to the instances themselves :

1. Enhance the Router to support special custom HTTP headers.

2. From some instance, add special custom HTTP headers in the messages for all instances of the application, and send the messages to the URL of the application .

3. The Router relays/forwards the messages to all instances for further processing.

4. After receiving the message from the Router, the instances do proper actions.


Advantage of the method proposed

1. This method uses the core and essential component of PaaS and removes the dependency on 3rd-party components.

2. This method decrease the complexity of deployment, maintenance and migration of the system.

Page 03 of 4

3. This method increases the reliability and serviceability since it has less dependency.

4. This method make it simple and easy to implement and program for applications - no need to program against 3rd-party component

Invention Details

1. Enhance the Router(or LoadBalancer or any component which has the same function) of PaaS to provide support of a custom header named X-YYYYY to use for relay messages between all instances of an application.

1) In the name of X-YYYYY,YYYYY could be any meaningful name.

2) The Router could use an internal domain name, which could only be accessible from inside the PaaS cloud to increase security.

2. Instance i1 of the application sends an HTTP request to the application URL, such as http://


1) This request has a custom HTTP header named X-YYYYY

2) The message could be the content of this header, or contained in the request body

3) The message could be encrypted/encoded using any secret/mechanism.

4) The message could contain information to identify itsel...