You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ko...@apache.org on 2021/09/02 00:46:26 UTC
[arrow-site] branch master updated: MINOR: [Website] Fix typos in
the Japanese Apache Arrow Flight post (#145)
This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-site.git
The following commit(s) were added to refs/heads/master by this push:
new 1c02b39 MINOR: [Website] Fix typos in the Japanese Apache Arrow Flight post (#145)
1c02b39 is described below
commit 1c02b3999b6e6169a2170c6527a6de344193640d
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Thu Sep 2 09:46:19 2021 +0900
MINOR: [Website] Fix typos in the Japanese Apache Arrow Flight post (#145)
---
_posts/2019-09-30-introducing-arrow-flight-japanese.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/_posts/2019-09-30-introducing-arrow-flight-japanese.md b/_posts/2019-09-30-introducing-arrow-flight-japanese.md
index 1ffba35..cdace53 100644
--- a/_posts/2019-09-30-introducing-arrow-flight-japanese.md
+++ b/_posts/2019-09-30-introducing-arrow-flight-japanese.md
@@ -82,7 +82,7 @@ gRPCのような汎用メッセージングライブラリーを使うことに
Flightの中の主要なデータ関連のProtobufの型は`FlightData`と呼ばれています。一般的にProtobufメッセージの読み書きにはコストがかかります。そのため、C++でもJavaでもgRPCにいくつか次のような低レベルの最適化を実装しています。
* `FlightData`用のProtobufワイヤーフォーマットを生成します。`FlightData`には送信対象のArrowレコードバッチが含まれていますが、メモリーコピー・シリアライズ処理は一切ありません。
-* Protobufで表現された`FlightData`からメモリーコピー・デシリアライズ処理なしでArrowレコードバッチを再構築できます。実際には、Protocol Bufersライブラリーにエンコードされたデータペイロードを触らせないようにしています。
+* Protobufで表現された`FlightData`からメモリーコピー・デシリアライズ処理なしでArrowレコードバッチを再構築できます。実際には、Protocol Buffersライブラリーにエンコードされたデータペイロードを触らせないようにしています。
Protobufを使うがProtobufのメッセージパースのオーバーヘッドはなくしたいという両立できない2つのことを両立させようとしているということです。Flight実装は上述の最適化をして高速化しています。素のgRPCクライアントでもFlightサービスとやりとりできますが、素のgRPCクライアントにはこのような最適化はないので、Protobufライブラリーを使って`FlightData`をデシリアライズすることになります。そのため、素のgRPCクライアントを使うといくらか性能が落ちます。
@@ -96,7 +96,7 @@ Nanos: 3900466413
Speed: 3129.63 MB/s
```
-この結果から次の2つのことを言えます。1つはFlightとgRPCを使うと相対的に小さなオーバーヘッドはあるということです。もう1つは多くの実際のFlightアプリケーションではネットワークの帯域がボトルネックになりそうということです。
+この結果から次の2つのことを言えます。1つはFlightとgRPCを使うとオーバーヘッドは相対的に小さくなるということです。もう1つは多くの実際のFlightアプリケーションではネットワークの帯域がボトルネックになりそうということです。
## 水平方向のスケーラビリティ:並列データアクセスとパーティション化したデータアクセス