Home >
Vendors >
Killer Server Setups! Nginx + Php5-fpm + APC (11)
02-26-2014 03:55 PM
#1
ret39982 (Member)
Killer Server Setups! Nginx + Php5-fpm + APC
This will be of value to you is:
- you advertise on Google - it means a higher QS for search and significantly more volume on the display network since Google love fast pages;
- you get a lot of clicks and it's slowing down your server.
Over the last few weeks I've spent countless hours setting up, testing and tweaking a bunch of servers for in house cloaking and tracking purposes. In this process I finally nailed down the optimal setup given current systems software.
Since we do mobile speed is everything!
Benchmarking and testing measured processing time, redirect time and database access and modification times. We used a reasonably common cloaking service along with iMobitrax when testing and tweaking.
The setup that won out was:
Nginx - Significantly faster than Apache but much hard to get setup. Benchmarks comparing Apache to Nginx actually underestimated the performance improvement we saw in house. Nginx is the most popular web server software for the top 1000 websites in terms of traffic.
http://wpengine.com/2013/07/08/nginx...fficked-sites/
http://www.theorganicagency.com/apac...mparison/#home
http://www.thegeekstuff.com/2013/11/nginx-vs-apache/
Php5-FPM - Faster than standard PHP5 since queries are handled with Fastcgi.
APC - Amazing module, did crazy things for our load times. It works by caching static version of php generated pages.
No cpanel, no apache.
Checkout the links below the Nginx section above. Across a broad spectrum of a # of simultaneous users, Nginx was about 9x faster than Apache! Our numbers were even better than that averaging around 14x faster than the traditional setup - that's because cloaking and tracking are thread intensive.
Anyways after weeks of nerding around and figuring this stuff out I want to monetize some of this knowledge so I'd like to offer "done for you" server setups with the above components.
The offer
I'll personally setup your server and optimize it, using the above components.
I'll also install your cloaking software and tracking solution and all the dependencies it requires.
I'll provide follow up support for 3 days in case you have any questions.
Cost: $500
Feel free to ask questions below or pm me.
02-26-2014 04:53 PM
#2
waltermitty (Senior Member)
How long does it take for you to accomplish these tasks, the only reason I ask is because sans the "cloaking and tracking setup" the above is fairly trivial.
A seasoned and experienced server admin should be able to install the above in under 2 hours. For the quoted price above I would expect a much more elaborate setup including load balancing and caching technologies.
Do you have experience setting up HAproxy?
02-26-2014 06:21 PM
#3
ret39982 (Member)
Thanks for the insight Walter. No experience with HAproxy.
I'd hate to admit how long these take to be honest
You are right that the initial tasks are routine, however when it comes to getting the cloaker and tracker installed and working on Nginx things become very hairy very fast. Often dependencies don't work out the box with Nginx, not to mention solving conflicts we've had arise more than once.
Also, got a couple similar pm's about would this speed up their server which just tracks and hosts lp's. The answer is yes - checkout those Apache vs Nginx comparisons.
02-27-2014 04:48 AM
#4
polarbacon (Moderator)
Not to crap on this guys parade but...
please people do realize that when you give someone like this access to your server...you have no idea what back doors or otherwise are installed....
would recommend the OP get some people to chime in here a little bit more about who he is and such...
03-04-2014 08:13 PM
#5
BeyondHosting-Tyler (Member)
Be aware that APC only offers minimal improvements for code that has no designed caching support. It also can cause conflicts with multi-user environments on servers.
Also php-fpm requires constant maintenance and tuning as the php pool can quickly become saturated and drop connections.
Litespeed handles all of this stuff natively and has proven to be a faster solution due to the 0 overhead architecture of LSAPI. Litespeed also works natively with cpanel so your hosting provider can manage your server, you should be able to trust your host.
03-04-2014 08:49 PM
#6
waltermitty (Senior Member)

Originally Posted by
BeyondHosting-Tyler
Be aware that APC only offers minimal improvements for code that has no designed caching support. It also can cause conflicts with multi-user environments on servers.
Also php-fpm requires constant maintenance and tuning as the php pool can quickly become saturated and drop connections.
Litespeed handles all of this stuff natively and has proven to be a faster solution due to the 0 overhead architecture of LSAPI. Litespeed also works natively with cpanel so your hosting provider can manage your server, you should be able to trust your host.
+1 litespeed had been a game changer for me.
03-22-2014 07:54 PM
#7
atom64 ()
well litepeed has its downsides aswell .. its much more buggy and unstable as nginx
anyway as soon as mysql come into the game all your optimization affords are getting useless. mysql performance is pure bullshit on big traffic.
Would be much better to use mongodb or similar DBs instead with some help of a tool like fluent to batch input data in RAM and process them every XX seconds to DB.
but all that tracking tools use the slow mysql (cpvlab,imobi....) and in addition ioncube will slow down even more..
03-23-2014 04:26 PM
#8
BeyondHosting-Tyler (Member)
We have around 2700 installs of litespeed and the number of issues we have are extremely low, 99% of them require absolutely 0 maintenance. Issues we see are typically related to ddos software running on the server itself, exploited wordpress and things of that nature being used to attack other servers.
MySQL is a lot faster than a lot of people give it credit, object databases such as mongo, riak ect are actually not very efficient at this data set. The main issue with all trackers is the way they store and process data, this data should be processed real time not later all at once.
Theres lots of faster than mysql solutions out there such Maria DB, Clustrix ect.
03-23-2014 05:27 PM
#9
iAmAttila (Veteran Member)
I wish beyond would have servers in nl.
03-23-2014 07:11 PM
#10
atom64 ()
ah i forgot to say .. i was talking about the free version of litespeed, but if you use the payed one (which i guess you do) then it should work fine yea.
03-23-2014 11:25 PM
#11
BeyondHosting-Tyler (Member)

Originally Posted by
atom64
ah i forgot to say .. i was talking about the free version of litespeed, but if you use the payed one (which i guess you do) then it should work fine yea.
The free version isn't community maintained like nginx and can't be expected to be as stable, afterall its a new bit of software.
We only offer the licensed version. Between Litespeed and cPanel support theres basically nothing we can't fix or bug that's don't have resolution. The perks of going with a managed premium provider. :-)
Home >
Vendors >