[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-zebra] Perl Zoom Persistent Connections
From: |
Sebastian Hammer |
Subject: |
Re: [Koha-zebra] Perl Zoom Persistent Connections |
Date: |
Sat, 20 Aug 2005 10:29:16 -0400 |
At 10:15 AM 8/20/2005 +0100, Mike Taylor wrote:
> Will the forthcoming Perl Zoom bindings support persistent
> connections, either shared or user specific?
The documentation for ZOOM-C, at
http://indexdata.com/yaz/doc/zoom.tkl#zoom.connections
does not include any mention of "persistent connections" in Table 3.1
of the ZOOOM Connection Options. So, no, that is not behaviour that
ZOOM-Perl will inherit from ZOOM-C. But as Seb's pointed out, you can
get a better version of the same functionality using YAZ Proxy. The
existence of this option in PHP/YAZ is a just a hangover from its
pre-YAZ Proxy days.
Oh. Good points. The 'persistent' option in PHP/YAZ has more to do with its
being an Apache module than with its being a ZOOM derivative!
I dunno if a Perl API will be able to support such an option, perhaps when
the script is run under mod_perl.. but either way, it doesn't make much of
a difference. Even if the connections to the proxy are not persistent, the
proxy will still know how to maintain proper, persistent connections to the
backend server.
> I had given reasons that I had thought that persistent connections
> were useful with even one user retrieving large result sets in my
> previous post on a different branch of this thread.
Once more, remember that _all_ Z39.50 connections are "persistent" in
the usual sense of the word (as opposed to specialised PHP/YAZ sense).
You only open the connection once, then use it for many searches and
retrievals.
But remember that this is far from automatic in a web environment, Mike.
That is the kind of optimization that the proxy provides, however, and
automatically at that.
--Sebastian
--
Sebastian Hammer, Index Data, www.indexdata.com
Direct phone: (603) 209-6853 Fax: (603) 357-1813
- [Koha-zebra] Perl Zoom Persistent, (continued)
- [Koha-zebra] Perl Zoom Persistent, Thomas D, 2005/08/19
- [Koha-zebra] Forthcoming Perl Zoom Persistent, Thomas D, 2005/08/19
- [Koha-zebra] Perl Zoom Persistent Connections, Thomas D, 2005/08/19
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Mike Taylor, 2005/08/19
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Thomas D, 2005/08/19
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Mike Taylor, 2005/08/19
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Thomas D, 2005/08/19
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Sebastian Hammer, 2005/08/19
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Thomas D, 2005/08/19
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Mike Taylor, 2005/08/20
- Re: [Koha-zebra] Perl Zoom Persistent Connections,
Sebastian Hammer <=
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Thomas D, 2005/08/20
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Sebastian Hammer, 2005/08/20
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Thomas D, 2005/08/20
- Re: [Koha-zebra] Perl Zoom Persistent Connections, Sebastian Hammer, 2005/08/20