We build something similar using node.js and it's working quite well. Perhaps we can open source that someday...