How much variation should we expect between approximate message count of queue and the actual message count

Con risposta How much variation should we expect between approximate message count of queue and the actual message count

  • lunedì 9 luglio 2012 22:43
     
     

    How much variation should we expect between approximate message count of queue and the actual message count. I always see a mistmatch in the count when the messages in the queue have expired. Today, I saw that the approximate message count was around 70K but there were 0 messages in the queue.

    Do the messages in the queue get hidden instead of being deleted if you explicitly set the expiration time. If that is the case then it would explian the mismatch. However, then the question arises that how much time does it take for the expired messages to be completely deleted from the queue.

    Thanks,

    Anuj


    http://www.anujchaudhary.com

Tutte le risposte

  • martedì 10 luglio 2012 05:28
    Moderatore
     
     

    Hi,

    Do you mean ServiceBus queue message or storage queue message. As far as i know, storage queue will expired after 7 days (Maximum message TTL), ServiceBus queue TTL is unlimited.

    You can refer to below link for more info about ServiceBus queue, Storage queue and their difference:

    http://msdn.microsoft.com/en-us/library/windowsazure/hh767287.aspx

    Hope this helps.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework

  • martedì 10 luglio 2012 05:45
     
     

    Hi, sorry for not being clear. I am referring to storage queue. My question is how much can the approximate message count of a queue vary from the actual number of messages in the queue.

    I always see a mistmatch in the count when the messages in the queue have expired. Today, I saw that the approximate message count was around 70K but there were 0 messages in the queue.

    Thanks,

    Anuj


    http://www.anujchaudhary.com

  • martedì 10 luglio 2012 08:22
    Moderatore
     
     Con risposta

    Hi,

    Would you like to check the Queue message is correct at your side? If you create a new Queue without any message to see if can reproduce the same problem.

    And can you get the Trace ID of that Exception? If yes, you can contact Azure support for more info about that queue:

    https://support.microsoft.com/oas/default.aspx?gprid=14928&st=1&wfxredirect=1&sd=gn

    Hope this helps.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com Microsoft One Code Framework