Có thư viện này chạy cực nhanh uWebSocket
WebSocket vs SocketIO So sánh giữa WebSocket và SocketIO Socket.IO is a WebSocket API created by Guillermo Rauch, CTO of LearnBoost and lead scientist of LearnBoost Labs. Socket.IO will use feature detection to decide if the connection will be established with WebSocket, AJAX long polling, Flash, etc., making creating realtime apps that work everywhere a snap. Socket.IO also provides an API for Node.js which looks very much like the client side API.
Xây dựng ví dụ Socket.io với Chess.io http://chessboardjs.com/
Bài tập thiết kế ứng dụng chess sử dụng Socket IO và 2 thư viện này
https://github.com/jhlywa/chess.js http://chessboardjs.com/examples#2030
Có các chức năng thách đấu, xem, chát bàn bài