X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fproxy.xml;h=efb9a1bbec18008490aaac5dfda72515c22925aa;hb=da58ec3f2b9c0e5d15e4a022e7072f573784f9eb;hp=67ee3126079287b1b1a01e64b3945d443ae0158b;hpb=fc357a11b8c9b87534b3baa8c2c4d5b656f0998a;p=yazpp-moved-to-github.git diff --git a/doc/proxy.xml b/doc/proxy.xml index 67ee312..efb9a1b 100644 --- a/doc/proxy.xml +++ b/doc/proxy.xml @@ -1,5 +1,5 @@ - + YAZ Proxy The YAZ proxy is a transparent Z39.50 to Z39.50 gateway. @@ -7,25 +7,25 @@ Z39.50 packages through fire walls, etc. - Furthermore, the proxy offers facilities that often - boost performance for "connection-less" Z39.50 clients such - as web gateways. + Furthermore, the proxy offers facilities that often boost + performance for stateless Z39.50 clients such as web gateways. Unlike most other "server" software the proxy runs single-threaded, single-process. Every I/O operation is non-blocking so it is light-weight and very fast. - It does not store "state" information on the hard drive + It does not store state information on the hard drive except the log files you want. -
Specifying the backend target +
+ Specifying the backend target When a Z39.50 client session is accepted by the proxy, the proxy determines the backend target by the following rules: If the Initialize Request PDU from the client - includes Other-Information, with OID, + includes Other-Information, with OID 1.2.840.10003.10.1000.81.1, that specifies the target. @@ -43,7 +43,8 @@
-
Keep-alive facility for Stateless clients +
+ Keep-alive facility for Stateless clients Stateless clients may generate a cookie for a Z39.50 session which is sent to the proxy as part of PDUs. @@ -64,7 +65,8 @@
-
Query Caching +
+ Query Caching Simple stateless clients often sends identical Z39.50 searches in a relatively short period of time (full-list, next-page, @@ -84,13 +86,16 @@
-
Other optimizations +
+ Other optimizations We've had some plans to support caching of result set records, but this had not yet been implemented.
-
Proxy usage + +
+ Proxy usage @@ -167,11 +172,11 @@ EXAMPLES The following starts the proxy so that it listens on port - 9000. The default backend target is LOC. + 9000. The default backend target is the LOC target. $ yaz-proxy -t z3950.loc.gov:7090 @:9000 - The LOC target is sometimes very slow. You can connect to + This target is sometimes very slow. You can connect to it using yaz-client as follows: $ yaz-client localhost:9000/voyager @@ -204,7 +209,8 @@ Elapsed: 0.001417 The YAZ client allows you to set the backend target in the Initialize Request using option -p. To connect to - Index Data's target you could use: + Index Data's target through a proxy on localhost, port 9000, + you could use: yaz-client -p indexdata.dk localhost:9000/gils