yeah, it's a publish/subscribe/post office protocol
the "relay" acts as a network accessible database as well as passing messages as a middleman
it is quite clever in this most fundamental aspect of its design, but it's so damn near close to the latest tech in databases
just an example of how leaps in technology often are just right next door to what exists
advances in architecture tend to have an exponential result in effect