Trigger app when a specific value in Firebase gets changed

Hello,
My app exchanges info in the firebase realtime DB between specic users of the app but not all the users. I am looking for the best way for the app on one device to be aware as soon as a specific value is changed by an app on another device.

I have tried using the firebase.datachanged block and then checking if the specific value a specific user needs has changed.This does work but this event is triggered when anything in the DB is changed by any user. Not really an issue with 4 or 5 users but with thousands of users all checking the DB for changes anytime a change is made is not the right way to go.
basically I need a way to notify the app of one or multiple users that they need to check the DB for changes.
Is there a better way to do do this?
Thanks
-Jeff

This sounds like you need Publish/Subscribe Programming techniques