IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 322 and Version 323 of ippToPsps


Ignore:
Timestamp:
Apr 10, 2012, 1:17:36 PM (15 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPsps

    v322 v323  
    207207}}}
    208208
     209It is usual to run instances of {{{loader.py}}} in a screen session.
     210
    209211The first thing a {{{loader.py}}} instance does is look to the queue tables in the {{{ippToPsps}}} database for a list of items to process. It first attempts to secure a 'stripe' of RA (from the [wiki:ippToPsps_Database#Thestripetable stripe table]) that is not being processed by any other {{{loader.py}}} clients. If all available stripes have already been reserved, then it chooses the stripe with the largest number of pending items.
    210212
    … …  
    223225Because it is possible, and usual, to run multiple versions of {{{loader.py}}} (in order to speed up loading time), the method to begin processing a new batch is part of a critical section. This simply means that the 'batch' table in the {{{ippToPsps}}} database is locked by a client looking for a new item to process, then released afterwards, ensuring that two separate {{{loader.py}}} instances do not attempt to process the same item.
    224226
    225 it is usual to run instances of {{{loader.py}}} in a screen session.
    226227=== Test mode ===
    227228