views:

52

answers:

2

I'm working on the design of a remote control application. From my iPhone or a web browser, I'll send a few commands. Soon my home computer will perform the commands and send back results. I know there are remote desktop apps, but I want something programmable, something simpler, and something that I wrote.

My current direction is to use Amazon Simple Queue Service (SQS) as the message bus. The iPhone places some messages in a queue. My local Java/JRuby program notices the messages on the queue, performs the work and sends back status via a different queue.

This will be a very low-volume application. At $1.00 for a million requests (plus a handful of data transfer charges), Amazon SQS looks a lot more affordable than having my own server of any type. And super reliable, that's important for me too.

Are there better/standard toolkits or architectures for this kind of remote control? Cost is not a big issue, but I prefer the tons I learn by doing it myself.

I'm moderately concerned about security, but doubt it will be a problem. The list of commands recognized will be very short, and only recognized in specific contexts. No "erase hard drive" stuff.

update: I'll probably distribute these programs to some other people who want the same function, but who don't have Amazon SQS accounts. For now, they'll use anonymous access to my queues, with random 80-character queue names.

+1  A: 

Well, I think it's a clever approach -- and as you said, the costs for your little traffic aren't even worth mentioning.

As I mentioned in the comment, it's a good way to leave your home machine behind your firewall and not have an open port on the internet.

Will Hartung
A: 

I would suggest to use OnlineMQ.com as a start, their have a free package....

Siko
Look interesting. I can't tell from the site what the pros and cons are. Do you have any experience to share?
slothbear