tohrxyz on Nostr: i have this feeling that websockets are too expensive compared to the benefit they ...
i have this feeling that websockets are too expensive compared to the benefit they give for a chat app
but i havent tested it yet, like what would be the scalability issues with serving million users via http polling vs wss
Published at
2024-11-10 14:56:13Event JSON
{
"id": "b9e98bdce3f2a1f063530826f75051b62326913554516f1351d13384c49393ef",
"pubkey": "c3790e2cb54740cbac3d9a8ffc77443e04e957b668dd49aab05e2c3a29dbc078",
"created_at": 1731250573,
"kind": 1,
"tags": [
[
"e",
"6584a67ed268e1240f0bb20ca556259baf9f3b513afc493109b78cb8126b5e8d",
"",
"root"
],
[
"e",
"7673dc25b345df05469084511509108a94f9f0bd421cfe0f7fe7fb63e42b5b6a",
"",
"reply"
],
[
"p",
"4a38463c2a75e68c24416e7720a3b3befbb0ea6872d5a04692c39e18e8f2dcac"
]
],
"content": "i have this feeling that websockets are too expensive compared to the benefit they give for a chat app\n\nbut i havent tested it yet, like what would be the scalability issues with serving million users via http polling vs wss",
"sig": "74231448c8c887c0e4f362f96cbaa34a612374a7a72d883c72ad8db7f367f80d7a9ba533e78402eb5c406925e0e22063ce3b3ed2e04aed9a8460e9de4b37b6a5"
}