Relays have 2 tasks:
1. Storing notes
2. Allowing people to query them
When you connect to a relay, it uses the WebSocket protocol to communicate (that is what the wss:// is). HTTP is like asking someone something and getting an answer, WebSockets are like real time chat.
Which is better for real t...