I have a Bluetooth Service that receive values every second, and a GPS Service that receive a location every 10 seconds. All those datas must be stocked in a database. To avoid that those 2 services try to write at the same time in the database, I created a Database Service to store those datas: Bluetooth and GPS Services send their values into broadcast to this Service, and this Service will stock them. I have a few questions:
-How many broadcasts per second can receive my Database? (with a Broadcast Receiver) - If my Database Service receive a new value but haven't had the time store the previous one, what happen?
Aucun commentaire:
Enregistrer un commentaire