OceanSlim on Nostr: In all likelihood they were being handled concurrently but not with a go routine. I ...
In all likelihood they were being handled concurrently but not with a go routine. I added Max go routines to the resources config so I could clear memory if overloaded by ending the oldest routines. So now they are go routines. Which could be more performant and is definitely more fail safe depending on what hardware you are running it on.
Published at
2024-08-19 21:07:23Event JSON
{
"id": "34fc6e7940b492b063d34eec53367d4b64d36652ccdea7eb69fc38d4a1c982b6",
"pubkey": "16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b",
"created_at": 1724101643,
"kind": 1,
"tags": [
[
"e",
"cf592267a3e95c2b94dd5a395c96a421cc9255f19355c429da0f7e00fa664798",
"",
"root"
],
[
"e",
"1468822daacff635c573e5d931959bf575f71ecd2d57ad4017479413f3ac3e61",
"",
"reply"
],
[
"p",
"16f1a0100d4cfffbcc4230e8e0e4290cc5849c1adc64d6653fda07c031b1074b"
],
[
"p",
"7bdef7bdebb8721f77927d0e77c66059360fa62371fdf15f3add93923a613229"
]
],
"content": "In all likelihood they were being handled concurrently but not with a go routine. I added Max go routines to the resources config so I could clear memory if overloaded by ending the oldest routines. So now they are go routines. Which could be more performant and is definitely more fail safe depending on what hardware you are running it on. ",
"sig": "0c5c68bab60dfdbad0d4c79063fabcb44830a59750ab9438b7758dfe4a6883af59f468e25059ca9d3957d3e2957b90b7d4215ff0eb9930295162410fa3be2411"
}