Mike Dilger on Nostr: The client I've been working on, Gossip, unfortunately is running into big ...
The client I've been working on, Gossip, unfortunately is running into big performance problems. Something is amiss with Tauri performance, especially when sending events to JavaScript. It is very slow and unreliable, many events don't show up at all if they are bunched close together, and the window freezes for long periods.
I'm open to suggestions as to how to address this. One option is to have the rust part open a local websocket server and the javascript part communicate with it that way, bypassing the Tauri event channel. A more extreme option is to dump webtech and move to a toolkit like Qt.
Published at
2022-12-14 07:48:43Event JSON
{
"id": "bf9544105844f9057a44d593eb782485bca27f84b6d0b2ae113f7a7244ff86e9",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1671004123,
"kind": 1,
"tags": [
[
"client",
"astral"
]
],
"content": "The client I've been working on, Gossip, unfortunately is running into big performance problems. Something is amiss with Tauri performance, especially when sending events to JavaScript. It is very slow and unreliable, many events don't show up at all if they are bunched close together, and the window freezes for long periods.\n\n\nI'm open to suggestions as to how to address this. One option is to have the rust part open a local websocket server and the javascript part communicate with it that way, bypassing the Tauri event channel. A more extreme option is to dump webtech and move to a toolkit like Qt.",
"sig": "402623847d522075c3d9b9b92ad8dadfaeca964cb336a6fee7f5d541465b7377b6dac370fa581e9ee403a2d46779e907d5ccde689de7732e9d2acec704c8bb2a"
}