Ask HN: What is the best way to implement a listener for web applications?
I am wondering what is the best way to implement a listener for a web application? And how do large apps do this?I can imagine a web application, e.g. php or ruby etc, that is linked to a typical database, e.g. mysql. The job queue is stored in the DB and another separate backend process polls this job queue - doing sql Selects Upon detecting a new job, the backend then starts a resource...