> Hi guys, > > Is there any way to initiate a websocket connection with the uwsgi API > to another uwsgi instance? > > Here's my use case: > - there are several nodes that I need to talk to each other > - some are only receiving messages, others only generating/sending them > and some of them do both > - a secure and low-latency solution is needed as there are thousands of > small messages passed between the nodes in an untrusted environment > > So I figured websockets over https are a good start as they fit the bill. > > I looked at the RPC stack but I don't think it will work because: > - it can't provide the security I need (at least I don't see how) > - while it's fast I guess websockets will do better due to the number of > messages passed > > I guess my assumptions might be wrong, but any possible solutions are > appreciated in any case. > >
the best solution would be having rpc+ssl client support (server support is already implemented). I will investigate on it. I do not think websockets are a good approach, you need to hold the connection opened for the whole request, manage ping pong and so on... -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
