Negentropy
I'm not sure if it works with other relay implementations (I believe it doesn't) but certainly it's the most efficient way.
GitHub
GitHub - hoytech/strfry: a nostr relay
a nostr relay. Contribute to hoytech/strfry development by creating an account on GitHub.