Skip to content

Commit

Permalink
fix: correct the file path (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppzqh authored Jun 24, 2024
1 parent 73e5a37 commit b3fa1a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/en/blog/releases/Kitex/release-v0_10_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: >

### Code Generation Simplification and Optimization
1. **Remove non-serialization code (By default)**: the original kitex_gen Thrift code includes Processor code to maintain consistency with Apache Thrift. However, Kitex does not need these codes. To solve users' code generation painpoint, this version Kitex removes this part of the code, increasing the generation speed by about 10%.
2. **Remove Apache Codec code (Remove if configured)**:Kitex has custom FastCodec code, and the original Apache Codec is only required when using Buffered protocol. The new version of Kitex implements SkipDecoder. If enabled, the serialization will be completely independent of Apache Codec, reducing the generated code size by about 50%. Refer to this doc for usage [SkipDecoder](/en/docs/kitex/Tutorials/code-gen/skip_decoder.md)
2. **Remove Apache Codec code (Remove if configured)**:Kitex has custom FastCodec code, and the original Apache Codec is only required when using Buffered protocol. The new version of Kitex implements SkipDecoder. If enabled, the serialization will be completely independent of Apache Codec, reducing the generated code size by about 50%. Refer to this doc for usage [SkipDecoder](/docs/kitex/tutorials/code-gen/skip_decoder)

### New Feature
1. **Thrift Serialize Data Ondemands**:Support defining FieldMask to achieve on-demand serialization of data (field clipping, merging, RPC Performance optimization, etc.), see details [Thrift FieldMask RFC](https://github.com/cloudwego/thriftgo/tree/main/fieldmask)
Expand Down
2 changes: 1 addition & 1 deletion content/zh/blog/releases/Kitex/release-v0_10_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: >

### 代码产物精简优化
1. **移除非序列化代码(默认)**:原 kitex_gen Thrift 产物代码为保持与 Apache 的一致性,会生成 Processor 代码,但 Kitex 并不需要这些代码。为解决大家的产物痛点问题,此版本默认去除这部分代码,生成速度提升约10%。
2. **移除 Apache Codec 代码(配置移除)**:Kitex 有自定义的 FastCodec 代码,旧版本仅在 Buffered 包需要使用 Apache Codec。Kitex 新版本实现 SkipDecoder,在开启后就可以完全不依赖 Apache Codec,进而移除代码,产物体积可减少约50%。使用方式见 [SkipDecoder](/zh/docs/kitex/Tutorials/code-gen/skip_decoder.md)
2. **移除 Apache Codec 代码(配置移除)**:Kitex 有自定义的 FastCodec 代码,旧版本仅在 Buffered 包需要使用 Apache Codec。Kitex 新版本实现 SkipDecoder,在开启后就可以完全不依赖 Apache Codec,进而移除代码,产物体积可减少约50%。使用方式见 [SkipDecoder](/zh/docs/kitex/tutorials/code-gen/skip_decoder/)

### 新特性
1. **Thrift 按需序列化**:支持定义 FieldMask 实现数据按需序列化(字段裁剪、合并,RPC性能优化等),详见 [Thrift FieldMask RFC](https://github.com/cloudwego/thriftgo/tree/main/fieldmask)
Expand Down

0 comments on commit b3fa1a4

Please sign in to comment.