, 1 min read

Slashdot Effect on a Single Page

Original post is here eklausmeier.goip.de/blog/2024/08-14-slashdot-effect-on-a-single-page.


1. The post Hosting Static Content with GitLab was mentioned on Hacker News and this site experienced a heavy increase in accesses. Neither PHP, nor NGINX, nor the ISP experienced any problems. Nevertheless, I had never before seen such a stark rise in accesses to this website.

The Slashdot effect usually refers to the fact, when the web-server in question goes down, or is overloaded. In my case, the web-server could handle that all without any hickups.

2. Normally, I have roughly 1,000 monthly visitors to my blog. One can clearly spot the spike, where visits go up to more than 4,000. Below charts show:

  1. yearly visits
  2. monthly visits
  3. weekly visits

Above numbers are based on hefty filtering in the web-server log. Below are the numbers, which I filter out of the access.log file from NGINX. access.log had 3,101,246 lines.

Filtering number of suppressed lines
class B addresses 1,527,803
class C addresses 136,109
raw IP addresses 32,566
bots identifying as bots 863,515
empty user-agent 0
short user-agent (<=3) 40,925
no transmitted bytes 280
all lowercase user-agent 8,581
HTTP code 182,837

But in July this jumped to almost 5,000 monthly visits. Initially I thought this is another bot just reading my blog.

One can clearly see that there is a spike, then a sharp decline, after the initial "hype" is over.

Above two graphs show the filtered results, i.e., filtering out bots, and other accesses, which are not "real" visitors.

3. Below graph shows the monthly 30,000 to 90,000 unfiltered visits to my web-server. One can clearly see the spike going up to 174,000 visits.

Below is the unfiltered statistics for the GitLab post: