Active Counter

1

active right now

A real-time counter showing how many people are currently browsing the site. The green blinking pixel in the navigation bar shows the current count — that's what brought you here.

The counter tracks unique visitors over a 10-minute sliding window. Requests refresh your presence; watching live updates does not. After 10 minutes without activity, the next cleanup removes you from the count.

All-time experiment views

Approximate totals, saved and refreshed about every 10 seconds. Reload to see the latest ranking.

  1. Spend Elon Musk's Money157 views
  2. Game of Life150 views
  3. Goodreads Dashboard101 views
  4. Active Counter55 views
  5. Multiplayer Snake45 views
  6. Snake44 views
  7. Planet Box41 views
  8. Constellations39 views
  9. Money Feels Like39 views
  10. Sandy Island12 views

How to Play

Visit pages to stay active. The displays update about every 10 seconds without reloading.

How It's Built

  • Privacy-first: IP addresses are hashed with SHA-256 using a random salt that rotates every time the server restarts. Raw IPs are never stored.
  • In-memory: The tracker uses a simple HashMap protected by a RwLock. Active visitors reset when the server restarts. Experiment view totals are stored separately in Postgres.
  • Background cleanup: A background task runs every 60 seconds to remove entries older than the 10-minute TTL window.
  • All-time popularity: Each successful experiment page GET counts, including refreshes. Embedded documents, assets, About pages, and game streams do not. Totals are buffered and cached about every 10 seconds, so they are approximate and may lag.
  • DoS protection: The tracker caps at 50,000 entries. New IPs are silently dropped if capacity is reached, while existing visitors continue to be tracked.

Links