Size too large for deployment. Possibilities to reduce size?
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 155
- フォーク
- 47
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hey, guys. Thanks for making a great library. I'm getting beautifully optimized routes!
My issue revolves around the resulting library size. Pulling from npm, this library comes in at a chunk of 475 MB, and it looks like the biggest piece is libtools.a @ 317 MB.
Is there any way I can reduce this size? We were really hoping to use this in a Lambda function to build optimal routes for our fleet, but the Lambda max is 250 MB. Is there another version of libtools.a or node-or-tools in general that's a bit slimmer?
Thanks a lot for any help!
Edit: Using --build-from-source doesn't work either if it helps.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず npm パッケージの内容、特に libtools.a を調査し、言及されている --build-from-source オプションの結果と比較します。よりスリムな配布物が Lambda の 250 MB の制限内に収まるかどうかを判断します。サイズ削減の手順が文書化されるか、その制限を満たすパッケージができれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp, node.js
- 領域
- build-system, cloud, performance
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100