lundi 30 avril 2018

PHP/C++ Realtime Database

Well i want to make a small project but i am quiet unsure how to solve my problem. First of all i want to have an web API that writes or reads my data. I was thinking of lumen (php micro-framework). I've also have a c++ project that needs to read the data permanently maybe in a thread or something like that so when the data changes my c++ project continues with the updated values. Whats the best solution for it? Is a database a good idea? or should i use a file? what about read and write cycles when i let it run 24/7 on a raspberry pi also how would i solve it? should i make permanent requests to my api in a c++ thread?




Aucun commentaire:

Enregistrer un commentaire