Skip to content

Commit

Permalink
doc: optmize release log for kitex v0.11.0 (#1150)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyJavaBean authored Sep 23, 2024
1 parent 5e9509f commit df368bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 5 additions & 2 deletions content/en/blog/releases/Kitex/release-v0_11_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ description: >
## **Introduction to Key Changes**

### New Feature
1. **Mixed Retry**: Supports enabling both "Failure Retry" and "Backup Request" strategies simultaneously, which can reduce tail requests while increasing the success rate of retries, for more detail: [Retry](https://www.cloudwego.io/en/docs/kitex/tutorials/service-governance/retry/)
2. **Custom Payload Validation**: To avoid inconsistencies in data transmission caused by hardware failures or data tampering, Kitex provides validation functionality for payload messages and supports custom extensions. For usage: [Payload Validator](https://www.cloudwego.io/docs/kitex/tutorials/advanced-feature/payload_validator/).
1. **Mixed Retry**: Supports enabling both "Failure Retry" and "Backup Request" strategies simultaneously, which can reduce tail requests while increasing the success rate of retries, for more detail: [Retry](/docs/kitex/tutorials/service-governance/retry/)
2. **Custom Payload Validation**: To avoid inconsistencies in data transmission caused by hardware failures or data tampering, Kitex provides validation functionality for payload messages and supports custom extensions. For usage: [Payload Validator](/docs/kitex/tutorials/advanced-feature/payload_validator/).

### Feature optimization
1. **Frugal ARM Optimization**: Frugal v0.2.0 now supports a new implement by reflection
2. **Kitex Tool Improvement**: Kitex Tool provide a new param `-rapid` to integrates Thriftgo and there's a slightly improved speed.
3. **Generating Multiple Handlers for Multiple Services**:Since this version, Kitex tool provide each service with independent handler file and register them into server,for more details: [Generating Multiple Handlers for Multiple Services](/docs/kitex/tutorials/advanced-feature/multi_service/multi_handler/)
4. **Generic Streaming for JSON [on trial]**:JSON generic streaming has now support streaming (client only),currently we're doing some optimization, you can have a try by following this doc: [Generic Streaming](/docs/kitex/tutorials/advanced-feature/generic-call/generic_streaming/)


### Others
1. Support Go 1.18~1.23. Minimum support for Golang 1.18,if your golang version is lower than 1.18, you'll see `note: module requires Go 1.18` when you compile.
Expand Down
6 changes: 4 additions & 2 deletions content/zh/blog/releases/Kitex/release-v0_11_0.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ description: >
## **重要变更介绍**

### 新特性
1. **重试:新增混合重试功能**:支持同时开启「失败重试」+「Backup Request」两种策略,能够在降低长尾请求的同时提高请求的重试成功率,详见 [请求重试](https://www.cloudwego.io/zh/docs/kitex/tutorials/service-governance/retry/)
2. **自定义 Payload 校验**:为避免硬件故障或数据篡改导致收发的数据不一致,Kitex 提供了对 Payload 报文的校验功能,并支持自定义扩展,使用方式参见: [payload 校验](https://www.cloudwego.io/zh/docs/kitex/tutorials/advanced-feature/payload_validator/)
1. **重试:新增混合重试功能**:支持同时开启「失败重试」+「Backup Request」两种策略,能够在降低长尾请求的同时提高请求的重试成功率,详见 [请求重试](/zh/docs/kitex/tutorials/service-governance/retry/)
2. **自定义 Payload 校验**:为避免硬件故障或数据篡改导致收发的数据不一致,Kitex 提供了对 Payload 报文的校验功能,并支持自定义扩展,使用方式参见: [payload 校验](/zh/docs/kitex/tutorials/advanced-feature/payload_validator/)

### 功能优化
1. **Frugal ARM 性能优化**:Frugal 支持了基于反射的高性能编解码,升级到 Frugal v0.2.0 即可
2. **Kitex Tool 代码生成提速**:提供了 `-rapid` 参数,可以无需安装 Thriftgo ,且速度略有提高。下个版本之后将作为默认行为。
3. **多 Service 多 Handler 生成**:从该版本开始,Kitex Tool 支持为每个 service 生成 handler 并统一注册到 server,详见 [多 Service 多 Handler 生成](/zh/docs/kitex/tutorials/advanced-feature/multi_service/multi_handler/)
4. **Streaming JSON 泛化[试用阶段]**:JSON 泛化调用支持了 streaming 流式接口(仅限 client),目前正在持续优化中,并未正式发布,有兴趣可以试用,详见 [Generic Streaming](/zh/docs/kitex/tutorials/advanced-feature/generic-call/generic_streaming/)

### 其他
1. 支持版本 Go 1.18~1.23,最低支持变为 Go 1.18,如果你的 Go 版本过低,编译时会有提示:`note: module requires Go 1.18`
Expand Down

0 comments on commit df368bd

Please sign in to comment.