Skip to content

Experimental add direct host - #189

Merged
KazuCocoa merged 6 commits into
appium:masterfrom
KazuCocoa:experimental-add-direct-host
Feb 6, 2019
Merged

Experimental add direct host#189
KazuCocoa merged 6 commits into
appium:masterfrom
KazuCocoa:experimental-add-direct-host

Conversation

@KazuCocoa

Copy link
Copy Markdown
Member

This is an experimental feature to improve requests peformance in a particular case.

If a server returns directConnectProtocol, directConnectHost, directConnectPort and directConnectPath as a part of the response of create session, Ruby client send following requests to them.
This feature improves performance if a user handles requests via proxy server between clients to Appium servers. In this context, the proxy server is similar to SeleniumGrid.

# via proxy server in session creation
client <--> proxy server <---> appium server <-> devices
                                             `-> appium server <-> devices
# communicate directly after the session creation
client <--------> appium server <-> devices
                   `---> appium server <-> devices

This idea was discussed with @jlipps

@KazuCocoa
KazuCocoa merged commit 61a927f into appium:master Feb 6, 2019
@KazuCocoa
KazuCocoa deleted the experimental-add-direct-host branch February 6, 2019 05:05
@KazuCocoa

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant