User Queue

User Queue SearchSearch
Author Message
Mathew Mathachan
New member
Username: Mathewm

Post Number: 10
Registered: 04-2011
Posted on Wednesday, June 22, 2011 - 11:28 am:   

Hi

How do we set different Queue size values for different User Queues?

If the application wants to prioritize the delivery of message to SMSC, it can can deliver to different user queues so that the highest priority messages will be in a user queue with the max size and the lowest priority message will be to a user queue of smaller size.


This way delivery of the messages with higher priority is not blocked/delayed by a lower priority BULK messages

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3291
Registered: 08-2008
Posted on Wednesday, June 22, 2011 - 02:01 pm:   

Hi Mathew,

I assume this is a follow-up question to the following discussion: http://support.nowsms.com/discus/messages/1/70265.html

What you want to do is submit the high priority messages from a different user account than all of the bulk messages.

On the "SMS Users" page, make sure that "Separate outbound message queues for each user" is enabled. The "User Queue Size Threshold" should be around what your system can send in a minute or so.

NowSMS will loop through the user queues, taking care not to process more than the threshold from each user account before servicing other user queues. This prevents a large bulk submission from one user from starving other user submissions.

So the basic idea is that only "User Queue Size Threshold" messages will be processed consecutively out of any one user queue. So a queue with a large number of bulk messages will have so many messages processed, before the system switches to processing a priority user queue.

--
Des
NowSMS Support
Mathew Mathachan
New member
Username: Mathewm

Post Number: 11
Registered: 04-2011
Posted on Wednesday, June 22, 2011 - 02:35 pm:   

Hi Des,

Thanks for the response.

True, it is a follow up. However, it is due to the nature of the application that we were looking for different queue depths.

It is something like this. We have client notifications going out which is of medium priority.... which has to go before a huge bulk of marketing messages, anytime it is posted.....and if a client SMS request comes for a service, its response has to go out immediately instead of waiting for the queue's turn in the round robin.

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 3297
Registered: 08-2008
Posted on Wednesday, June 22, 2011 - 05:17 pm:   

Hi Mathew,

Then you want to use separate user accounts to submit the messages into NowSMS.

In other words ... Bulk marketing submits using one user account, client notifications submit using one or more user accounts.

On the "SMS Users" page, make sure that "Separate outbound message queues for each user" is enabled. The "User Queue Size Threshold" should be a relatively low value.

--
Des
NowSMS Support