Hello everyone,
My app is an ordering app, so the buyer contacts the seller and once the seller send the buyer a message and he is not online the app should send a notification.
The problem :
The notifications Not always are being sent and the services some times it works and sometimes it just stops working.
And am pretty sure a timer connecting to the database every 5 minutes is really wrong.
Am using mysql online server and i connect to it using php.
So what should i do?
Is there any mysql database listener? Once the db has changes it will show in the app?
My app is an ordering app, so the buyer contacts the seller and once the seller send the buyer a message and he is not online the app should send a notification.
The problem :
The notifications Not always are being sent and the services some times it works and sometimes it just stops working.
And am pretty sure a timer connecting to the database every 5 minutes is really wrong.
Am using mysql online server and i connect to it using php.
So what should i do?
Is there any mysql database listener? Once the db has changes it will show in the app?