in reply to A server that has a fool as its client: itself
There is a third alternative to threads or fork - a callback-oriented approach using AnyEvent (and nonblocking sockets).
Depending on the actual data to be distributed, I'd still look at the established methods of storing and transferring data, like SMTP ("email"), databases, HTTP or DNS before implementing my own scheme.
|
|---|