-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New database model for Task Queue entries, to reduce network traffic #881
Conversation
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## deploy/hammer #881 +/- ##
=================================================
- Coverage 49.35% 44.97% -4.38%
=================================================
Files 285 291 +6
Lines 7564 8514 +950
Branches 1050 1323 +273
=================================================
+ Hits 3733 3829 +96
- Misses 3682 4485 +803
- Partials 149 200 +51
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain how TaskQueueEntry
improve perf? It seems to be the same as TaskState
.
Signed-off-by: Aaron Chong <[email protected]>
Yeah certainly, this hopes to resolve 2 things,
let me know what you think, or if there are better ways to achieve this |
Signed-off-by: Aaron Chong <[email protected]>
I think what we can do are:
Moving |
Per VC, what we know now,
what we should do,
other TODOs afterwards,
|
Changing to draft, as this involves more discussions |
What's new
TaskQueueEntry
model to be used for Task Queue, instead ofTaskState
(which contains all the phases), to reduce network trafficapi-client
Self-checks