Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
explain wordpress configuration change
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Jun 5, 2015
1 parent e249a39 commit d640700
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ Wordpress
fresh install of Wordpress, and clicking 'generate data' in the admin panel a
bunch of times.
- URLs file is based on traffic to hhvm.com - request ratios are:
- `DISABLE_WP_CRON` is set to true to disable the auto-update and other requests
to `rpc.pingomatic.com` and `wordpress.org`.
- auto-updating is not suitable for a like-to-like benchmark system like this
- `WP_CRON` increases noise, as it makes the benchmark results include the time
taken by external sites
- serious deployments should trigger the `WP_CRON` jobs via cron or similar:
- an administrator should be aware of all production changes, especially
code version changes
- scheduled maintainance should not make an unfortunate end-user request take
significantly more time

100: even spread over long tail of posts
50: WP front page. This number is an estimate - we get ~ 90 to /, ~ 1 to
Expand All @@ -91,7 +101,7 @@ The long tail was generated with:
printf("http://localhost:__HTTP_PORT__/?p=%d\n", mt_rand(1,52));
}

Ordering of the URLs file is courtesy of the unix 'shuf' command.
Ordering of the URLs file is courtesy of the unix 'shuf' command.

Drupal 7
--------
Expand Down

0 comments on commit d640700

Please sign in to comment.