Created
April 8, 2011 03:18
-
-
Save KristianLyng/909221 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| More trace+saintmode+random director | |
| ==================================== | |
| 1. Use the random director, and weight the two web servers 10 and 1000 | |
| (giving 100 times more traffic to one than the other) | |
| 2. Watch varnishlog -i Backend to see which backend is used | |
| 3. Make 10 files only available on the secondary server (let's call them | |
| 1.txt 2.txt etc):: | |
| for a in {1..20}; do touch $a.txt; done | |
| 4. Make sure saintmode_threshold is set (to 10, for instance) | |
| 5. Watch X-Restarts and the backend selection as you try to access the file | |
| and the backend reaches saintmode_threshold |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment