I'm experimenting with the uwsgi API as described here: 
http://uwsgi-docs.readthedocs.org/en/latest/API.html

I am using the uwsgi emperor, and the API is working well with one vassal, but 
what if I need to communicate between vassals?  Is the "mule" feature required 
for that?

Also, what if I need to communicate state from the emperor to a vassal?  For 
example, when the emperor scans mongodb (I am using the emperor_mongodb plugin) 
and begins listening on an on-demand socket for a new vassal, I want a special 
admin vassal to know about it.  I could poll the emperor's logs or set up 
emperor-stats and poll that.  But that's a little rough, and I know uwsgi has 
some great signaling features, so I am wondering if there is any way I can use 
signals for this type of thing.  Or perhaps fire a signal or send a request to 
a mule on an emperor log entry matching a particular pattern?

Thanks,

Rob
 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to