Udostępnij za pośrednictwem


Co to jest usługa Azure Queue Storage?

Azure Queue Storage to usługa do przechowywania dużej liczby komunikatów. Uzyskujesz dostęp do komunikatów z dowolnego miejsca na świecie za pośrednictwem uwierzytelnionych wywołań przy użyciu protokołu HTTP lub HTTPS. A queue message can be up to 64 KB in size. Kolejka może zawierać miliony wiadomości, aż do całkowitego limitu pojemności konta magazynowego. Queues are commonly used to create a backlog of work to process asynchronously, like in the Web-Queue-Worker architectural style.

Queue Storage concepts

Queue Storage contains the following components:

Diagram showing the relationship between a storage account, queues, and messages.

  • URL format: Queues are addressable using the following URL format:

    https://<storage account>.queue.core.windows.net/<queue>

    Następujący adres URL adresuje kolejkę na diagramie:

    https://myaccount.queue.core.windows.net/images-to-download

  • Storage account: All access to Azure Storage is done through a storage account. For information about storage account capacity, see Scalability and performance targets for standard storage accounts.

  • Kolejka: kolejka zawiera zestaw komunikatów. The queue name must be all lowercase. For information on naming queues, see Naming queues and metadata.

  • Komunikat: komunikat w dowolnym formacie, o maksymalnym rozmiarze 64 KB. Before version 2017-07-29, the maximum time-to-live allowed is seven days. W przypadku wersji 2017-07-29 lub nowszej maksymalny czas wygaśnięcia może być dowolną liczbą dodatnią lub -1 wskazującą, że komunikat nie wygasa. Jeśli ten parametr zostanie pominięty, domyślny czas wygaśnięcia wynosi siedem dni.

Następne kroki