The only answer that matters:
“It depends”
Seriously though, without more context it’s meaningless to recommend one over the other. There’s times long polling is appropriate, there’s times websockets are appropriate.
Typically with a Phoenix channel you’d be using websockets as the transportation layer, unless you have some requirements where websockets cannot be used.


















