[ENHANCEMENT]: cache counts
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start by comparing the proposed caching and asynchronous-pagination approaches with the indexing option discussed in issue #2289. The issue does not settle which approach to implement or identify files and tests; clarify the scope first, then define completion in terms of reducing the pagination-count bottleneck without changing pagination results.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
It would be nice if there is some functionality to cache the pagination count data because if you got a lot of data, the count(*) that the db will do in the backend becomes a bottleneck, an example could be when you have a lot of cracks. We could perhaps store this in a seperate table or even a redis store.
Another solution could because this will probably only be a problem for the cracks table in most systems, since that is the only kind of data that has no archived functionality, is to keep the total amount of cracks in some metadata table, and whenever something gets cracked, this element gets updated
The problem with this approach you would have to have a count for every combination of access groups which can become unreasonable.
Another solution which is my favorite but would need to have changes in both the frontend as backend. Is to make a seperate pagination endpoint that returns the pagination data which can be called in async with the normal endpoint. This way counting will not be a bottleneck for retrieving the data.
In the end this might not be that high of prio, especially since it can be solved pretty good by creating the correct indexes: https://github.com/hashtopolis/server/issues/2289
- Lingua principale
- PHP
- Stelle
- 1.8k
- Fork
- 257
- Merge medio
- 1g 13h
- PR unite (30g)
- 15
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hashtopolis/server
-
bug ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
hashtopolis/server#2615 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
hashtopolis/server#2614 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
hashtopolis/server#2613 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
hashtopolis/server#2537 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Heatmap chart displays days of the week in wrong placeForse già presa @LuffyNoNika l’ha presa 1 giorno fa. Apertabug ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
hashtopolis/server#2534 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di hashtopolis/server
Issue simili
-
good first issue priority:low type:docs
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
crazy-goat/rabbit-stream#969 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
opensourcepos/opensourcepos#4801 ·
I maintainer di solito rispondono entro 1 giorno
-
backend docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
Open-Locker/Open-Locker#368 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement priority Sales
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
novalo-dev/Prestashop-MCP-Server#190 ·
I maintainer di solito rispondono entro 1 giorno
-
sync-en
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno