-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(udp_router): add customizable udp router
- Loading branch information
Showing
7 changed files
with
828 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
@startuml | ||
skinparam dpi 300 | ||
left to right direction | ||
|
||
frame client { | ||
card clinet1 | ||
card client2 | ||
card client3 | ||
} | ||
|
||
frame router { | ||
label "router converts the udp connection\nto long connection in the application" | ||
agent router1 | ||
agent router2 | ||
agent router3 | ||
} | ||
|
||
frame connection { | ||
card connection1 | ||
card connection2 | ||
card connection3 | ||
} | ||
|
||
clinet1 .[#red].> router1 | ||
client2 .[#blue].> router1 | ||
client3 ..> router2 | ||
client3 ..> router3 | ||
|
||
router1 -[#red]-> connection1 : client1 | ||
router1 -[#blue]-> connection2 : client2 | ||
router2 --> connection3 : client3 | ||
router3 --> connection3 : client3 | ||
|
||
note bottom of router1 | ||
different clients use the same UDP channel,e.g NAT | ||
endnote | ||
|
||
|
||
note right of router | ||
router2 and router3 are multiple channels used by a client,e.g LB | ||
endnote | ||
|
||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.