Adding locks and a queue in case the same domains receive another NOTIFY when the first processing is not yet completed #3

Open
opened 2021-08-02 19:42:44 +02:00 by Ruakij · 0 comments
Owner

An important part of parallel-processing are locks for access on the same ressource.

There are 2 basic approaches to this:

  1. Cancel the current processing and start the new one
    This could be favoured, because the new job is more up-to-date and could/should include some of the current processing steps too

  2. Let the current one finish and put the new one in a queue.
    This is potentially alot cleaner, but will increase timing significantly.

An important part of parallel-processing are locks for access on the same ressource. There are 2 basic approaches to this: 1. Cancel the current processing and start the new one This could be favoured, because the new job is more up-to-date and could/should include some of the current processing steps too 2. Let the current one finish and put the new one in a queue. This is potentially alot cleaner, but will increase timing significantly.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Ruakij/dnscontrol-sync#3
No description provided.