unclebobmartin on Nostr: Good Sunday Morning to all you Nostr folk. Today I'm hopping in The Countess to go ...
Good Sunday Morning to all you Nostr folk. Today I'm hopping in The Countess to go practice some approaches. Then I'll come home, exercise a bit, and then look through the reviews of my latest book (Functional Design) and make the necessary changes.
I'm making a lot of progress on more-speech. I recently got the relay management page working so that you can add, delete, and rename relays, and change their roles on the fly. Relays can be :read-none, :read-all, :read-trusted, or :read-web-of-trust. That latter subscribes to everyone you trust and everyone _they_ trust. The list gets a little large. Relays can also be set to be writeable or not. And the relay management panel displays some current statistics about each relay.
I also have an interesting problem that I'll be working on over the next week or so. When relays go down, for one reason or another, I repeatedly retry the connection, increasing the delay with each try. This has somehow caused performance to gradually slow so much that the time to process an incomming message is longer than the time between incomming messages; and the system eventually exhausts memory. This is probably due to threads not dying when they are supposed to, and building up over time sucking CPU cycles away from real work.
So that'll be fun to debug. The solution is likely to redesign the whole relay connection subsystem into a single thread, or a set of N threads that do not themselves spawn new threads.
Anyway, next week will be a lot of fun. Monday I'm teaching a class. I've got a dog rescue planned for Tuesday. Another class to teach on Wednesday. And some other travel planned for Thursday.
Published at
2023-02-26 14:38:42Event JSON
{
"id": "0000acc578c90e28ba9c8cb2b5598ef1b28f3b514d393208d56598a1ea3c1a26",
"pubkey": "2ef93f01cd2493e04235a6b87b10d3c4a74e2a7eb7c3caf168268f6af73314b5",
"created_at": 1677422322,
"kind": 1,
"tags": [
[
"client",
"more-speech - 2023-02-21T15:39"
],
[
"nonce",
"28424",
"16"
]
],
"content": "Good Sunday Morning to all you Nostr folk. Today I'm hopping in The Countess to go practice some approaches. Then I'll come home, exercise a bit, and then look through the reviews of my latest book (Functional Design) and make the necessary changes. \n\nI'm making a lot of progress on more-speech. I recently got the relay management page working so that you can add, delete, and rename relays, and change their roles on the fly. Relays can be :read-none, :read-all, :read-trusted, or :read-web-of-trust. That latter subscribes to everyone you trust and everyone _they_ trust. The list gets a little large. Relays can also be set to be writeable or not. And the relay management panel displays some current statistics about each relay.\n\nI also have an interesting problem that I'll be working on over the next week or so. When relays go down, for one reason or another, I repeatedly retry the connection, increasing the delay with each try. This has somehow caused performance to gradually slow so much that the time to process an incomming message is longer than the time between incomming messages; and the system eventually exhausts memory. This is probably due to threads not dying when they are supposed to, and building up over time sucking CPU cycles away from real work. \n\nSo that'll be fun to debug. The solution is likely to redesign the whole relay connection subsystem into a single thread, or a set of N threads that do not themselves spawn new threads. \n\nAnyway, next week will be a lot of fun. Monday I'm teaching a class. I've got a dog rescue planned for Tuesday. Another class to teach on Wednesday. And some other travel planned for Thursday.",
"sig": "e14d5746cbdc9137caf905b650ca50f5c3d1a8eb38d8c5b17779904272a9c00cb3b46add1b71405a6168ae9c8ba07dab357e56a217ac5dee5df237b47a24fee7"
}