dcs on Nostr: benchmarking #python nostr-relay on my low-end VPS: ~470 event adds/second ~19,000 ...
benchmarking #python nostr-relay on my low-end VPS:
~470 event adds/second
~19,000 event requests/second
This seems sufficient. If a relay were receiving 40 million events per day, you'd have all sorts of other problems to deal with.
Published at
2023-02-03 18:08:27Event JSON
{
"id": "7ad5f3b24d2332398bf93efb14dbec620df517a9c98fbea3ab451fabcf8e1091",
"pubkey": "c7da62153485ecfb1b65792c79ce3fe6fce6ed7d8ef536cb121d7a0c732e92df",
"created_at": 1675447707,
"kind": 1,
"tags": [
[
"t",
"python"
]
],
"content": "benchmarking #python nostr-relay on my low-end VPS:\n\n~470 event adds/second\n~19,000 event requests/second\n\nThis seems sufficient. If a relay were receiving 40 million events per day, you'd have all sorts of other problems to deal with.",
"sig": "8509ffb57b468be979e538d2158098e4a360d226418fecbfc8551b4bae565070db6f71f5b9a93e2fe1843ad11e6f7c729797efd6b8a81d1d2f66cf82d785131e"
}