-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace wss streaming with http calls
- Loading branch information
1 parent
92639f3
commit 5137109
Showing
6 changed files
with
209 additions
and
18 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,24 @@ | ||
@startuml | ||
actor "External Client" as EC | ||
participant "Public Tunneling Server\n(Multiple Pods)" as PTS | ||
participant "Azure SignalR" as AS | ||
participant "Tunneling Client" as TC | ||
participant "Intranet Server" as IS | ||
|
||
EC -> PTS: 1. HTTP Request | ||
PTS -> AS: 2. Notify Client (based on subdomain) | ||
AS --> TC: 3. WSS Notification (contains pod name) | ||
TC -> PTS: 4. HTTP GET (with headers for pod routing) | ||
PTS --> TC: 5. Stream HTTP Request Body | ||
TC -> IS: 6. Forward Request | ||
IS --> TC: 7. Forward Response | ||
TC -> PTS: 8. HTTP POST (with headers for pod routing) | ||
PTS --> EC: 9. Stream Response | ||
|
||
note right of PTS | ||
Steps 4-5 and 8-9 are routed | ||
to the same pod based on | ||
HTTP headers | ||
end note | ||
|
||
@enduml |
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
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