sorry, your first mail has somehow not really reached me. This is a high
volume email address...
We are in a multi institution situation, without a shared ILS. And our
Vufind "database" contains only references to journal articles.
To achieve holdings information for each institution in Vufind we use a
home grown system:
This system contains a very simple way to import / export (journal)
holdings information, which may be queried by using DAIA
To speed up the status methods in Vufind we first measured the
performance with apache tools
ab -n 100 -c 10 http://doctor-doc.com/version1.0/daia.do?issn=0340-5303
Which showed that the most time spent was for processing. So we improved
some SQL on the side of Doctor-Doc. Which already brouhgt a lot of speed up.
Still today processing takes more time than connecting, but it is much
better than it was ;-)
Second thing we did was speeding up Vufind by using curl:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
sudo /etc/init.d/apache2 restart
We took the code basically from here:
I do also send you our adapted code for the DAIA-Driver. Don't get
disturbed with the OpenURL and cookie methods. We do query Doctor-Doc by
OpenURL and get XML answers. And we use different query methods for
getStatuses and getStatus, and use beside IP-based location
identification a manual location switcher by using cookies...
The key function to check out for CURL and multithreading is
private function multiRequest($data, $options = array())
Altogether this gave us answers within a second or two for twenty
records, which is fine for us.
You may check this out by yourself:
Sometimes the first query is a little bit slower than the following,
because of conservative pooled connections in Doctor-Doc. But this is
Hope this helps! I send my answer back to the tech-list too in case
anybody else is interested.
Am 23.09.2010 17:51, schrieb raghu ram:
> Hi Markus,
> Sorry to approach you in this way.I've sent you an mail regarding the
> getstatuses() function in vufind.i'm not sure if you have received that
> I've seen in the vufind forums the other day and say your post regarding
> speeding up getStatuses.I've read that you tried to boost the search
> results by improving sql performance and sending concurrent requests
> such that the response time comes down to fraction of seconds.I'm
> confused of how you did that.Would might sharing your word/ideas that
> might help us.We are on Voyager system using Ubuntu if that helps us in
> Any help would be greatly appreciated.