Query time issue with "Tag" implementation
@zakriya057 đang làm issue này rồi.
Từ ngày 2/12/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Our current Implementation of tag's associated with a Shift is done via django-taggit here.
This implementation is somewhat lazy and causes a lot of overhead when querying all shifts
via the /shifts endpoint.
I have already created a branch in which django-silky is installed to profile the endpoints see the profiling branch.
Tags are a convenience feature for users to categorize Shift s and also sort them in a manner. Due to the nature
of how django-taggit implements Tags (ContentTypeRelations/Own db table) we are creating one query per shift object
as we are querying Shifts.
Main Issues:
- Huge Query overhead
- Somehow, if a new
Shifthas aTagthat is already existing, it is not reused but a new one is created (Not 100%, needs checking)
Goal:
Find a way to implement Tags in a way that the over head is reduced/eliminated. Possible changes in the Frontend are acceptable.
Check if Tags are reused.
If Tags are NOT reused, implement reusing them.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ClockGU/clock-backend
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
ClockGU/clock-backend#467 ·
-
feature proposal
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
ClockGU/clock-backend#451 · 2 bình luận ·
-
:bug: Bug help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
ClockGU/clock-backend#435 ·
-
:bug: Bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
ClockGU/clock-backend#433 · 1 bình luận · 1 reaction ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
ClockGU/clock-backend#412 ·
Tất cả issue của ClockGU/clock-backend
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
sierra-research/tau2-bench#635 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The add-ssm-model skill requires a Cython simulator; the contributing guide allows Python onesCó thể đã có người làm @fmuia đã nhận hôm nay. Đang mởdocumentation skill
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
lnccbrown/ssm-simulators#406 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
btclib-org/btclib-ecc#309 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jbacalso24/mimry#459 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] POST /revoke with a FastMCP access token is a silent no-op (ownership gate never matches)Đang mởauth bug high-priority
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày