> > > hmm yes, that would work i think, and gives me another idea too, thanks! > > so, i take it there is no generic/standard way to broadcast to the > workers ... could there be? :-) i actually kind of like the > rpc/signal/(shmem|cache|...) method but it would be ideal if fewer > steps were needed.
currently i see no easy way to implement it (using standard tcp sockets). Wrapping via something like zeromq should simplify things, but maybe using something like redis in publish/subscribe mode should be easier. > > aside ... are shared-sockets still only accepted by one process at a > time? is there an established way to map a one-to-many connection? Only one process can accept() on a socket, maybe you could make some trick with multicast packets but i do not know if it is a viable solution for you. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
