WebSockets are a good technology to consider for real-time chat apps. They are a little different to HTTP connections, which use a request-response pattern. On an established WebSocket, both clients and servers can push messages at any time. This can offer a more efficient solution than polling, for example on an HTTP connection. Ably offer real-time WebSockets and will help you hit the ground running if you have tight time constraints.