Skip to content

Commit

Permalink
[Mod] update rpc_service.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vnpy committed Jul 29, 2019
1 parent 640150c commit 3f51e66
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion docs/rpc_service.md
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模式

无界面模式

### 客户端进程

0 comments on commit 3f51e66

Please sign in to comment.