How to manage MySQL database in Azure?

What are the best practicing in implement a queuing database?

  • Hello, I am looking into create a database that does the following: - Accepts data, such as a questions for a support system - (Somehow) funnels the pushed data into a processing queue - (Somehow) waits for someone to answer the question - (Somehow) Pops question out of processing queue To answer my "somehow’s" I am thinking the way to do this is as follows - Create a table for unanswered questions - Create a script that will run on a cron-tab every 1-second - - This script will query the Unanswered Questions table of the database - - Collect the last one (FIFO) - - Transaction: Move that data to a Processing Table and send alert to “Answerers.” - Create another script that the Answerer will call when he answers question So, currently my solution is to use a cron-tab and standalone scripts (such as Python or PHP) to manage the database at every interval. Are there better ways of doing this? Perhaps a way to handle queuing systems within the database itself and not rely on external scripts to run on Cron? My database system will most likely be MySQL running on a RedHat/CentOS system.

  • Answer:

Bill Karwin at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.