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

Open
opened 3 years ago by Ruakij · 0 comments
Ruakij commented 3 years ago
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
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Ruakij/dnscontrol-sync#3
Loading…
There is no content yet.