Azure Logic Apps is cloud-based service that provide serverless architecture for your Business operations. A developer can develop and apply the cloud-based integrations and workflows within no-time as he gets components prepared and available.
It’s a fully cloud service that there are no need of any hardware or software infrastructure required. They can connect with any big data applications or 3rd party solutions and can even custom-built their own applications.
Technique of Logic Apps
The Logic is simple. They have predefined “connectors” and “actions” which can be used like inter-related blocks to create n no.of cloud-based workflows.
In this Article, you are going to learn about one such Logic Apps called as Azure Service Bus
First, you need to understand the concept of Decoupled systems. Two or more systems who does not have or have minimal knowledge on each other are interfaced without being connected.
Okay!. Now let’s get back to our Azure Service Bus.
Azure Service Bus provides an ability to share data between these decoupled systems.
Any system or application need to communicate with other system or application. There might be different scenarios of communications.
An application will send a message and another application will receive the messages through a simple queue.
An application that requires the queue to form a subscribe mechanism that sends messages to the subscribers.
In some applications, a connection between applications is to required to built so that they can share the messages without disturbing the established network and firewall protocols.
Azure Service Bus allows all the above given communications possible between decoupled systems. It is a multi-user shared cloud service provider.
An end application will create a namespace and defines the communication mechanism for each namespace.
There are 3 different types of Communication Mechanisms: Queue, Topic and Relay.
A sender sends a message to the queue and a receiver receives that message after sometime time. A queue can have only one receiver.
Senders submit messages to a topic. The topics enable the receiving application creates its own subscription and defines a filter to every subscription. Only those messages that are matching the filter are received by the application.
You want to connect two on-premises applications that are running inside a corporate center. each datacenter has its own network address translation (NAT) that blocks incoming data as application sits behind the firewall.
Service Bus allows applications to establish a Transmission Control Protocol (TCP) connection that opens all the communication between the two applications travel through this connection.
One practical Example of Relays is an airline reservation system. Consider the system is running in an on-premises datacenter of Begumpet Airport. Only through check-in kiosks, mobile devices, and other computers one get access into this system.
The applications running on all these systems could rely on Service Bus to communicate easily. This is the reason behind why you are able to check-in through your mobile before reaching the airport.
Benefits of Azure Service Bus
It allows message of size 256 KB to 1 MB.
a queue can store many messages at once and have a storage capacity up to 5 GB.
Connects or decouples any no.of on premises systems.
Protects from temporary spikes in traffic.
It is so dependent on TCP which may require opening outbound ports on the firewall.
Get Updates on Tech posts, Interview & Certification questions and training schedules