Skip to content

Commit

Permalink
update flow chart
Browse files Browse the repository at this point in the history
  • Loading branch information
tufanbarisyildirim committed Feb 24, 2023
1 parent c6ab492 commit 6cb76cf
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,27 @@ The architecture of the RPC aggregator with load balancing is shown in the follo

```mermaid
flowchart LR
CC(CLI) --> RPCAggregator
RC(Rest) --> RPCAggregator
RPCC(RPC) --> RPCAggregator
WSC(WS) --> RPCAggregator
subgraph RPC Aggregator
RPCAggregator(Handler) --> Aggregator
CC(CLI) --> RPCProxy
RC(Rest) --> RPCProxy
RPCC(RPC) --> RPCProxy
WSC(WS) --> RPCProxy
subgraph RPC Proxy
RPCProxy(Handler) --> Routing
subgraph fasthttp
Routing --> Auth(Auth & Cors)
Auth --> Balancer
Balancer --> Proxy
end
end
Aggregator ---->|275ms| AS1[Provider 1]
Aggregator -->|100ms| AS2[Provider 2]
Aggregator --->|170ms| ASN[Provider N]
Proxy ---->|275ms| AS1[Provider 1]
Proxy -->|100ms| AS2[Provider 2]
Proxy --->|170ms| ASN[Provider N]
```

if you are curious about details


## Short-Term TODO

- [x] Implement rate limiting
Expand Down

0 comments on commit 6cb76cf

Please sign in to comment.