[Koha-bugs] [Bug 2959] Enhancements for link checker
bugzilla-daemon at kohaorg.ec2.liblime.com
bugzilla-daemon at kohaorg.ec2.liblime.com
Mon Feb 15 07:53:33 CET 2010
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=2959
--- Comment #7 from frederic at tamil.fr 2010-02-15 06:53:33 ---
> Pushed Frédéric's patch to cache bad URLs. Thought occurs: may as well cache
> *all* URLs that are checked; no point in check a good URL more than once during
> the run.
I also thought about that and
- For db with a large number of URLs, the memory usage could exceed
server capacity.
- We can suppose that the number of repeated URLs is low. So caching all
URLs means an expense of memory for few duplicates and little gain.
- Caching good URLs won't improve a lot the speed of this script. Not as
bad do. Good URLs are fetching in a delay which is inferior to LWP
timeout: it's generally quick. Bad URLs block the script until LWP
timeout (by default 180 seconds).
Your previous suggestion of a DB backend is a good idea and would allow
to improve efficiency and usability of url checking process. But it
requires time.
David S.: drop me a email if you need help to integrate css/jquery to
your script.
--
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list