Search This Blog

2021-05-02

My Azure Study Note - 13 - Messaging, Storage Queue

Messaging in Azure

Azure has 4 fully managed messaging services

  1. Storage Queue
  2. Service Bus
  3. Events Grid
  4. Event Hubs

Storage Queue
• Part of Azure Storage Account
• The simplest queue implementation
• Create queue -> Send Message -> Receive message
• No special pricing for queue, included in Storage Account
• Same for availability

Performance:

• Requests (1KB msg)

• 20K msgs / sec / account

• 2K msgs / sec / queue

• Max msg size: 64KB 

Development:
• Client libraries for many development languages
• .NET, Java, Python, NodeJS, C++, PHP, Ruby
• Extremely simple object model

Create a Storage Queue

Step 1: Create a storage account


Step 2 : Click on Queues


Step 3 : Add a queue


Step 4. Add message


Step 5. Read Message from queue


Step 6. Copy connection string and paste it to the above connection string, run the programme



Step 7. Refresh the queue in azure and you can see nothing in the queue.
Write some new messages but you can see nothing appears in azure because as soon as we will write the message, it will be continiously pulling by the programme.


No comments: