cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Queued requests will be de-queued only in FIFO fashion

Queued requests will be de-queued only in FIFO fashion

Behavior/Design of Queued requests

Steps to understand the design

1.Build the toolkit with queueing enabled

2. Consider a simple license  file as below

SERVER this_host ANY

VENDOR qavend1

FEATURE f1 qavend1 1.0 permanent 4 SIGN=0

 3.

Step-1: Checkout 1 license by USER1, this checkout is succeeds, don't checkin
Step-2: Checkout 3 licenses by USER1, this checkout is succeeds, don't checkin
Step-3: Checkout 2 licenses by USER1, this checkout queued, don't dequeue.
Step-4: Checkout 1 licenses by USER1, this checkout queued, don't dequeue.
Step-5 Now checkin the license which is checkedout in Step-1

 

After checked in the license from Step-1 then immediately Step-4 queued request for 1 license will not be dequeued or get checked out for 1 license as first queue request for 2 licenses in Step-3 is still not served.
But after checked in the license from Step-2 then immediately Step-3 and Step-4 queued licenses are dequeued and checked out licenses 2 and then 1 licenses respectively. Queued requests will be de-queued only in FIFO fashion . The first in queue will be the first to be de-queued (FIRST IN FIRST OUT)

 

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Apr 21, 2022 03:20 AM
Updated by:
Contributors