Quotas and limits

This page lists the quotas that apply to Pub/Sub Lite.

Pub/Sub Lite enforces a limit of 1,000 Lite subscriptions per Lite topic. You cannot request an increase for the number of Lite subscriptions.

Request quotas

The following quotas apply to Pub/Sub Lite requests:

Request quota Value Description
Administrative read requests per min 600 Getting and listing Lite topics and Lite subscriptions
Administrative write requests per min 600 Creating, updating, and deleting Lite topics and Lite subscriptions, or acknowledging messages

These quotas apply to each Google Cloud Console project and are shared across all applications and IP addresses using that project.

Resource quotas

The following quotas apply to each zone:

Resource quota Value
Publishing throughput per project 64 MiB/s
Subscribing throughput per project 128 MiB/s
Storage per project 10 TiB
Lite subscriptions per Lite topic 1000

Lite topics store messages in partitions, and each message uses 256 bytes-1 MiB of storage. If the message is larger than 256 bytes, then the size of the message is the sum of the following:

  • The number of bytes in the encoded message body string
  • The number of bytes in the key and value of each attribute
  • The number of bytes in the ordering key
  • 12 bytes for the event timestamp

For more information about the message format, see the message resource in the Pub/Sub Lite API reference.

Quota increases

If you want to increase any of your quotas for Pub/Sub Lite, you can use the Google Cloud Console to request a quota increase. For details, see Requesting higher quota.