Abstract
We establish that SSH is a viable transport mechanism for API access to HPC resources. In this paper, we study the performance and scalability properties of SSH using various SSH libraries (Python, Java, Linux command line client). We consider SSH daemon configuration changes that improve the API scalability significantly. We observe that, for the memory and CPU resources available on the test machines, our SSH-based API performs sufficiently well until a certain threshold of requests per second (RPS). At 90 RPS, 99% of the requests finish in less than two seconds. At 50 RPS, almost 90% of the requests finish in one second, which shows that the API is responsive enough under these loads. However, as the number of concurrent requests increases past 100, we see a gradual increase in time to complete requests. We perform load tests for the SSH API by sending bursts of concurrent connections and continued sustained connections over time and observe an acceptable responsiveness from the remote systems in both cases. With this study we conclude that SSH performance is sufficient for API access to computational HPC resources.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Amazon AWS. https://aws.amazon.com
Google Cloud. https://cloud.google.com
Microsoft Azure. https://azure.microsoft.com/en-us/
Tapis Cloud API. https://tacc-cloud.readthedocs.io/projects/agave/en/latest/
Stubbs, J., et al.: Tapis: an API platform for distributed computational research. Futur. Gener. Comput. Syst. (2020)
Forcier, J: Paramiko: A Python Implementation of SSHv2 (2019). http://www.paramiko.org/
Pkittenis, ssh2-python (2019). https://github.com/ParallelSSH/ssh2-python
Pernavas, R.: J2SSH API. http://freshmeat.net/projects/sshtools-j2ssh
Locust. https://locust.io
Allcock, W., Bester, J., et al.: Secure, efficient data transport and replica management for high-performance data- intensive computing. In: Proceedings of the IEEE Mass Storage Conference, pp. 13–28, April 2001
Rosmanith, H., Kranzlmuller, D.: glogin - a multifunctional, interactive tunnel into the grid. In: Fifth IEEE/ACM International Workshop on Grid Computing (GRID 2004), pp. 266–272 (2004)
LFTP. https://lftp.yar.ru
Cyberduck. https://cyberduck.io
Data transfer basics and best practises. https://princetonuniversity.github.io/PUbootcamp/sessions/data-transfer-basics/PUBootCamp_20181031_DataTransfer.pdf
Kohl, J., Neuman, C.: The kerberos network authentication service (V5). Request for Comments (Proposed Standard) RFC 1510, Internet Engineering Task Force, (Web site: www.ietf.org)
Einav Y., Amazon Found Every 100ms of Latency Cost them 1% in sales https://www.gigaspaces.com/blog/amazon-found-every-100ms-of-latency-cost-them-1-in-sales/
RabbitMQ. https://www.rabbitmq.com
Stewart, C.A., et al.: Jetstream: a self-provisioned, scalable science and engineering cloud environment. In: Proceedings of the 2015 XSEDE Conference: Scientific Advancements Enabled by Enhanced Cyberinfrastructure, 2792774, pp. 1–8. ACM, St. Louis (2015). https://doi.org/10.1145/2792745.2792774
Towns, J., et al.: XSEDE: accelerating scientific discovery. Comput. Sci. Eng. 16(5), 62–74 (2014). https://doi.org/10.1109/MCSE.2014.80
Ansible. https://github.com/ansible
SSH2 Python Comparison with Paramiko. https://parallel-ssh.org/post/ssh2-python/
Json Web Tokens. https://jwt.io
Jain, R.: The Art of Computer Systems Performance Analysis: Techniques for Experimental Design Design, Measurement, Simulation and Modeling. Wiley, New York (1991)
Acknowledgments
This work was made possible by grant funding from National Science Foundation award numbers ACI-1547611 and OAC-1931439. We thank the staff of TACC and Jetstream for providing resources and support.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Jamthe, A., Packard, M., Stubbs, J., Curbelo, G., Shapi, R., Chalhoub, E. (2020). SSH-Backed API Performance Case Study. In: Gao, W., Zhan, J., Fox, G., Lu, X., Stanzione, D. (eds) Benchmarking, Measuring, and Optimizing. Bench 2019. Lecture Notes in Computer Science(), vol 12093. Springer, Cham. https://doi.org/10.1007/978-3-030-49556-5_27
Download citation
DOI: https://doi.org/10.1007/978-3-030-49556-5_27
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-49555-8
Online ISBN: 978-3-030-49556-5
eBook Packages: Computer ScienceComputer Science (R0)