Current time: 11-29-2020, 09:01 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TTFB & Page speed issue
06-10-2017, 04:00 PM
Post: #8
RE: TTFB & Page speed issue
Where do I start?
- if you run PHP in FPM mode, then you are able to tune php separately from Apache. Not only does this *simplify* your configuration ( your web server needs completely different resources to php ), but it allows you to get far more out of your server. If you think this is a more complex solution, then you're doing it wrong.
- nginx will always out-perform apache on equivalent hardware when the web server is the ultimate bottleneck. As that bottleneck is usually the raw CPU power needed for PHP in the majority of cases, it's the simplicity of the configuration that wins the day. Plus, of course, the cr@p often found added to .htaccess by developers doesn't work... inadvertant win there.
- there really isn't much of a performance increase between the Oracle and Percona ( as used by MariaDB ) InnoDB engine. It's just that by default the Oracle one is set up to use 8MB of memory... or at least was last time I used it. It is faster - up to 50% usually - once all is configured properly. I use it both because of that gain, and to keep away from Larry... win/win.

As with all servers, you do need to tune them to the max before adding any kind of caching - after all, they will be empty at some point and the server has to survive that period to get to it's 'normal' state.

You've found an infrastructure that works for you. Personally, I spend all of my spare time trying to improve what I've got. That's why I shifted away from the bloat of apache web server years ago, which required a lot of re-learning after the 15 or so years I'd been using it: right back to the 1.3 days. My current mix has also been able to handle the real pain over the last year or two of managing servers running php 5.3, 5.4, 5.5 and 5.6 concurrently due to CMS constraints, securely and in a performant manner.

The most important tool that I use is munin. Monitoring is king. Without it, the only way you can 'manage' thousands of sites with no staff is to massively over-spec, then set them adrift.

As an afterthought, what difference does running the wp supercache on tmpfs make. I find it quite good with nginx... here's a random one: https://www.webpagetest.org/result/170610_FN_AZG/ obviously it does matter that there are enough resources to make this worthwhile.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: TTFB & Page speed issue - pmeenan - 05-30-2017, 11:08 PM
RE: TTFB & Page speed issue - pmeenan - 05-30-2017, 11:32 PM
RE: TTFB & Page speed issue - dfavor - 05-31-2017, 12:16 AM
RE: TTFB & Page speed issue - GreenGecko - 06-03-2017, 04:18 PM
RE: TTFB & Page speed issue - pmeenan - 05-31-2017, 12:49 AM
RE: TTFB & Page speed issue - dfavor - 06-10-2017, 08:38 AM
RE: TTFB & Page speed issue - GreenGecko - 06-10-2017 04:00 PM
RE: TTFB & Page speed issue - datadiggers - 06-26-2017, 06:29 PM
RE: TTFB & Page speed issue - GreenGecko - 06-27-2017, 03:48 PM
RE: TTFB & Page speed issue - datadiggers - 06-27-2017, 04:36 PM
RE: TTFB & Page speed issue - GreenGecko - 06-28-2017, 04:59 PM
RE: TTFB & Page speed issue - dfavor - 07-07-2017, 12:03 AM
RE: TTFB & Page speed issue - diesel2 - 07-27-2017, 02:50 AM
RE: TTFB & Page speed issue - GreenGecko - 07-27-2017, 11:33 AM
RE: TTFB & Page speed issue - diesel2 - 08-18-2017, 02:37 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)