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

Re: [Handle-info] Overriding HandleStorage



What ports do you have open to the world on your handle server, to which protocols? In my experience, slowness in resolution is usually because the udp handle port is closed to the world, causing the client to fall back to tcp, and maybe even http, to resolve.

Looking at the output of the handle client as it attempts to resolve will give you a hint as to where the delay is.

-- Scott

On 03/30/2016 10:46 AM, Bartos, Christopher wrote:
Hi,

I've overridden the HandleStorage class in Handle Server so that it will
attempt to resolve a specific prefix internally, and if it doesn’t
resolve, it will attempt to resolve itself, meaning, it runs the normal
BDJBEHandleStorage class to resolve it’s own handle.

Here is my new class:
https://github.com/lupulin/MultiServerHandleStorage/blob/master/MultiServerHandleStorage.java

My question: it’s pretty quick locally. You can check it:

http://140.254.87.133:8002/1811.1/OSU123 will resolve itself.
http://140.254.87.133:8002/1811.1/1112 will resolve a different handle
server.

However, going through hdl.handle.net <http://hdl.handle.net>:

http://hdl.handle.net/1811.1/OSU123 and http://hdl.handle.net/1811.1/1112

Is very, very slow.

My question, is that I’m wondering if there is a way that we can speed
up the HandleStorage implementation on our side or if there is nothing
we can do. Also, if there is a better way to do what we are attempting.

Our goal is to have 2 handle servers, both with the same prefix, but the
one that is publicly available will use our custom HandleStorage class.

Thanks in advance,

Chris


_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info


--
Scott Prater
Shared Development Group
General Library System
University of Wisconsin - Madison

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info