To explain the concepts of Azure Functions, we'll make use of a fictional company, ShipAnyWhere. ShipAnyWhere is a large logistical company that is specialized in commerce and fulfillment. ShipAnyWhere provides solutions for e-commerce businesses across the world. It has got more than 100 distribution centers across more than 30 countries. It provides B2B, e-commerce, and multi-channel fulfillment solutions to its customers using cutting-edge technologies.
ShipAnyWhere has a web application that allows orders to be submitted by customers. When an order is submitted, the following takes place:
- The web application puts the Order message in a Service Bus queue
- An Azure Function receives the Order messages from the Service Bus queue
- The availability of the products being ordered is checked with Inventory DB, which is a Cosmos DB database collection
- Based...