title: Options to write a Python Server that will check database consitently for updates and changes
body: <p>I am a self taught Python programmer and I have an idea for a project that I'd like to use to better my understanding of Socket programming and networking in general.  I was hoping that someone would be able to tell me if I am on the right path, or point me in another direction.<br><br>
  The general idea is to be able to update a database via a website UI, then a Python Server would then be consistently checking that database for changes. If it notices changes it would then hand out a set of instructions to the first available connected client.<br>
  <br>
  The objective is to<br>
  A - Create a server that reads from a database.<br>
  B - Create clients that connect to said server from a remote machine.<br>
  C - The server would then consistently read the database and and look for changes, for instance a column that is a Boolean that would signify Run/Don't run. <br>
  D - If say the run Boolean is true, the server than would hand the instructions off to the first available client.<br>
  E - The client itself would then handle updating the database of certain runtime occurrences<br><br>
  Questions/Concerns<br>
  A - My first concern is the resources it would take to be constantly reading the database and searching for changes. Is there a better way of doing this? Or Could I write a loop to do this and not worry much about it?<br>
  B - I have been reading the documentation/tutorials on Twisted and at this moment this looks like a viable option to be able to handle the connections of multiple clients (20-30 for arguments sake). From what I've read Threading looks to be more of a hassle than it's worth.<br><br>
  Am I on the right track? Any suggestions? Or reading material worth looking at?<br>
  Thank you in advance</p>