Replying to Avatar unclebobmartin

GM PV Notroids, my recent travels are at an end, the resulting accumulated backlog has been eroded, and I rode 30 miles yesterday on my Terra Trike. I've got a plan for the next modifications to more-speech.

The main problem is that I treat the relay websockets in unison rather than as independent devices. I open them all at once, and wait for them all to be open. When I send I send to all at the same time. This has to end.

So my next more-speech project is to create asyncronous processes for each websocket so that I can start sending as the websockets open, and I can queue up messages to those websockets that open later, or close down and then reopen.

This shouldn't be too hard because the input side of the websockets is already asynchronous. Right now I'm debating whether I should use clojure channels, or agents as the message queuing mechanism. I'm leaning towards agents.

Avatar
miggymofongo ☆彡 2y ago

Sounds dope! I wanna get to this level of understanding about web dev.

Reply to this note

Please Login to reply.

Discussion

No replies yet.