No subject


Sat Oct 16 04:25:36 CEST 2010


> which we can pick in Koha code using caching. However, I would love to know
> if this moment is the right one to tackle this, or should I wait for
> DBIx::Class changes to land into code.


Getting Koha to run persistently (and to do so safely!) seems like a higher
priority in my estimation than the conversion to DBIC, if for no other
reason than pervasive use of DBIC is going to seriously impede CGI
performance. In mean time, I find that applying small, judicious use of
local caching often gives a high return on very little time and additional
code while not interfering with the API.

Clay

--e0cb4e3854187ef35604939a5e5d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On Wed, Oct 27, 2010 at 4:15 AM, Dobrica Pavlinu=
sic <span dir=3D"ltr">&lt;<a href=3D"mailto:dpavlin at rot13.org" target=3D"_b=
lank">dpavlin at rot13.org</a>&gt;</span> wrote:<blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>



You are correct that invalidation of caches is hard problem, but I<br>
assume that caching over DBIx::Class would take care of invalidation,<br>
but I might be wrong.</blockquote><div><br></div><div>DBIx::Class handles c=
ache invalidation very well as long as it is used uniformly as the only mea=
ns of accessing the database. My concern is more in regards to the challeng=
es with getting all of Koha&#39;s use of a given set of tables to go throug=
h the dbic interface.</div>


<div>=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Another intersting bit is change at:<br>
<br>
<a href=3D"http://git.rot13.org/?p=3Dkoha.git;a=3Dcommit;h=3D8b27e87c24b8ef=
a5f4ffc9b21b8d1a97d51f2e77" target=3D"_blank">http://git.rot13.org/?p=3Dkoh=
a.git;a=3Dcommit;h=3D8b27e87c24b8efa5f4ffc9b21b8d1a97d51f2e77</a><br>
<br>
which takes marc records directly from marc instead of XML. This<br>
bypasses XML parsing and transformation and reduces number of statements<br=
>
significantly:<br></blockquote><div><br></div><div>While this is much faste=
r, the ISO format has hard-coded limitations that Koha needs to surpass.</d=
iv><div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




More information about the Koha-devel mailing list