[Koha-devel] Update on Plack support for the packages

Petter Goksøyr Åsen petter.goksoyr.asen at kul.oslo.kommune.no
Fri Aug 14 09:41:48 CEST 2015


Great news!

We are also testing Plack theese days. So far we haven't encountered any serious problems.
The speed improvement we see is huge. Our test suite went from around 40 min to 10 min.

Will follow the developments on bug 13791 :)

Regards,

Petter Goksøyr Åsen
Deichmanske bibliotek / Oslo Public Library
________________________________________
Fra: koha-devel-bounces at lists.koha-community.org [koha-devel-bounces at lists.koha-community.org] på vegne av Tomas Cohen Arazi [tomascohen at gmail.com]
Sendt: 13. august 2015 20:17
Til: koha-devel
Emne: [Koha-devel] Update on Plack support for the packages

Hi fellows,

Some people have vacation right now, but those who stay here won't miss the fun :-D
I have just attached to bug 13791 my work on integrating Plack into the packages setup / maintenance/management scripts.

I created a koha-plack script which is self explained if run with --help or (if you build the packages out of master+patchset) man koha-plack.

It basically uses starman and start-stop-daemon to handle running plack instances for each Koha instance.

For simplicity (we talked about this in Marseille) I've decided to take full advantage of Apache 2.4.7+ features and the results are quite interesting in terms of setup complexity (compared to current approaches). Starman is run so it listens on a UNIX Domain Socket (on the filesystem, on a deterministic location, /var/run/koha/<instance>/plack.sock) and Apache just uses ProxyPass with UDS. I also make use of variable declaration capabilities in Apache.

Please take a gentle look, comment on this thread on things that could be improved, and have the ball rolling so we have out-of-the-box plack setup ready for 3.22 in November \o/

TODO:
- Revisit the reverse proxy configuration
- Haven't really tested packagin this yet

Kind regards

--
Tomás Cohen Arazi
Theke Solutions (http://theke.io<http://theke.io/>)
✆ +54 9351 3513384
GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F


More information about the Koha-devel mailing list