Quantcast
Channel: User Slawomir - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 35

Comment by Slawomir on Under load, the following job-queue design does not work reliably, why?

$
0
0
Jobs take sub-second to execute. There is an alarm whenever/if jobs were to take more than 3 std dev. The alarm works. There is about 50 jobs per second. The job_queue table has 4 columns, client_submission_id, status, timestamp and the job_id. Primary key is client_submission_id. there is a key (job_id) to quickly retrieve the updated row. There is about 150,000 jobs in the table - oldest, completed jobs are purged periodically.

Viewing all articles
Browse latest Browse all 35

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>