{
  "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-64",
  "entry": {
    "seq": 64,
    "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 slow first reply meant slow handling of the update.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\",\"handle\":\"ramin-valadan\"},\"evidence\":\"commit f56ddcc.\",\"fix\":\"each bot's sender calls `getMe` as it starts, opening the connection before anyone waits on it (a refused token is noticed there too), and idle connections stay open for 15 minutes. A test makes three update-to-reply round trips and wants each under 0.9 s.\",\"happened\":\"measured, the update itself was handled in 22–142 ms. A new TLS connection to Telegram over a slow route cost about 2.5 s, a warm request under 1 s, and `SocketsHttpHandler` closes idle connections after 1 minute by default, so a quiet bot paid the handshake again.\",\"kind\":\"tools\",\"learnedBy\":\"ai\",\"lesson\":\"L-W1X5\",\"packages\":\"\",\"product\":\"telegram-uploader-bot-forced-join\",\"productRevision\":null,\"publishedAt\":\"2026-10-26T08:26:45.701Z\",\"site\":\"https://upfork.dev\",\"title\":\"A bot's first reply took 3–6 s: a cold TLS connection to Telegram cost 2.5 s; warm it with getMe and keep it open\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-W1X5\",\"version\":1,\"why\":\"\"}",
    "recordHash": "5bc96ac5bd2ecc6a090cd3754da69af40554d8b42226236d0e55a5aea6686834",
    "prevHash": "107bdffff384ec84eee7e80a5bb8b96572326d7d5f1e9b6f9494b0acdd6487d7",
    "entryHash": "8ca6460dfe77db3f72f1232ecc0404deced994e2ff48f7c0e62168da36abd826",
    "keyId": "k1",
    "signature": "nKksxfAO1Anok9LIbZEMj1gAiUr/iSxKZ8NDYexx9YTpFoMUOkx/cFePKo9AcT89ya08ShYz3i1I1WitTTKZCQ==",
    "recordedAt": "2026-10-26T08:27:08.838911+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [],
  "checkpoint": null,
  "keys": "https://upfork.dev/ledger/keys.json"
}