Skip to content

Commit

Permalink
Update fieldmask.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY authored Sep 29, 2024
1 parent ff7e70e commit bfa4be4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: ""

FieldMask 是受到 <u>[Protobuf](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask) </u>的启发,用于在 RPC 调用时**指示用户关心的数据并过滤掉无用的数据**的一种手段。该技术不但可以在 RPC 服务中实现**特定字段的屏蔽**,同时还可以**减少消息传输开销**以提升服务性能,目前已广泛应用于 Protobuf<u>[服务](https://netflixtechblog.com/practical-api-design-at-netflix-part-1-using-protobuf-fieldmask-35cfdc606518)</u>中。

![fieldmask](static/img/docs/kitex/Tutorials/advanced-feature/fieldmask.png)
![fieldmask](/img/docs/kitex/Tutorials/advanced-feature/fieldmask.png)

对于 thrift RPC 服务来说,有如下潜在使用场景:

Expand Down

0 comments on commit bfa4be4

Please sign in to comment.