skip to main content
10.1145/3098583.3098587acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
research-article
Free Access

Towards a Scalable Modular QUIC Server

Published:09 August 2017Publication History

ABSTRACT

QUIC has been recently proposed as an alternative transport protocol for web services requiring both low latency and end-to-end encryption. In a different direction, recent kernel-bypass techniques enabling high-speed packet I/O have fostered the development of scalable middleboxes and servers with the introduction of user-space network stacks. Attempting to join the best of both solutions, we introduce in this paper a modular L2--L7 network stack in user space based on QUIC. Our modular and scalable QUIC transport protocol called cQUIC is implemented in Click and uses Intel® DPDK for high-speed packet I/O. We prototype cQUIC and show at least an order of magnitude improvement over the Google QUIC server. We also show that cQUIC scalability is CPU (and not I/O) bounded due to the high cost of cryptographic operations. From real-world traffic traces, we observe that up to 18% of QUIC connections are established using the expensive 2-RTT handshake, limiting scalability further.

References

  1. Browser Market Share. https://www.netmarketshare.com/browser-market-share.aspx?qprid=0&qpcustomd=1.Google ScholarGoogle Scholar
  2. Building Zero protocol for fast, secure mobile connections. https://code.facebook.com/posts/608854979307125/building-zero-protocol-for-fast-secure-mobile-connections/.Google ScholarGoogle Scholar
  3. Google Chromium Project - QUIC, a multiplexed stream transport over UDP. https://www.chromium.org/quic.Google ScholarGoogle Scholar
  4. High-Performance Packet Processing Solutions for Intel Architecture Platforms. http://www.lannerinc.com/downloads/campaigns/LIDS/05-LIDS-Presentation-Charlie-Ashton-6WIND.pdf.Google ScholarGoogle Scholar
  5. Intel DPDK framework. http://dpdk.org.Google ScholarGoogle Scholar
  6. Linux kernel profiling with perf. https://perf.wiki.kernel.org/index.php/Main_Page.Google ScholarGoogle Scholar
  7. QUIC Crypto. https://docs.google.com/document/d/1g5nIXAIkN_Y-7XJW5K45IblHd_L2f5LTaDUDwvZ5L6g/edit.Google ScholarGoogle Scholar
  8. QUIC Multiplexed Stream Transport over UDP. https://docs.google.com/document/d/1jdKEQMlM7ThDMDalFYFR_9-Yw91PhoBmkAPQcCicX3s/pub.Google ScholarGoogle Scholar
  9. The LIBpcap interface to various kernel packet capture mechanism. https://github.com/the-tcpdump-group/libpcap.Google ScholarGoogle Scholar
  10. G. Apostolopoulos, V. Peris, and D. Saha. Transport layer security: how much does it really cost? In Proc of IEEE INFOCOM, 1999.Google ScholarGoogle ScholarCross RefCross Ref
  11. T. Barbette, C. Soldani, and L. Mathy. Fast userspace packet processing. In Proc. of the ACM/IEEE ANCS, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. A. Belay, G. Prekas, A. Klimovic, S. Grossman, C. Kozyrakis, and E. Bugnion. IX: A protected dataplane operating system for high throughput and low latency. In Proc of USENIX OSDI, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. C. Castelluccia, E. Mykletun, and G. Tsudik. Improving secure server performance by re-balancing SSL/TLS handshakes. In Proc of ACM CCS, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. C. Coarfa, P. Druschel, and D. S. Wallach. Performance analysis of TLS web servers. ACM Trans. Comput. Syst., 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. T. Dierks. The Transport Layer Security (TLS) Protocol Version 1.2. RFC 5246, Aug. 2008.Google ScholarGoogle Scholar
  16. A. Finamore, M. Mellia, M. Meo, M. M. Munafò, and D. Rossi. Experiences of Internet traffic monitoring with Tstat. IEEE Network, 2011.Google ScholarGoogle ScholarCross RefCross Ref
  17. F. Gratzer. QUIC-quick UDP internet connections. Future Internet and Innovative Internet Technologies and Mobile Communications, 2016.Google ScholarGoogle Scholar
  18. J. Iyengar, I. Swett, R. Hamilton, and A. Wilk. QUIC: A UDP-Based Secure and Reliable Transport for HTTP/2. Internet-Draft draft-tsvwg-quic-protocol-02, IETF, Jan. 2016.Google ScholarGoogle Scholar
  19. K. Jang, S. Han, S. Han, S. Moon, and K. Park. SSLShader: Cheap SSL Acceleration with Commodity Processors. In Proc of USENIX NSDI, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. E. Jeong, S. Wood, M. Jamshed, H. Jeong, S. Ihm, D. Han, and K. Park. mTCP: a highly scalable user-level TCP stack for multicore systems. In Proc. of USENIX NSDI, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. E. Kohler, R. Morris, B. Chen, J. Jannotti, and M. F. Kaashoek. The Click Modular Router. ACM Trans. Comput. Syst., 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. R. Laufer, M. Gallo, D. Perino, and A. Nandugudi. CliMB: Enabling network function composition with Click middleboxes. In Proc of HotMiddlebox, 2016. Google ScholarGoogle ScholarCross RefCross Ref
  23. R. Lychev, S. Jero, A. Boldyreva, and C. Nita-Rotaru. How secure and quick is QUIC? provable security and performance analyses. In Proc of IEEE Security and Privacy, 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. I. Marinos, R. N. Watson, and M. Handley. Network stack specialization for performance. In Proc. of ACM SIGCOMM, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. J. Martins, M. Ahmed, C. Raiciu, V. Olteanu, M. Honda, R. Bifulco, and F. Huici. ClickOS and the art of network function virtualization. In Proc. of USENIX NSDI, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. L. Rizzo. netmap: A novel framework for fast packet I/O. In Proc. of USENIX Security, 2012.Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. I. Swett and J. Iyengar. QUIC Loss Recovery And Congestion Control. Internet-Draft draft-tsvwg-quic-loss-recovery-01, IETF, Dec. 2015.Google ScholarGoogle Scholar
  28. M. Varvello, R. Laufer, F. Zhang, and T. V. Lakshman. Multilayer packet classification with graphics processing units. IEEE/ACM Transactions on Networking, 24(5):2728--2741, October 2016. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. G. Vasiliadis, E. Athanasopoulos, M. Polychronakis, and S. Ioannidis. PixelVault: Using GPUs for securing cryptographic operations. In Proc of ACM CCS, 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. S. Woo, E. Jeong, S. Park, J. Lee, S. Ihm, and K. Park. Comparison of caching strategies in modern cellular backhaul networks. In Proc of ACM MobySys, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Towards a Scalable Modular QUIC Server

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        KBNets '17: Proceedings of the Workshop on Kernel-Bypass Networks
        August 2017
        59 pages
        ISBN:9781450350532
        DOI:10.1145/3098583

        Copyright © 2017 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 9 August 2017

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed limited

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader