From: Christian Fowler <spider@viovio.com>
To: Chuming Chen <chen@musc.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: run httpd and postgresql on different machines ?
Date: Tue, 18 Jan 2005 09:33:22 -0500 (EST)
Message-ID: <Pine.LNX.4.61.0501180931140.18768@leda.steelsun.com> (raw)
In-Reply-To: <41ED10E2.6030502@musc.edu>
References: <41ED10E2.6030502@musc.edu>
One machine to run httpd + php and a separate machine for postgres is very
common and highly recommended.
For safety, I would recommend using a private network (192.168.0.*) to
connect the two machines, so your DB machine does not even have a public
IP address. Ideally, use gigabit between the two machines.
Be sure you configure your pg_hba.conf properly too.
On Tue, 18 Jan 2005, Chuming Chen wrote:
> Hi, all,
>
> I want to set up a web site using apache httpd, php and postgresql. From the
> performance point of view, which architecture is better? 1) Run httpd and
> postgresql on the same machine; 2) Run postgresql on seperate machine. My
> concern is that the machine I am going to run httpd has limitted storage. I
> am expecting the increasing of postgresql database once I set it ip.
>
> Any suggestions and comments will be highly appreciated.
>
> --
> Chuming Chen
> System Administrator
> NHLBI Proteomics Center
> Medical University of South Carolina
> 135 Cannon Street, Suite 303
> Charleston SC 29425
> Tel: 843-792-1555 (O)
> Fax: 843-876-1126
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
[ \ /
[ >X< Christian Fowler | spider AT viovio.com
[ / \ http://www.viovio.com | http://www.tikipro.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: spider@viovio.com, chen@musc.edu
Subject: Re: run httpd and postgresql on different machines ?
In-Reply-To: <Pine.LNX.4.61.0501180931140.18768@leda.steelsun.com>
References: <41ED10E2.6030502@musc.edu> <Pine.LNX.4.61.0501180931140.18768@leda.steelsun.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox