Book Image

Serverless Integration Design Patterns with Azure

By : Abhishek Kumar, Srinivasa Mahendrakar
Book Image

Serverless Integration Design Patterns with Azure

By: Abhishek Kumar, Srinivasa Mahendrakar

Overview of this book

With more enterprises adapting cloud-based and API-based solutions, application integration has become more relevant and significant than ever before. Parallelly, Serverless Integration has gained popularity, as it helps agile organizations to build integration solutions quickly without having to worry about infrastructure costs. With Microsoft Azure’s serverless offerings, such as Logic Apps, Azure Functions, API Management, Azure Event Grid and Service Bus, organizations can build powerful, secure, and scalable integration solutions with ease. The primary objective of this book is to help you to understand various serverless offerings included within Azure Integration Services, taking you through the basics and industry practices and patterns. This book starts by explaining the concepts of services such as Azure Functions, Logic Apps, and Service Bus with hands-on examples and use cases. After getting to grips with the basics, you will be introduced to API Management and building B2B solutions using Logic Apps Enterprise Integration Pack. This book will help readers to understand building hybrid integration solutions and touches upon Microsoft Cognitive Services and leveraging them in modern integration solutions. Industry practices and patterns are brought to light at appropriate opportunities while explaining various concepts.
Table of Contents (15 chapters)

Handling large messages in hybrid integration scenarios

In hybrid integration scenarios, it is common that we need to send messages to BizTalk Server through Azure Service Bus queues or relays. However, the Service Bus has a restriction on the message size depending on the licensing tier. For example, if the Service Bus is of the standard tier, then the maximum size a message to the Service Bus can be is 256 kilobytes. If the Service Bus is on the premium plan, then the maximum size of the message is 1 MB. However, the premium plan costs a lot compared to the standard edition.

In order to resolve this issue, we can make use of Azure APIM to route messages depending on their size.

Azure APIM routes all messages that are larger than 256 kilobytes to a Logic App that stores the message in to a blob location, puts the blob location information into a message, and places it into a...