I have a server which updates some information sometimes.
I am programming a "raspberry pi backend" to my server to show me the current data on the server.
However I am not sure how to set-up the data transfer efficently. I don't want the raspberry pi to query the server every second, I want the server to send out a "push notification" to the raspberry pi and tell it to update (i dont want to send actual data within the notification (sent data), just the "command to retrieve data").
The project should serve as an "example project" on how to properly do "push notifications" (or however it is called) so i would prefer non-hacky solutions. I am mainly just looking for the right tool to do the job.