Some of these may be conflicting, not applicable to everyone.
1) think horizontal — everything, not just the web servers. Micro
optimizations are boring, as or other details
2) benchmarking techniques;. Not “how fast” but “how many”. test
force, not speed.
3) bigger and faster vertical scaling is the enemy.
4) horizontal scaling = add another box
5) implementation, scale your system a few times, but scale your
ARCHITECTUREa dozens or hundreds of time.
6) start from the beginning with architecture
implementation.
7) don’t have “The server” for anything
8) stateless good, stateful bad
9) “shared nothing” good
10) don’t keep state within app server
11) caching good.
12) generate static pages periodically, works well for not
millions of pages or changes.
13) cache full output in application
14) include cookies in the “cache key” so …