Saving MARC records very slow
I'd like to ask one question. When I am saving MARC records in Staff Client, after clicking the butto "Save", normally it takes 10-30 seconds in which the web browser is frozen and seems tdoing nothing. Afterwards it saves the record. When I do the same operation directly on the server, it is much faster - it takes only 3-4 seconds. But I can't let cataloguers work on server. Would anybody know what could be the cause and how could I fasten it? Thank you Ondrej Mlecka
This was covered on the list a while back -- in Firefox it was taking 40-50 s on our staff clients to save records. We've switched to Google Chrome & the time is now much more manageable. I don't believe a diagnosis or fix were ever found for the Firefox issue. Cab Vinton, Director Sanbornton Public Library Sanbornton, NH 2009/6/29 Ondrej Mlecka <omlecka@gmail.com>:
I'd like to ask one question. When I am saving MARC records in Staff Client, after clicking the butto "Save", normally it takes 10-30 seconds in which the web browser is frozen and seems tdoing nothing. Afterwards it saves the record.
When I do the same operation directly on the server, it is much faster - it takes only 3-4 seconds. But I can't let cataloguers work on server.
Would anybody know what could be the cause and how could I fasten it?
Thank you
Ondrej Mlecka
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
This was covered on the list a while back -- in Firefox it was taking 40-50 s on our staff clients to save records.
I don't believe a diagnosis or fix were ever found for the Firefox issue.
It's not a Firefox issue per se, it's a JavaScript issue. When you save a MARC record Koha uses JavaScript to validate all the fields in the entry form--usually a lot of them! That takes time, and makes the browser appear unresponsive while it's processing. Chrome will be faster than Firefox 3 because its JavaScript parser is faster. But Firefox will be faster than Internet Explorer. So the solution isn't a browser-specific fix, but a general one of optimization. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Has anyone tried Firefox 3.5? It's still in beta, but is supposed to have a much better response time. Just curious :) --- Nicole C. Engard Open Source Evangelist, LibLime (888) Koha ILS (564-2457) ext. 714 nce@liblime.com AIM/Y!/Skype: nengard http://liblime.com http://blogs.liblime.com/open-sesame/ On Mon, Jun 29, 2009 at 7:50 AM, Owen Leonard<oleonard@myacpl.org> wrote:
This was covered on the list a while back -- in Firefox it was taking 40-50 s on our staff clients to save records.
I don't believe a diagnosis or fix were ever found for the Firefox issue.
It's not a Firefox issue per se, it's a JavaScript issue. When you save a MARC record Koha uses JavaScript to validate all the fields in the entry form--usually a lot of them! That takes time, and makes the browser appear unresponsive while it's processing. Chrome will be faster than Firefox 3 because its JavaScript parser is faster. But Firefox will be faster than Internet Explorer.
So the solution isn't a browser-specific fix, but a general one of optimization.
-- Owen
-- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Has anyone tried Firefox 3.5? It's still in beta, but is supposed to have a much better response time. Just curious :)
It would be interesting to find out, from a technical point of view. But as much as I'd like to try, mandating a particular browser--or suggesting its use as a bug-fix--just isn't possible. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org
Cab Vinton wrote:
This was covered on the list a while back -- in Firefox it was taking 40-50 s on our staff clients to save records.
We've switched to Google Chrome & the time is now much more manageable.
I don't believe a diagnosis or fix were ever found for the Firefox issue.
As pointed out, this is because of Javascript. Question: can Koha operate properly with JS disabled? If not, why not? Observation: JS is quite slow compared the server itself. Perhaps the *HUGE* task of validating a MARC save could be (optionally) left to the server to validate. cheers rickw -- _________________________________ Rick Welykochy || Praxis Services Debra Jackson says she likes shopping at the Dollar Palace because it's convenient and casual. "I don't have to get dressed up like I'm going to Wal-mart or something," she said. -- spotted in a newspaper
Hi Cab Vinton schrieb:
This was covered on the list a while back -- in Firefox it was taking 40-50 s on our staff clients to save records.
We've switched to Google Chrome & the time is now much more manageable.
I don't believe a diagnosis or fix were ever found for the Firefox issue.
Update to Firefox 3.0.11! The times are much better :-) (I have no idea why :-() It is strange that only the windows-version of firefox is affected (I tested version 2.0.0.14 on my eeepc and it worked fine, i.e. 7-8 seconds for the saving). Greetings Beda
I had similar problems with saving MARC records with FF, though it started out fast and then progressively slowed down as I catalogued more and more. I found that if I cleared all private data (tools menu), things sped up again. Emrys ________________________________ From: koha-bounces@lists.katipo.co.nz on behalf of Ondrej Mlecka Sent: Mon 29/06/2009 10:04 To: koha@lists.katipo.co.nz Subject: [Koha] Saving MARC records very slow I'd like to ask one question. When I am saving MARC records in Staff Client, after clicking the butto "Save", normally it takes 10-30 seconds in which the web browser is frozen and seems tdoing nothing. Afterwards it saves the record. When I do the same operation directly on the server, it is much faster - it takes only 3-4 seconds. But I can't let cataloguers work on server. Would anybody know what could be the cause and how could I fasten it? Thank you Ondrej Mlecka
participants (7)
-
Beda Szukics -
Cab Vinton -
Emrys Minnig -
Nicole Engard -
Ondrej Mlecka -
Owen Leonard -
Rick Welykochy