I tried to write a control connection between my robot and PC or Android. Ok. So right now it looks like so: There is an local apache2 server on my raspberry pi and my robot checks every time my MySQL database which is not efficient especially because MySQL is slow
I need a new solution to improve speed of communication beetween my robot and PC or Android app.
Is it efficient if I setup REST server on my raspberry pi with MongoDB in JS? MongoDB should be much faster than my current MySQL solution. And If I had REST service I can use it to communicate android app or webapp or my pc to my robot.
Could you give me any tip if that helps with my case? Or the current solution client-server with MySQL will give me the same effect. Or there is any other better solution to ensure control connection between raspberry pi robot and different clients.