by jondubois · 10y ago · 0 comments
I would also question the decision to use HTTP for this purpose instead of WebSockets.
And as for WebSockets, HTTP is easier to debug and experiment with, in my experience the performance difference for the typical use cases is negligible and when needed it is trivial to wrap the communication in a socket.
Otherwise, HTTP works best. It has better tooling and will soon be even faster due to HTTP/2.