Cloud communications with a publish/subscribe (pub/sub) architecture
One of the key features of an enterprise system architecture is the ability to utilize message queues to communicate between disparate systems. In the cloud we should be able to accomplish the same thing. There are a number of services available to accomplish this objective in each of the four major clouds.
Many developers referto the publish/subscriber pattern, or "pub/sub" to describe message queues. I often refer to this as a bus or bus pattern. The model that I use is sometimes called Lightweight Messaging Architecture, or LMA.
A message queue allows a publisher to publish a message and one or more subscribers. It generally bridges the gap between programs that run on different operating systems or data structures. When used properly it can help to scale out a system and prevent message loss. Unfortunately, it also tends to add latency to the system.
Using an LMA has a lot of advantages over traditional direct-to-service architectures, as follows:
- The bus can be placed in the internet (dmz) zone with a public IP to eliminate all open inbound ports. Let's face it, hacking becomes much more difficult when all inbound ports are closed or blocked.
- The security footprint exposes only one public IP address for the entire system, which simplifies monitoring or intrusion detection
- The bus will generally persist its data in a manner that allows another bus to act as a backup or redundant system. This simplifies backup and disaster recovery.
- A bus helps create a hybrid network without direct connections
- All of the major clouds have a message queue service available, or you can create your own if you wish
Single message formats simplify your architecture
FREE Membership Required to View Full Content:
Joining MSDynamicsWorld.com gives you free, unlimited access to news, analysis, white papers, case studies, product brochures, and more. You can also receive periodic email newsletters with the latest relevant articles and content updates.
Learn more about us here
or
login
FREE Membership Required to View Full Content:
Joining MSDynamicsWorld.com gives you free, unlimited access to news, analysis, white papers, case studies, product brochures, and more. You can also receive periodic email newsletters with the latest relevant articles and content updates.
Learn more about us here