Hayden Stainsby on Nostr: There's some new instrumentation in tokio 1.41.0 (released 2 days ago), which ...
There's some new instrumentation in tokio 1.41.0 (released 2 days ago), which includes the size of the future driving every task.
In Tokio Console 0.1.13 (released half and hour ago), not only will you see this value, but there are 2 new lints which will warn you if your futures are perhaps a little too large.
https://docs.rs/tokio-console/0.1.13/#rust #rustLang #tokioConsole #tokio #asyncRust
Published at
2024-10-24 20:16:21Event JSON
{
"id": "15c0a1de4d83e5172fbcb5ced6c69cc50458538bd306bc06e8fa7aa96e59b0be",
"pubkey": "31fa9dc1b3fcd2f7a119305272190c1b16e4ab391400ec06db8c35c51ac78ecc",
"created_at": 1729800981,
"kind": 1,
"tags": [
[
"t",
"rustlang"
],
[
"t",
"tokioconsole"
],
[
"t",
"tokio"
],
[
"t",
"asyncrust"
],
[
"t",
"rust"
],
[
"proxy",
"https://hachyderm.io/users/hds/statuses/113364237102131548",
"activitypub"
]
],
"content": "There's some new instrumentation in tokio 1.41.0 (released 2 days ago), which includes the size of the future driving every task.\n\nIn Tokio Console 0.1.13 (released half and hour ago), not only will you see this value, but there are 2 new lints which will warn you if your futures are perhaps a little too large.\n\nhttps://docs.rs/tokio-console/0.1.13/\n\n#rust #rustLang #tokioConsole #tokio #asyncRust\n\nhttps://media.hachyderm.io/media_attachments/files/113/364/225/992/185/462/original/37a048e75193f79d.png\n\nhttps://media.hachyderm.io/media_attachments/files/113/364/226/205/532/371/original/633e3f2f5b23cf69.png",
"sig": "4c65064b288d54eeb52ab7e1fd62e0907b937cca6fb0031f38f562067eaa2a966e502bd61b8ef161689564f96350aa7ddaf39c6f305622b753c8ae7273b35bac"
}