A Study on Performance Compare WasmEdge to different Runtimes, Frameworks

WasmEdge와 다양한 런타임 및 프레임워크에서의 성능 비교 연구

  • Seok-Min Hong (Dept. of Computer Engineering, SoongSil University) ;
  • So-Yeoung Lee (Dept. of Computer Engineering, SoongSil University) ;
  • Yong-Tae Shin (School of Computing, SoongSil University)
  • 홍석민 (숭실대학교 컴퓨터학과) ;
  • 이소영 (숭실대학교 컴퓨터학과) ;
  • 신용태 (숭실대학교 컴퓨터학부)
  • Published : 2024.05.23

Abstract

현대 소프트웨어는 다양한 서비스 구조가 사용되고 있다. 이러한 환경에서는 각 서비스의 요구사항을 충족시킬 수 있는 기술들이 필요하며, Wasm(WebAssembly)은 많은 서비스에서 요구하는 조건을 만족시킬 수 있는 장점을 가지고 있다. 이에 본 논문에서는 WasmEdge와 다양한 런타임 환경의 성능을 비교하기 위해 로직 실행 시간, HTTP 부하 테스트, 컨테이너 이미지 크기의 세 가지 지표를 분석한다. 결과는 로직 실행 시간에서 Wasm이 1.81초로 가장 빨랐고, 컨테이너 이미지 크기 역시 9.54MB로 가장 작았다. 마지막으로 HTTP 부하 테스트에서는 가장 빠른 트래픽 처리를 보여준 Spring Boot의 평균 초당 15076개보다 WasmEdge가 9239개로 트래픽 처리가 느렸지만, 로직 실행 속도와 컨테이너 이미지 크기가 작기 때문에 충분히 서버리스 컴퓨팅, 마이크로 서버, 엣지 컴퓨팅 분야에서 요구하는 조건을 만족시킬 수 있다.

Keywords

Acknowledgement

"본 연구는 과학기술정보통신부 및 정보통신기획평가원의 대학ICT연구센터사업의 연구결과로 수행되었음" (IITP-2024-2020-0-01602)

References

  1. Khelifa Saif Eddine, Bagaa Miloud, Messaoud Ahmed Ouameur, Ksentini Adlen, "Case study of WebAssembly Runtimes for AI Applications on the Edge", 2024 14th Global Information Infrasturcure and Networking Symposium, GIIS 2024
  2. Lopez Escobar Juan Jose, Diaz-Redondo Rebeca P., Gil-Castineira Felipe, "Unleashing the power of decentralized serverless IoT dataflow architecture for the Cloud-to-Edge Continuum: a performance comparison", Annales des Telecommunications/Annals of Telecommunications
  3. Kjorveziroski Vojdan, Filiposka Sonja, "WebAssembly as an Enabler for Next Generation Serverless Computing", Journal of Grid Computing, Volume 21, Issue 3
  4. https://webassembly.org/
  5. https://wasmedge.org/