at://edavis.dev/app.bsky.feed.post/3kkx2ndmfjk2o

Back to Collection

Record JSON

{
  "$type": "app.bsky.feed.post",
  "createdAt": "2024-02-09T00:38:46.053Z",
  "langs": [
    "en"
  ],
  "text": "I track bsky DAU and until yesterday used a redis set on a YYYY-MM-DD key. Problem is when new day started, the count would restart and the rate would explode for a bit.\n\nSo last night I swapped it out for a sorted set that uses epoch for score and trims \u003e24h after every event. Much smoother."
}