[Koha-devel] Plack only

David Cook dcook at prosentient.com.au
Wed Feb 7 01:34:52 CET 2018


Ahh right. I was thinking about the proposed URL Mapper model of running multiple libraries under one Plack instance. 

 

I imagine you must be constrained to a fairly small number of Starman processes though unless you’re running some really big servers. 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia

 

Office: 02 9212 0899

Direct: 02 8005 0595

 

From: Tomas Cohen Arazi [mailto:tomascohen at gmail.com] 
Sent: Wednesday, 7 February 2018 11:28 AM
To: David Cook <dcook at prosentient.com.au>
Cc: koha-devel at lists.koha-community.org
Subject: Re: [Koha-devel] Plack only

 

 

El mar., 6 de feb. de 2018 8:20 p. m., David Cook <dcook at prosentient.com.au <mailto:dcook at prosentient.com.au> > escribió:

This seems pretty Debian-centric, so doesn’t really affect me I suppose.

Yeah, absolutely. My question is about default settings for Debian installs using the packages we ship. Other distros can run plack with the shipped tools too.

 

I am curious how Plack works for multi-library Debian installs though. I would be worried about data leaking between libraries.

One starman process (with configured amount of workers) per instance. So no problem at least since 3.22 :-)

 

 

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW+2007+Australia+%C2%A0+Office:+02&entry=gmail&source=g> 

Ultimo, NSW 2007 <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW+2007+Australia+%C2%A0+Office:+02&entry=gmail&source=g> 

Australia <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW+2007+Australia+%C2%A0+Office:+02&entry=gmail&source=g> 

 

Office: 02 <https://maps.google.com/?q=72/330+Wattle+St+Ultimo,+NSW+2007+Australia+%C2%A0+Office:+02&entry=gmail&source=g>  9212 0899

Direct: 02 8005 0595

 

From: koha-devel-bounces at lists.koha-community.org <mailto:koha-devel-bounces at lists.koha-community.org>  [mailto:koha-devel-bounces at lists.koha-community.org <mailto:koha-devel-bounces at lists.koha-community.org> ] On Behalf Of Tomas Cohen Arazi
Sent: Wednesday, 7 February 2018 5:51 AM
To: koha-devel at lists.koha-community.org <mailto:koha-devel at lists.koha-community.org> 
Subject: Re: [Koha-devel] Plack only

 

For running in Plack-mode, people needs to:

 

sudo koha-plack --enable <instance>

sudo koha-plack --start <instance>

sudo systemctl restart apache2

 

after creating the <instance>.

 

What I meant is that we should have people avoid the need for those commands. And people with specific needs that require non-Plack setups can do it.

 

I started thinking of this in the context of bug 20134 [1] BUT also in the context of bugs 18315 [2] and 7174 [3].

 

Both of the latter bugs propose interesting ways of refactoring authentication, and I'm sure abandoning CGI-mode could help simplify the process.

 

[1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20134

[2] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18315

[3] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7174

 

El mar., 6 feb. 2018 a las 11:00, Julian Maurice (<julian.maurice at biblibre.com <mailto:julian.maurice at biblibre.com> >) escribió:

What does that mean to "make Plack the default" exactly ?

Le 06/02/2018 à 14:31, Tomas Cohen Arazi a écrit :
> I would like to know if you think there's any reason to keep the CGI
> mode as default in Koha deployments. I think we should make Plack the
> default. There are some issues, tough.
>
> But if we set that goal, we could focus on fixing them.
>
> What do you think?
> --
> Tomás Cohen Arazi
> Theke Solutions (https://theke.io <http://theke.io/>)
> ✆ +54 9351 3513384 <tel:+54%209%20351%20351-3384> 
> GPG: B2F3C15F
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org> 
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>

--
Julian Maurice <julian.maurice at biblibre.com <mailto:julian.maurice at biblibre.com> >
BibLibre
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org> 
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

-- 

Tomás Cohen Arazi

Theke Solutions (https://theke.io <http://theke.io/> )
✆ +54 9351 3513384
GPG: B2F3C15F



-- 

Tomás Cohen Arazi

Theke Solutions (https://theke.io <http://theke.io/> )
✆ +54 9351 3513384
GPG: B2F3C15F

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180207/9ba8f521/attachment-0001.html>


More information about the Koha-devel mailing list