zhangyi1357 1186d81a07
feat: add aimrt_py rpc benchmark example (#37)
* feat: add python benchmark example and update dependencies

Introduce an aimrt_py benchmark example for Python testing. Replace boost dependency with the standalone asio library to reduce overall dependencies and enhance configuration options for zenoh and mqtt.

* feat: add RPC benchmark client and configuration

Introduce a new benchmark client module and accompanying scripts to facilitate testing and performance measurement of RPC services. Include configuration for parallel execution and adjustable benchmarking parameters.

* docs: add benchmark process for protobuf RPC

Include detailed instructions for reproducing the crash issue and running benchmarks effectively to streamline troubleshooting and performance evaluation.

* chore: include string header

Add the string header to enable potential future string manipulations within the RPC handling code. This sets the stage for improved functionality and cleaner code integration down the line.

* feat: enhance benchmark reporting and logging

Improve performance benchmarking by logging detailed results, including latency metrics and error rates. Ensure more precise measurements by using microseconds for task duration and substituting print statements with structured logging.

* chore: update benchmark configurations for clarity and accuracy

Refine the benchmark plans to provide clearer settings. Adjust parameters for the fixed-frequency mode to ensure more relevant testing scenarios.

* chore: add script and config files for HTTP server examples

Include new symbolic links for server configuration and application scripts to streamline example setup and ensure consistency across projects.

* docs: update README for better clarity on python RPC benchmark setup

Enhance the README to provide a clearer guide on using the protobuf RPC benchmark example, including setup instructions, core files, and configuration details. This improves user experience and facilitates easier implementation for developers.

* style: correct casing in module name

Standardize the module name casing for improved consistency and readability in the RPC server application.

* docs: add pb_rpc_bench example link

Include the link to the pb_rpc_bench example for better accessibility and completeness in the tutorial.

* style: clean up code formatting

Remove unnecessary blank lines to improve readability in the benchmark RPC client module.

* docs: modify aimrt_py rpc release note
2024-10-18 16:33:58 +08:00

931 B
Raw Blame History

v0.9.0

重要修改

  • 优化了 zenoh 插件:
    • 更新 zenohc 库至 1.0.0.11 版本;
    • 添加了 zenoh rpc 后端;
    • 现在可以传入 zenoh 原生配置;
  • mqtt 新增配置项以支持加密传输;
  • 新增了第三方库 asioruntime::core 不再引用 boost改为引用独立的 asio 库,以减轻依赖;
  • 修复 aimrt_py 多线程 rpc 调用 server 端概率性崩溃的问题;

次要修改

  • 缩短了一些 examples 的文件路径长度;
  • 修复了一些轻微问题;
  • 优化代码结构,移动代码 src/runtime/common/net 至新位置 src/common/net
  • 升级 jsoncpp 至 1.9.6 版本以优化一些 cmake 问题;
  • 新增了 aimrt_py channel benchmark 示例;
  • 新增了 aimrt_py rpc benchmark 示例;
  • iceoryx 插件在编译前先检查是否存在libacl不存在则不进行编译
  • 提供 RPC 服务的插件现在支持指定 service name