Writing /home/user/smartcj.com/wiki/data/cache/9/999da8b22503bdecc64f56e341669ab7.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /home/user/smartcj.com/wiki/data/cache/9/999da8b22503bdecc64f56e341669ab7.metadata failed
new_rotation_perfomance
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| new_rotation_perfomance [2017/04/07 15:49] – removed admin | new_rotation_perfomance [2026/03/21 10:11] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== New Rotation Performance ====== | ||
| + | |||
| + | The new rotation is designed to handle a large number of pages. | ||
| + | |||
| + | Here's a typical scenario: you have 300 categories, 7 pages per category, 3 sort options (ctr, date, duration) = 6300 possible pages. Add pages with embedded videos, and databases of 200,000 are not uncommon. | ||
| + | |||
| + | Creating this many pages via cron as static content would be inefficient, | ||
| + | |||
| + | There' | ||
| + | |||
| + | |||
| + | Server traffic capacity: Once the cache is built, pages are delivered almost instantly. Here's how it works: when the first visitor hits the index of a new site, the script generates the index page and caches it for the duration you've configured. All subsequent visitors get this page from cache with minimal server impact. Even if 1M users access this page during the cache period, they' | ||
| + | |||
| + | For a single site, whether you receive 50k or 500k requests, it doesn' | ||
| + | |||
| + | However, if you have 50 sites with 10k each, the load is much higher than 1 site with 500k total, because you need to generate 50 times more pages (assuming the same database size and number of categories). | ||
| + | |||
| + | Database size also directly affects load: a 100k database translates to roughly 3000 pages depending on design, while 200k means 6000 pages. | ||
| + | |||
| + | To give you perspective: | ||
new_rotation_perfomance.1491580158.txt.gz · Last modified: by admin
