nostrdb was built for embedding into phones, its what powers profile and note search on damus ios. I have a branch that switches ios over to this model for the entire interface.
Damus android and Damus notedeck are built from the ground up using the local relay model. If you compile and run them you will see the difference. nostr:note1zj0560pg3fnkv3tky55gzgk0xfq48d2vxe507azp7q48j5v64wjqkxydmc