[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] Nginx vs. Apache
- To: "list@xxxxxxxxxxxxx" <list@xxxxxxxxxxxxx>
- Subject: Re: [LUG] Nginx vs. Apache
- From: Matt Stevenson <mrmstevenson@xxxxxxxxx>
- Date: Mon, 11 May 2015 20:39:41 +0100
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dcglug.org.uk; s=1428397562; h=Sender:Content-Type:List-Subscribe:List-Help:List-Post:List-Unsubscribe:List-Id:Reply-To:Subject:To:From:Message-ID:Date:References:In-Reply-To:MIME-Version; bh=oOnSGjR9gfUKewpq1mp19X9RFidvzXs4AS7nFySyWsY=; b=swiJaTPMrSQ5Y7f7DXR7Au7KM1wmYq7HXrHzx9QkERuuOpXemnXBRKFEkjxqWRYxcaceErYoGyoJKATYWuvG5esypIJZKAeOVS4ovvCYVzJ4rFHcu2yhsUXe1FvZjopAjKVLyUdAi/sNgnR/EHqxjBY8VzYWAJcTtJ4E5Ipq+ZU=;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=IQaWHxFg7bBCMU2Jq6gFtzEd6rz9uz1nVV6Dw5iEOeo=; b=wskRIo3Qlj7lhYdvRke8z2V5DVIrrGJRANPFE0446bvv1MBJyUE3SJiQ36jF/ryYK5 YA9tCX4Z7xBLvi5hdQrFKXieVaiRLp8KVeur/nVP+zpnTx7IdJhV5m5Kix7zhybu7u3b um02Y7IR23zJFeWCkEVWdbaOkb3buRMnlvWK3lL44gkJ2XPrxHc8+MLX1RY13yLyI7xP 5SeLyL5OF8CCg5z3rUL/+ubu2agZbyxtx5sVqpYBhXtY+4+G0eyZgLnOAhQcXg9rmGAD rJsIYv7ao7V91t/C2Q9Oe9OECO7AITu2gmp+9I7erYED1JZCZgEiCWSVvtmG7jL+ybdI ABMw==
Hi Tom truly appreciate the feedback would expect to see some improvement in mySQL performance once multi-host is configured. In the time I wrote this email I just fired up a docker nginx and mysql container for phase 1 of performance tests.
On Monday, May 11, 2015, Tom <madtom1999@xxxxxxxxxxxxxx> wrote:
> On 11/05/15 19:45, Matt Stevenson wrote:
>>
>> Am also thinking about spreading mySQL load over hosts with
>> master-master setup if this article can be trusted seems to make sense
>> as rsync will probably not handle locked tables with site mirroring. So
>> maybe application LB is in order.
>> http://brendanschwartz.com/post/12702901390/mysql-master-master-replication
>> Is it true nginx is simpler to configure LB ?
>>
>> On Monday, May 11, 2015, Matt Stevenson <mrmstevenson@xxxxxxxxx
>> <mailto:mrmstevenson@xxxxxxxxx>> wrote:
>> Â> Thank you Joseph good comments duly noted.
>> Â> Having seen our Centos servers PHP in top running on fire nearly all
>> day as it hosts 50 + sites.
>> Â> Iâm really curious about running a docker container with NGINX as a
>> proxy LB and giving NGINX a trial on a cloud server. Just hope I donât
>> screw anything up in the process and maybe create some trial sites
>> first. ;-)
>> Â>
>> Â> On Monday, May 11, 2015, Joseph Bennie <jay@xxxxxxxxxxx
>> <mailto:jay@xxxxxxxxxxx>> wrote:
>> Â>>
>> Â>>> On 11 May 2015, at 18:03, Matt Stevenson <mrmstevenson@xxxxxxxxx
>> <mailto:mrmstevenson@xxxxxxxxx>> wrote:
>> Â>>>
>> Â>>> Hey there
>> Â>>>
>> Â>>> Anyone out there managing cloud web servers got an opinion of Nginx
>> vs. Apache.
>> Â>>> Performance apparently differs with PHP. We are interested in Nginx
>> as a LB to our cloud servers.
>> Â>>> Is this easy and good practise.
>> Â>>>
>> Â>>
>> Â>> I havenât used nginx, but most alternatives are better than stock
>> apache setup when working with php.
>> Â>>
>> Â>> The trade off is if you donât need thread safe (most people donât ,
>> but think they do) then swapping to apache mpm or nginx will give better
>> through put and possibly better memory usage. but its no panacea,
>> profile (just use âtop' initially) your php memory usage, I recently saw
>> a centos 6 stock apache setup falling apart with only 12 paralel active
>> php sessions running.
>> Â>>
>> Â>>> Regards
>> Â>>>
>> Â>>> Matt --
>> Â>>> The Mailing List for the Devon & Cornwall LUG
>> Â>>> http://mailman.dclug.org.uk/listinfo/list
>> Â>>> FAQ: http://www.dcglug.org.uk/listfaq
>> Â>>
>> Â>>
>> Â>> --
>> Â>> The Mailing List for the Devon & Cornwall LUG
>> Â>> http://mailman.dclug.org.uk/listinfo/list
>> Â>> FAQ: http://www.dcglug.org.uk/listfaq
>> Â>>
>>
>>
> Mysql has features built in for backup and multimachine hosting which should be used before rsync is considered.
> Tom te tom te tom
>
>
> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/listfaq
>
--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq