dr.orlovsky on Nostr: Just one note: none of the async runtimes can handle 100k due to POSIX limit on ...
Just one note: none of the async runtimes can handle 100k due to POSIX limit on connection number which is 16 bit (number of ports per the underlying physical network card).
Async is a myth. It is nothing more than the threads, with semi-automatic allocation of procedures (“tasks”) over threads. And threads are limited and heavy - just a dozens per async runtime.
Published at
2023-04-15 21:31:12Event JSON
{
"id": "a7d638f9bb413ac6fafa81092471dc913685ab60054062cdfff597b09a3c89fe",
"pubkey": "8eee8f5a002e533e9f9ffef14c713da449c23f56f4415e7995552075a02d1d37",
"created_at": 1681594272,
"kind": 1,
"tags": [
[
"e",
"53eb5d1ce61a35e5cf0afd99475dc3613047914380d1afa1a781e1982823a7a7",
""
],
[
"e",
"f4d62d6e15bf41f9783f669290503c3dd6beb8a7b39d69010f8fd92b1d7396b0"
],
[
"p",
"274611b4728b0c40be1cf180d8f3427d7d3eebc55645d869a002e8b657f8cd61"
],
[
"p",
"274611b4728b0c40be1cf180d8f3427d7d3eebc55645d869a002e8b657f8cd61"
]
],
"content": "Just one note: none of the async runtimes can handle 100k due to POSIX limit on connection number which is 16 bit (number of ports per the underlying physical network card).\n\nAsync is a myth. It is nothing more than the threads, with semi-automatic allocation of procedures (“tasks”) over threads. And threads are limited and heavy - just a dozens per async runtime.",
"sig": "adee407a8da58bb21046f9775bfb1c8f79bf13e87bfa55d4737a4e88f7b995780dc38ea5d12d5a7c082a4056ed0b979427ddf8bd24dff0995e4e3dbe38b07c8c"
}