Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cRWUq-0001gM-8P for pgadmin-hackers@arkaria.postgresql.org; Thu, 12 Jan 2017 03:56:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cRWUp-0004Ac-Q7 for pgadmin-hackers@arkaria.postgresql.org; Thu, 12 Jan 2017 03:56:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cRWUc-0003vX-8k for pgadmin-hackers@postgresql.org; Thu, 12 Jan 2017 03:56:02 +0000 Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cRWUZ-00010m-5h for pgadmin-hackers@postgresql.org; Thu, 12 Jan 2017 03:56:01 +0000 Received: by mail-it0-x22d.google.com with SMTP id x2so4455168itf.1 for ; Wed, 11 Jan 2017 19:55:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Kl8zNHNrZ7jxn1C9PCBrojrZxkRrwkHaUj2MApMwQ3Y=; b=DnPVuIZqKGWB6+9wNZS6cilIOYUCwP3E7ZX1fHYJFqz5fMMN4K3sE/Cfsmvr+NDmTz TjxjToUn23SylCxb4ZatTZoTZJvPw1pWUQ+BksLgUHFun9VAclCcHalvMBInSLcy2wBE s4jld+EwzEt+jxbSUH+TmvY1Alp/7mJ/pv+QPPKFj0XyuqwR6Dwsl/yLXxexd5BCdFvu 4VsDrExsgRkXp6efltBPm0QElDUEUqK7AbEXOxrnRUB732z6cHSeSS5uOB8IVXSFvXV+ D5hxFmBqYoooL5u2vtPnYIRy8TGfcb3ldtrOv85ottUvEM0bEvem9ZEqPee6YA4B1fp0 Xydw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Kl8zNHNrZ7jxn1C9PCBrojrZxkRrwkHaUj2MApMwQ3Y=; b=S6qG/f8GeEnV9MAYptMPhuKXirEhOt+b55sYTj+JJkHM+nURrncSNqQ2ZO808wTpO9 /ERbRZ/8nbjbLUi6BGmwFirGuEuapaO5HVeJ6GUoycHPS6Dhcw0Ea8/RQSfYtDbMXrh1 Z3G4jSTog6dROh/Ec40P1T08CDl8sA2EcVUvEmc0EUk9lK5N9w0SQxFftFyrYIiFzCqQ Dq+ly2eMjmCOm/pxbTTQEQ3G/8xmUbeyM2GR4ewKzzlzMcX0MwKkbPqVFgWl3Ckk6H9e yLA+GgFdKInoaT6bOA8eBMGalHtq4Z2lzpmgJwnM+NTtD3iiGNUJqaoEJveexm4yW1X5 4UTg== X-Gm-Message-State: AIkVDXLbXV2nCYD+VpisXsf1BJT2Km+lc8seJRIYbkVKd4XbGS2b2j9a4/tF+5eiWdLLjZtQQEVgQgkgKYM49g== X-Received: by 10.36.121.151 with SMTP id z145mr8596919itc.100.1484193358305; Wed, 11 Jan 2017 19:55:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.224.198 with HTTP; Wed, 11 Jan 2017 19:55:57 -0800 (PST) In-Reply-To: References: From: Dave Page Date: Thu, 12 Jan 2017 09:25:57 +0530 Message-ID: Subject: Re: Building server without Apache To: Josh Berkus Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org On Thu, Jan 12, 2017 at 7:42 AM, Josh Berkus 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 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers