Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WordPress - Whats going on in the server?

A short Show and Tell presentation by Herb Miller, Bobbing Wide outlining his work to analyse the effect of configuration changes on server response times.

First presented at Cheltenham WordPress Meetup ( #WPChelt ) on 31st March 2021

  • Be the first to comment

  • Be the first to like this

WordPress - Whats going on in the server?

  1. 1. Show & tell – what’s going on? Do you know what your web server is doing? © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik • Do you know what it’s being asked to do? • Do you know how long it takes to do it? • Do you know how each plugin affects your server performance?
  2. 2. oik-bwtrace – debug trace © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik WordPress Plugin: https://wordpress.org/plugins/oik-bwtrace/ GitHub repo: https://github.com/bobbingwide/oik-bwtrace Documentation: https://www.oik-plugins.com/oik-plugins/oik-bwtrace-debug-trace-for-wordpress/ Daily trace summary Trace file
  3. 3. What else might be useful? © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik RIGHT NOW • Where we are in the code • How many times we’ve been here • How many errors we’ve seen • Current time • Elapsed time • Current filter • Number of hooks performed • Number of queries performed • Current post ID • Memory usage • Number of files loaded • Number of errors detected • Parameters passed to function • Any saved output • Debug backtrace callstack PREVIOUSLY • Request and parameters • Globals: $_REQUEST, $_GET, $_POST • Request type • What to look out for • Tracing level AT SHUTDOWN • What happened: actions and filters invoked, files loaded, saved queries, output buffer, summary status report
  4. 4. sb-chart-block © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik WordPress Plugin: https://wordpress.org/plugins/sb-chart-block - submitted yesterday - awaiting review GitHub repo: https://github.com/bobbingwide/sb-chart-block Documentation: https://www.oik-plugins.com/oik-plugins/sb-chart-block/
  5. 5. Slog: Reports © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik WordPress Plugin: GitHub repo: https://github.com/bobbingwide/slog Documentation: https://www.oik-plugins.com/oik-plugins/slog Post process daily trace reports • Reports • Compare • Download • Filter • Driver • Settings
  6. 6. Slog: Driver © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik
  7. 7. Slog: Compare © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik https://herbmiller.me/slog-bloat/ - for the interactive version https://top-10-wp-plugins.com/ - for latest Top 10 by total downloads and other charts Left good < - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Right bad
  8. 8. Slog: Today’s results © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik Left good < - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Right bad
  9. 9. For reference © Copyright Bobbing Wide 2021 Herb Miller @herb_miller @bobbingwide @vsgloik WordPress Plugin: https://wordpress.org/plugins GitHub repo: https://github.com/bobbingwide Documentation: https://www.oik-plugins.com/oik-plugins https://www.wp-pompey.org.uk/wp-content/uploads/2020/05/oik-bwtrace-lightning-talk-20-May-2020-v0.0.0.pdf https://www.youtube.com/watch?v=4zApqLtPNUk Oik-bwtrace Sb-chart-block Slog

×