After finding new providers for a piece of content, peers should store those providers locally. This:
- Speeds up future (initial) find provider queries for the same thing.
- Distributes frequently requested provider records around the network.
However, I'm a bit concerned about provider record expiration given a FindProviders call won't actually return when the provider record was initially submitted. This means that popular provider records would live forever.
One solution is to do this (record that some peer provides some content/service) inside the end service itself. For example, when we get a block from a peer, we could locally record a provider record for the peer from which we got the block. This would, incidentally, help us resume downloading a file if we restart.