zlacker

[parent] [thread] 1 comments
1. virapt+(OP)[view] [source] 2021-06-12 14:21:20
This sounds dangerous. Without some good way to prevent workers stepping on each other, that will result in lots of useless queries and failed updates if a lot of jobs get scheduled at the same time.

In the Drupal case, the database returns a single row which is pretty much guaranteed to be the same for all workers in between updates. You really don't want that in the same database your page views hit. At least selecting N rows at a time and then claiming a random item from them would be slightly better.

replies(1): >>virapt+cS
2. virapt+cS[view] [source] 2021-06-12 22:46:41
>>virapt+(OP)
I find the downvotes weird without any explanation why the raised issue doesn't sound important.
[go to top]