summaryrefslogtreecommitdiff
path: root/pkg/doc/README.md
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-16 21:46:50 +0300
committerGitHub <[email protected]>2021-09-16 21:46:50 +0300
commit3581b45f237a3f7aa29591ceb2bf6f4a4642a2f5 (patch)
treee723b19ec1ac16b7ccc7b3c2da69d4a416d63d81 /pkg/doc/README.md
parent337d292dd2d6ff0a555098b1970d8194d8df8bc2 (diff)
parent823d831b57b75f70c7c3bbbee355f2016633bb3b (diff)
[#803]: feat(plugins): move plugins to a separate repositoryv2.5.0-alpha.2
[#803]: feat(plugins): move plugins to a separate repository
Diffstat (limited to 'pkg/doc/README.md')
-rw-r--r--pkg/doc/README.md21
1 files changed, 0 insertions, 21 deletions
diff --git a/pkg/doc/README.md b/pkg/doc/README.md
deleted file mode 100644
index 709df603..00000000
--- a/pkg/doc/README.md
+++ /dev/null
@@ -1,21 +0,0 @@
-This is the drawio diagrams showing basic workflows inside RoadRunner 2.0
-
-Simple HTTP workflow description:
-![alt text](pool_workflow.svg)
-
-1. Allocate sync workers. When plugin starts (which use workers pool), then it allocates required number of processes
- via `cmd.exec` command.
-
-2. When user send HTTP request to the RR2, HTTP plugin receive it and transfer to the workers pool `Exec/ExecWithContex`
-method. And workers pool ask Worker watcher to get free worker.
-
-3. Workers watcher uses stack data structure under the hood and making POP operation to get first free worker. If there are
-no workers in the `stack`, watcher waits for the specified via config (`allocate_timeout`) time.
-
-4. Stack returns free worker to the watcher.
-5. Watcher returns that worker to the `pool`.
-6. Pool invoke `Exec/ExecWithTimeout` method on the golang worker with provided request payload.
-7. Golang worker send that request to the PHP worker via various set of transports (`pkg/transport` package).
-8. PHP worker send back response to the golang worker (or error via stderr).
-9. Golang worker return response payload to the pool.
-10. Pool process this response and return answer to the user.