Don’t Use Long Polling – Just Use WebSockets
blog.baasil.io
blog.baasil.io
Most of our service is being run through aws lambda, so websockets is not an option without running a separate service. I suspect this is a problem for many. Is it worth running an extra service to use websockets on a component of your app vs using polling.
I've decided to implement polling for the first iteration, and we can always try websockets later.
So, I wouldn't say "don't use polling", but websockets are a good solution I've used in the past, depends on the app and architecture.