Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Nov 7, 2024
1 parent fd431fc commit 187d64d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/use-arena-with-brpc/README.en.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**[[简体中文]](README.zh-cn.md)**

# Use Arena for brpc

Before invoking a user's service, [brpc](https://github.com/apache/brpc) needs to construct instances of `Request` and `Response` internally, as well as perform corresponding serialization and deserialization operations. By default, it uses dynamic heap memory allocation. For complex structures, the allocation and deallocation of memory, along with the construction and destruction of `Message` structures, can lead to noticeable overhead.
Expand Down
2 changes: 2 additions & 0 deletions example/use-arena-with-brpc/README.zh-cn.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**[[English]](README.en.md)**

# Use arena for brpc

[brpc](https://github.com/apache/brpc)在调用用户的service前,需要在内部先完成Request和Response的实例构建,并在service前后执行对应的正反序列化。默认采用动态堆内存分配模式创建,对于比较复杂的结构,内存分配释放和Message结构的构建和析构可能也会带来可见的开销。
Expand Down

0 comments on commit 187d64d

Please sign in to comment.