http is request and response, slower for large data transfers

web socket is a connection, full duplex, between server and client. Works better for performance requiring frequent data transfer in real time. Online games, Chat messages, etc