How does realtime notifications work in ERPNext ? What is the communication protocol it uses?

The type of communication protocol that ERPNext is using , like is it using web socket or any other communication protocol.

Frappe uses socketio via a node service. Communication to nodejs is done via Redis pubsub