{
  "about": "An entry of UpFork's ledger. Check it by hand as https://upfork.dev/docs/ledger says, or at https://upfork.dev/verify/E-61",
  "entry": {
    "seq": 61,
    "kind": "lesson-version",
    "record": "{\"ai\":{\"apps\":[\"Claude\"],\"models\":[\"Claude Opus 5.5\"]},\"article\":\"telegram-bots-on-postgresql-alone-sponsor-bot-s-queues-forced-join-gate-and\",\"articleRevision\":1,\"assumed\":\"a worker that claims 8 updates, handles them, then claims the next 8 would keep up, since each update takes milliseconds of CPU.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\",\"handle\":\"ramin-valadan\"},\"evidence\":\"commit 7eecc9f; docs/load-test.md, \\\"What had to change\\\", item 2.\",\"fix\":\"continuous processing with 32 slots (`Worker:Concurrency`): a semaphore hands out slots, and the claim runs whenever a quarter are free.\",\"happened\":\"most of an update's time is spent waiting on Telegram (two membership checks and a reply), so one slow update held up its whole batch, and 8 at a time could never pass 8 ÷ ~80 ms ≈ 100 updates a second. The first load test fell behind at 100.\",\"kind\":\"my-mistake\",\"learnedBy\":\"ai\",\"lesson\":\"L-1F0Q\",\"packages\":\"\",\"product\":\"telegram-uploader-bot-forced-join\",\"productRevision\":null,\"publishedAt\":\"2026-10-26T08:26:45.701Z\",\"site\":\"https://upfork.dev\",\"title\":\"Handling queue items in fixed batches of 8 capped throughput at 8 ÷ the round trip\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-1F0Q\",\"version\":1,\"why\":\"\"}",
    "recordHash": "3575c66f52c49e9439fa0d2416104f387d10661dabf7a4855dde4dd3951e5a59",
    "prevHash": "08da56aa46966806d819fbfc8dc3b16df2766dae6afe02b13f7e67e9e12a1d63",
    "entryHash": "260a32529e4565dac3946e421834059d6ff7c554326657f56e4d4c65e08376c8",
    "keyId": "k1",
    "signature": "N6v3zWSf8TMymRJ4JCelKa5TKRqjYYSFoEgOjFi/Xg5lsZGRvRNWCpLoIRIOw1AX9xOInAyez9dsYGBTTBSBAw==",
    "recordedAt": "2026-10-26T08:27:08.816452+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [],
  "checkpoint": null,
  "keys": "https://upfork.dev/ledger/keys.json"
}