Re: Building server without Apache

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Josh Berkus <josh(at)berkus(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Building server without Apache
Date: 2017-01-12 03:55:57
Message-ID: CA+OCxoyE0M1zmw+AxQqLB2FffR8i1rkLeztcTrd2yUNQEA73nw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Thu, Jan 12, 2017 at 7:42 AM, Josh Berkus <josh(at)berkus(dot)org> wrote:
> Pgadmin gurus:
>
> I'm trying to create a canonical container image for pgAdmin4 Server.
> However, using Apache is kind of heavyweight for a container. Has
> anyone run pgAdmin4 against something lighter weight?

If memory serves, the reason why we recommend Apache is that at the
time I last tested, it was the only one of Apache, Lighttpd and Nginx
which would support single-process, multi-thread WSGI apps.

Having a single process is essential, due to the global connection
manager used by pgAdmin - it's the only way we can guarantee affinity
between the user session and the database session. If you can make
that work with servers other than Apache (someone recently suggested
Gunicorn might be able to help), then I'd love to hear about it. There
are no other special requirements of pgAdmin, so really that's all
that stands in your way.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-01-12 04:07:37 Re: Driver Module
Previous Message Josh Berkus 2017-01-12 02:12:52 Building server without Apache