Consider a lower level/more performant response representation
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- scala
- 領域
- api, performance
調査の方向性
ファイル、エントリーポイント、テストは指定されていません。まず、GraphQL のレスポンスが Circe JsonObjects として構築される箇所を追跡し、その後、提案されている byte-array 表現と、別個の streaming の案を評価してください。完了とするには、スコープ、実装アプローチ、パフォーマンスまたはレスポンス動作の検証を定義する必要があります。
索引モデルが issue の本文から書いたものです。
説明
Currently we construct responses as Circe JsonObjects. @djspiewak observed that this is very costly, and also most likely unnecessary given that we're constructing a single response value bottom up: we could just as easily glom byte arrays together rather than constructing an intermediate structured value.
Simply ripping out Circe (for this role, not everywhere) and replacing with something lower level should be fairly straightforward, but probably isn't an immediate priority.
A slightly more ambitious move would be to support response streaming (ie. start returning the response to the client as soon as the first bytes are available). This might involve some tricky scheduling of nested subqueries for the best results, but I think also should be possible.
- 主要言語
- Scala
- スター
- 189
- フォーク
- 32
- 平均マージ
- 3日 8時間
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
typelevel/grackle のほかの issue
-
Add http(4s) moduleオープン
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
typelevel/grackle#946 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
conformance
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
メンテナーはふだん 1 日以内に返信
typelevel/grackle の issue をすべて見る
似ている issue
-
AI Auto-validate
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ProjectSidewalk/SidewalkWebpage#5788 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
scalameta/metals-zed#99 ·
-
area:ops priority:P2 status:idea
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
KD5UJC-XYZ/scarab#112 ·
-
Bound wrong-magic P2P diagnostics to parsed header bytes対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ergoplatform/ergo#2736 ·
メンテナーはふだん 1 日以内に返信
-
perf: use extend when buffering partition row indices in the native shuffle writer対応中かも @HarshilMital が 1 日前に担当しました。 オープンarea:shuffle enhancement good first issue performance requires-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/datafusion-comet#7072 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信