JobCountByState query performance
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- databases
調査の方向性
Start at api_handler.go around the linked JobCountByState query and reproduce its performance with a large jobs table. Inspect the query plan and existing indexes, then verify that the selected change makes the API request complete without timing out on a comparable dataset.
索引モデルが issue の本文から書いたものです。
説明
Hey,
I'm really enjoying river so far, so thank you for that!
I was playing around with River UI, but on a table with just over 5 million jobs the queries become so slow that the api requests are timing out and I'm just getting a white screen (specifically the JobCountByState query). Haven't looked into it too much, so not sure if it's just missing an index somewhere.
This is happening both on my local M2 MacbookPro and on a small AlloyDB instance.
EDIT:
For some numbers, that query took 9s to complete on AlloyDB (which admittedly is under heavy use at the moment). The same query took just over 3s on my otherwise idle Macbook.
- 主要言語
- TypeScript
- スター
- 236
- フォーク
- 39
- 平均マージ
- 3時間 40分
- マージ済み PR(30日)
- 23
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
riverqueue/riverui のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
riverqueue/riverui#448 · コメント 4 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
riverqueue/riverui#102 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
riverqueue/riverui#590 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
riverqueue/riverui#479 · コメント 3 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
riverqueue/riverui#441 · コメント 6 件 ·
riverqueue/riverui の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area:tools bug good first issue help wanted priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
TaewoooPark/Motifcode#14 ·
-
bug 🐞
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BasedHardware/omi#15320 ·
-
難易度 2/5 半日 初心者へのやさしさ 78/100
vercel/vercel-plugin#199 ·