Newbie here, looking for advice on which technology I should use for my particular project. Not looking for code per se, just opinions. Here's an ugly diagram of what I'm trying to achieve:
[local Python app] <--ADVICE NEEDED HERE--> [hosted web server]
So from above, I'm looking for the technology that will allow my local app to communicate with the hosted web server. Here's the pitfall: I can't use sockets as I'm on a shared hosting plan and my hosting company restricts this. IRC is also denied. I know, makes it a bit tricky.
So choices do I have left? Here's some ideas I had:
- Both local app and server poll a MySQL db for changes, and either can makes changes (I really don't like the idea of polling however, and doesn't seem like a secure solution)
- Do some sort of remote http post to get data to the server (possible?), then poll some file on the server for commands
- Run a web server locally, write data a text file locally, then have hosted server poll file for changes (I'm really trying to avoid running a web server locally for security reasons).
Any ideas without having to poll? Thanks.