RAGFlow
RAGFlow
executor_manager
executor_manager
Code executor pool
Code executor pool
code run reqest
code run reqest
response
response
executor_manager lifespan
executor_manager lifespan
patch run task
patch run task
code result
code result
Before: creating gVisor guarded code executor pool 
Before: creating gVisor guarded code executor poo...
After: resource clean up 
After: resource clean up 

Python
in
runsc
Python...


Python
in
runsc
Python...


Node.js
in
runsc
Node.js...

...
...
gVisor
gVisor
gVisor
gVisor
gVisor
gVisor
gVisor
gVisor
x_x
x_x
x_x
x_x
x_x
x_x

...
...
Clean up
Clean up
Task orchestration and pool management...
Task orchestration and pool management...
Text is not SVG - cannot display