Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

azure notification hub tag limits

reading the pricing details

http://azure.microsoft.com/en-us/pricing/details/notification-hubs/

there seems to be a limit of number of tags used in a push.

Broadcast (tag size)    Limited to 10K  Limited to 10K  Unlimited
# of tags (broadcast groups)    Limited to 3K   Limited to 3K 3 Unlimited

Q1. so does that mean max tags per push is 10K? assuming that there is only 1 tag per device.

Q2. is the number of tags stored unlimited?

essential i need to map a tag to device id. And then send a bunch of tags in a send. sounds straight forward, but i cant determine of there is a limit.

any help appreciated.

thanks

-lp

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Broadcast (tag size) - Limited to 10K means that number of devices with same tag is limited by 10K. Example:

  • You have application which sends advertising according food preferences,
  • At some point you decide to send a message to all pizza-lovers and you are going to use tag 'pizza' to do it,
  • If your hub has more than 10K registrations with tag 'pizza', then send call will be failed by the Notification Hub

number of tags (broadcast groups) Limited to 3K means that you could not have more than 3K different foods for the example above ('pizza', 'pasta', 'sushi'...)

!!!Important notice!!! Tags with five or fewer devices do not accrue to the tag limit. It means that you potentially can build an application where each device has unique tag (user id or email or something similar) and that tag may be used to send a message to particular device. It is what is sometimes called 'Inbox scenario'. And Notification Hub is not going to enforce 3K limit for that case.

Update: Notification Hub is not going to enforce any limitations described above. Official documentation was updated as well. So as of now only restriction is 60 tags per single registration/installation.

However, number of devices registered should not exceed 500 for Free tier namespace, 200K for Basic, and 10M for Standard. Contact customer support to accommodate more than 10M devices.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...