-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d922c5e
commit 03fb623
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: Priority | ||
sidebarTitle: Priority | ||
--- | ||
|
||
# Decision to choose a priority strategy | ||
|
||
**status**: draft | ||
|
||
## Context | ||
|
||
Some transactions have higher priority for processing than others, so a weighting concept is used to sort the transactions accordingly. Therefore, the weight is defined in configurable labels as queues that the user assigns when submitting a transaction. Finally, transactions are fetched based on their weight, meaning the fetch operation will return a number of transactions proportional to the label weights. For example, if *label1* has a weight of 2 and *label2* has a weight of 1, the fetch operation will return 2 transactions from *label1* and 1 transaction from *label2*. | ||
|
||
**Options:** | ||
- **SQL Query**: ? | ||
- **Memory**: ? | ||
|
||
## Decision | ||
|
||
? | ||
|
||
**Rationale** | ||
- ? | ||
|