-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,33 @@ | ||
# RPC服务 | ||
# RPC服务 | ||
|
||
由于全局锁GIL的存在,单进程的Python程序只能利用CPU单核的算力,为了突破这一限制,解决方案就是多进程分布式的程序架构。但每个进程之间的数据,在操作系统内默认是独立隔离的,无法直接访问。RPC全称Remote-Procedure-Call,中文“远程过程调用”,是最常用的跨进程通讯方式之一。 | ||
|
||
|
||
|
||
|
||
## RPC服务器 | ||
|
||
### 加载模块 | ||
|
||
### 启动运行 | ||
|
||
|
||
## RPC客户端 | ||
|
||
### 加载接口 | ||
|
||
### 连接使用 | ||
|
||
|
||
## 参考样例 | ||
|
||
位于examples/server_client目录下 | ||
|
||
### 服务器进程 | ||
|
||
GUI模式 | ||
|
||
无界面模式 | ||
|
||
### 客户端进程 | ||
|