Reading List
- useState for one-time initializations
Why you shouldn’t rely on useMemo for guaranteed referential stability but prefer useState instead
- The barriers to decentralisation
As someone who frequents HackerNews and various other forums, I often see a lot of discussion about privacy, data security and self-hosting. The discussion almost always leads to someone shunning all centralised services that most people use, and pitching Mastodon, Matrix, XMPP or something no one’s…
- How NOT to be a screen vampire
Daniel Sisson
•
31 Mar 2021
Put your phone down, get some sleep, don’t be a screen vampire.
- EARRRL – the Estimated Average Recent Request Rate Limiter
John Berryman
•
18 Mar 2021
You’ve got a problem: a small subset of abusive users are body slamming your API with extremely high request rates. You’ve added windowed rate limiting, and this reduces the load on your infrastructure, but behavior persists. These naughty users are not attempting to rate-limit their own requests. They fire off as many requests as they can, almost immediately hit HTTP 429 Too Many Requests, and even then don’t let up. As soon as a new rate limit window is available, the pattern starts all over again.