-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
1365bea
commit 5135cb6
Showing
5 changed files
with
145 additions
and
16 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# python加载器流式请求支持设计 | ||
|
||
## 流程时序图 | ||
|
||
```mermaid | ||
sequenceDiagram | ||
aiges ->> aiges: create sid first | ||
aiges ->> wrapper.so: call Initialize | ||
wrapper.so ->> wrapper.py: call wrapperInit at frist | ||
wrapper.py -->> wrapper.py: create model/engine pool with some capcacity. | ||
loop stream Call stage | ||
aiges ->> wrapper.so: call WrapperCreate with sid | ||
wrapper.so ->> wrapper.py: call Python WrapperCreate implement | ||
wrapper.py ->> wrapper.so: return handle(string) | ||
wrapper.so -->> wrapper.so: maintaint the handle and sid with map structure. | ||
aiges ->> wrapper.so: call C WrapperWrite with handle and sid | ||
wrapper.so ->> wrapper.py: call Python WrapperWrite with handle and sid | ||
wrapper.py -->> wrapper.py: get session by handle | ||
wrapper.py ->> wrapper.so: call Python WrapperRead with handle and sid | ||
end | ||
aiges ->> wrapper.so: call C Fin | ||
wrapper.so ->> wrapper.py: call Python Fin | ||
``` | ||
|
||
|
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
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
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