diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-09-29 17:43:36 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-09-29 17:43:36 +0200 |
commit | 9e4e41e5f6dd6388cb19390615e1e7430a0687ea (patch) | |
tree | 9987dca511a13c4aca7ab9ce739b43c0ea3203bf /README.md | |
parent | f60e7a097d332a4ba9e4aaceca2d9a98ba115835 (diff) |
Updated README.md ASCII architecture.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -20,18 +20,24 @@ This project uses some kind of microservice architecture. ```text _______________________ __________________________ -| producer | | consumer | +| "producer" | | "consumer" | |---------------------| _____________________________ |------------------------| | | | nDPIsrvd | | | | nDPId --- Thread 1 >| ---> |> | <| <--- |< example/c-json-stdout | -| `- Thread 2 >| ---> |> collector | distributor <| <--- |< example/py-flow-info | -| `- Thread N >| ---> |> >>> forward >>> <| <--- | ... | -|_____________________| ^ |____________|______________| ^ |________________________| - | | - `- connect to UNIX socket `- connect to TCP socket - `- sends serialized data `- receives serialized data +| (eth0) `- Thread 2 >| ---> |> collector | distributor <| <--- |________________________| +| `- Thread N >| ---> |> >>> forward >>> <| <--- | | +|_____________________| ^ |____________|______________| ^ |< example/py-flow-info | +| | | | |________________________| +| nDPId --- Thread 1 >| `- connect to UNIX socket | | | +| (eth1) `- Thread 2 >| `- sends serialized data | |< example/... | +| `- Thread N >| | |________________________| +|_____________________| | + `- connect to UNIX/TCP socket + `- receives serialized data ``` +It doesn't use a producer/consumer design pattern, so the wording is not precise. + # JSON TCP protocol All JSON strings sent need to be in the following format: |