[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Handle-info] Some question while testing the handle server



We did some testing with fedora configured to use the handle server 
to create PIDs and this has raised some questions.  I would like to 
hear what other think

Below (past next 5 paragraphs) are some test handles we created.

I wonder what's up with that "%2F" variance between the handle name 
and index value.  '2F' is the hex value for an ASCII '/' character - 
but it looks like the other slashes remain unescaped, if I'm looking 
at this correctly.

Time based handle generation vs random number:
Heres the date/time part of a PID from one of Steve's example of a 
time based handle generator:
20070117150133500T

The '2007 01 17' looks pretty obviously like a date.

If the '15 01 33 500' part means "hh:mm:ss:ms#'  (hours, minutes, 
seconds and milliseconds) it seems a safe bet that this will 
assuredly provide uniqueness to the PIDS given that PID generation is 
running as a single process or thread on the server.  If we ever 
envision PID generation as part of a batch process running under 
multiple processes this might be an issue though. Unlikely but 
possible that there could be a collision?

Also the issue about multiple datastreams and unique handles, and the 
persistence of handles for deleted objects; a lot of interesting 
points to explore.


Test Handles.

Handle    (PID)

10079/-2103288706                Random Number Handle Test 3

http://hostname:8085/fedora/get/hdl:10079%2F-2103288706

http://hostname::8085/fedora/get/hdl:10079%2F-2103288706/DS1
                                            

10079/1266823767                 Random Number Handle Test 4

http://hostname::8085/fedora/get/hdl:10079%2F1266823767

            http://hostname::8085/fedora/get/hdl:10079%2F1266823767/DS1

            http://hostname::8085/fedora/get/hdl:10079%2F1266823767/DS2

Handle    (PID)

10079/20070117150246167T             Time Based Handle Test 1

http://hostname::8085/fedora/get/hdl:10079%2F20070117150133500T/

http://hostname::8085/fedora/get/hdl:10079%2F20070117150133500T/DS1

 

10079/20070117150133500T             Time Based Handle Test 2

            http://hostname::8085/fedora/get/hdl:10079%2F20070117150246167T

http://hostname::8085/fedora/get/hdl:10079%2F20070117150246167T/DS1

http://hostname::8085/fedora/get/hdl:10079%2F20070117150246167T/DS2