Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plaintext client as alternative to SSH. #198

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 28, 2020

  1. Add plaintext client as alternative to SSH.

    This offers an alternative to the SSH client currently used during scale
    testing.
    
    This instead connects to a server using plaintext and sends commands
    this way. It is assumed that a server is running on the server on port 8000
    Because ncat is a good example of such a server, the client is called
    NCatClient in this change.
    
    The reason for this new method is to eliminate the overhead of
    connecting over SSH from the measurements in tests. For reasonably
    large-scale tests (~300 nodes) it results in a bout a 7% reduction in
    execution time.
    
    One notable difference between this new method and using SSH is that
    connections are created per host, rather than per sandbox. This allows
    for clients that connect to sandboxes hosted on the same machine to
    share the same connection. This has only been tested with tests that
    execute serially. Tests that run scenarios in parallel may encounter
    issues.
    
    If there is no server listening, and a connection cannot be created, we
    fall back to using SSH.
    putnopvut committed May 28, 2020
    Configuration menu
    Copy the full SHA
    09129b4 View commit details
    Browse the repository at this point in the history