Claim batches safely across instances
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 47/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- csharp, postgresql
- Domain
- databases, distributed-systems
Research direction
Start by locating IOutboxStore and the batch dispatch code, then read the PostgreSQL and SQL Server store implementations. Implement safe concurrent claiming with PostgreSQL FOR UPDATE SKIP LOCKED and SQL Server UPDLOCK with READPAST behind the interface; done means two dispatchers cannot send the same row at the same time.
Written by the indexing model from the issue text.
Description
Two dispatchers must never send the same row at the same time. PostgreSQL gets FOR UPDATE SKIP LOCKED, SQL Server gets UPDLOCK with READPAST, both behind IOutboxStore.
- Dominant language
- C#
- Stars
- 0
- Forks
- 0
- Avg merge
- 3m
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from softvasco/outbox-kit
-
documentation
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
softvasco/outbox-kit#9 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 38/100
softvasco/outbox-kit#24 ·
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 48/100
softvasco/outbox-kit#23 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
softvasco/outbox-kit#22 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 47/100
softvasco/outbox-kit#21 ·
All issues in softvasco/outbox-kit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
flyingpie/windows-terminal-quake#419 ·
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
a-corriger documentation
Difficulty 1/5 1-3 hours Newbie friendliness 83/100
christian-raj/S-Aloha#272 ·
-
Incorrect loop bound in SizeOptIListSelectIterator.ToListPossibly taken @equmagg claimed this today. Openarea-System.Collections untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
dotnet/runtime#137126 · 1 comment ·
Maintainers usually reply within 1 day
-
bug debugger flaky small
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day