From e5402a44a6291107bb26337da6f89962a6c64a8a Mon Sep 17 00:00:00 2001 From: Juliano Costa Date: Mon, 25 Nov 2024 11:41:11 +0100 Subject: [PATCH] [Demo] Update diagram (#5678) Co-authored-by: Mikko Viitanen <74129181+mviitane@users.noreply.github.com> --- content/en/docs/demo/architecture.md | 61 ++++++++++++++++------------ 1 file changed, 36 insertions(+), 25 deletions(-) diff --git a/content/en/docs/demo/architecture.md b/content/en/docs/demo/architecture.md index ab2f2040807b..245ff539c225 100644 --- a/content/en/docs/demo/architecture.md +++ b/content/en/docs/demo/architecture.md @@ -14,12 +14,13 @@ graph TD subgraph Service Diagram accountingservice(Accounting Service):::dotnet adservice(Ad Service):::java -cache[(Cache
(redis))] +cache[(Cache
(Valkey))] cartservice(Cart Service):::dotnet checkoutservice(Checkout Service):::golang currencyservice(Currency Service):::cpp emailservice(Email Service):::ruby -flagd(Flagd-ui):::typescript +flagd(Flagd):::golang +flagdui(Flagd-ui):::typescript frauddetectionservice(Fraud Detection Service):::kotlin frontend(Frontend):::typescript frontendproxy(Frontend Proxy
(Envoy)):::cpp @@ -30,40 +31,52 @@ productcatalogservice(Product Catalog Service):::golang quoteservice(Quote Service):::php recommendationservice(Recommendation Service):::python shippingservice(Shipping Service):::rust -queue[(queue
(Kafka))] +queue[(queue
(Kafka))]:::java -Internet -->|HTTP| frontendproxy -frontendproxy -->|HTTP| frontend -frontendproxy -->|HTTP| flagd -loadgenerator -->|HTTP| frontendproxy -frontendproxy -->|HTTP| imageprovider +adservice ---->|gRPC| flagd -queue -->|TCP| accountingservice -queue -->|TCP| frauddetectionservice - -frontend -->|gRPC| cartservice -frontend -->|gRPC| currencyservice +checkoutservice -->|gRPC| cartservice +checkoutservice --->|TCP| queue +cartservice --> cache +cartservice -->|gRPC| flagd -checkoutservice -->|gRPC| cartservice --> cache -checkoutservice -->|gRPC| productcatalogservice -checkoutservice -->|gRPC| currencyservice -checkoutservice -->|HTTP| emailservice -checkoutservice -->|gRPC| paymentservice checkoutservice -->|gRPC| shippingservice -checkoutservice -->|TCP| queue +checkoutservice -->|gRPC| paymentservice +checkoutservice --->|HTTP| emailservice +checkoutservice -->|gRPC| currencyservice +checkoutservice -->|gRPC| productcatalogservice + +frauddetectionservice -->|gRPC| flagd frontend -->|gRPC| adservice +frontend -->|gRPC| cartservice +frontend -->|gRPC| checkoutservice +frontend ---->|gRPC| currencyservice +frontend ---->|gRPC| recommendationservice frontend -->|gRPC| productcatalogservice -frontend --->|gRPC| checkoutservice -frontend ---->|gRPC| recommendationservice -->|gRPC| productcatalogservice -shippingservice -->|HTTP| quoteservice +frontendproxy -->|gRPC| flagd +frontendproxy -->|HTTP| frontend +frontendproxy -->|HTTP| flagdui +frontendproxy -->|HTTP| imageprovider + +Internet -->|HTTP| frontendproxy + +loadgenerator -->|HTTP| frontendproxy + +paymentservice -->|gRPC| flagd +queue -->|TCP| accountingservice +queue -->|TCP| frauddetectionservice + +recommendationservice -->|gRPC| productcatalogservice +recommendationservice -->|gRPC| flagd + +shippingservice -->|HTTP| quoteservice end classDef dotnet fill:#178600,color:white; classDef cpp fill:#f34b7d,color:white; -classDef erlang fill:#b83998,color:white; classDef golang fill:#00add8,color:black; classDef java fill:#b07219,color:white; classDef javascript fill:#f1e05a,color:black; @@ -80,7 +93,6 @@ graph TD subgraph Service Legend dotnetsvc(.NET):::dotnet cppsvc(C++):::cpp - erlangsvc(Erlang/Elixir):::erlang golangsvc(Go):::golang javasvc(Java):::java javascriptsvc(JavaScript):::javascript @@ -94,7 +106,6 @@ end classDef dotnet fill:#178600,color:white; classDef cpp fill:#f34b7d,color:white; -classDef erlang fill:#b83998,color:white; classDef golang fill:#00add8,color:black; classDef java fill:#b07219,color:white; classDef javascript fill:#f1e05a,color:black;