gregsadetsky 3 days ago

alright, I implemented a world boing counter :-) thanks for the great idea

  • kentiko 3 days ago

    Nice, could you share how you implemented it?

    • gregsadetsky 3 days ago

      Flask + SQLite in WAL mode.

      In-memory ip address rate limiting.

      Hosted and deployed on a ~$20 EC2 server using the open source tool I've been working on, https://disco.cloud/

      We were at ~120 requests/second earlier and it took it on, no sweat.

  • jonplackett 2 days ago

    Amazing! The numbers are insane already! What is the average boing per user?

    • gregsadetsky 2 days ago

      Ooh, great question! I don’t record IPs so can’t say unfortunately.

  • doubleorseven 3 days ago

    maybe also de-boing the boining now that it's calling the server. i think the js script pasted here will show you it's needed

    • gregsadetsky 3 days ago

      there's rate limiting so the script posted in this thread actually mostly hits 429s :-) but yeah, great pointer

dmje 3 days ago

Total boing heatmap!