1. 3

I stumbled upon this old post with traffic data from 11 years ago. There is also a stats page, but it only shows active users, new stories, comments…

Reading the about page, this site is essentially hosted on two machines (a web server + a DB).

@pushcx, if you think that this is a reasonable request, could you please share:

  1. what the load (CPU & memory usage) of those machines is like, maybe over a couple weeks or months, and
  2. what’s a ballpark figure of the number of requests per second, requests being anything that hits the rail app. Perhaps this can be shown as a graph alongside the load?
    1. 2

      I’m happy to run these commands or queries if you’d like to put them together, sure. Real simple polling is available by running watch in tmux. FWIW, I’ve tried to tune both the web and db server to use all but a couple hundred megs of their 8G available memory, so my expectation/hope is that they’d be fairly flat around that point.

      For counting Rails RPS, it’s likely easiest to use the per-request log I added, but otherwise production.log has the standard Rails server output if you want to grab timing info or something. An example:

      I, [2024-03-17T06:12:01.517005 #1472155]  INFO -- : [a5f2dcdd-274a-4d89-be4a-03bb9205c2ec]   Request 123.456.789.123 GET /s/qpwghe user: 0 nobody