IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 1 and Version 2 of ippToPsps_Database


Ignore:
Timestamp:
Mar 7, 2012, 12:06:30 PM (14 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPsps_Database

    v1 v2  
    2222
    2323== The {{{config}}} table ==
    24 == The {{{box}}} table ==
     24
    2525== The {{{clients}}} table ==
    26 == The {{{config}}} table ==
    27 == The {{{detection}}} table ==
    28 == The {{{stack}}} table ==
    29 == The {{{stripe}}} table ==
     26
     27Whenever an {{{ippToPsps}}} program is started, it registers with this table in the database. It does this by storing its hostname, PID and program name as shown here:
     28
     29{{{
     30+---------------------+------------+-------+--------+--------+--------+--------+---------------------+-----+
     31| started             | type       | pid   | host   | config | paused | killed | timestamp           | id  |
     32+---------------------+------------+-------+--------+--------+--------+--------+---------------------+-----+
     33| 2012-03-06 22:22:09 | queue.py   | 15477 | ipp007 | new3pi |      0 |      0 | 2012-03-06 22:25:13 | 171 |
     34| 2012-03-06 16:44:03 | loader.py  | 15510 | ipp033 | new3pi |      0 |      1 | 2012-03-07 07:25:51 | 166 |
     35| 2012-03-05 16:54:26 | loader.py  | 25131 | ipp005 | new3pi |      0 |      0 | 2012-03-07 09:43:34 |  94 |
     36| 2012-03-07 09:01:28 | pollOdm.py |  9202 | ipp006 | new3pi |      0 |      0 | 2012-03-07 10:20:11 | 174 |
     37| 2012-03-07 09:05:09 | loader.py  | 25782 | ipp005 | new3pi |      0 |      0 | 2012-03-07 10:48:13 | 175 |
     38+---------------------+------------+-------+--------+--------+--------+--------+---------------------+-----+
     39}}}
     40
     41== The queue tables ==
     42
     43The {{{queue.py}}} program is in charge of queuing up unprocessed items (be they stacks, detections or whatever). It populates the tables below so that the {{{loader.py}}} programs can get to work.
     44
     45=== The {{{box}}} table ===
     46=== The {{{stripe}}} table ===
     47=== The {{{pending}}} table ===
    3048
    3149
    3250
     51== The batch tables ==
     52=== The {{{batch}}} table ===
     53=== The {{{detection}}} table ===
     54=== The {{{stack}}} table ===
     55
     56
     57