That's not actually the case. It's one ping per event. You don't keep the connection open.
The "client" in pubsub registers a call-back URL with the server, and the server then POSTs new data to that URL.
No periodic polling required -- that's the whole point of this.