Evaluating the scalability of Java']Java event-driven web servers

被引:0
|
作者
Beltran, V [1 ]
Carrera, D [1 ]
Torres, J [1 ]
Ayguadé, E [1 ]
机构
[1] Tech Univ Catalonia, UPC, Comp Architecture Dept, European Ctr Parallelism Barcelona,CEPBA, E-08034 Barcelona, Spain
来源
2004 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, PROCEEDINGS | 2004年
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The two major strategies used to construct high-performance web servers are thread pools and event-driven architectures. The Java platform is commonly used in web environments but up to the moment it did not provide any standard API to implement event-driven architectures efficiently. The new 1.4 release of the J2SE introduces the NIO (New I/O) API to help in the development of event-driven I/O intensive applications. In this paper we evaluate the scalability that this API provides to the Java platform in the field of web servers, bringing together the majorly used commercial server (Apache) and one experimental server developed using the NIO API. We study the scalability of the NIO-based server as well as of its rival in a number of different scenarios, including uniprocessor multiprocessor, bandwidth-bounded and CPU-bounded environments. The study concludes that the NIO API can be successfully used to create event-driven Java servers that can scale as well as the best of the commercial native-compiled web server at a fraction of its complexity and using only one or two worker threads.
引用
收藏
页码:134 / 142
页数:9
相关论文
共 50 条
  • [1] A framework for event-driven demonstration based on the Java']Java toolkit
    Miura, M
    Tanaka, J
    3RD ASIA PACIFIC COMPUTER HUMAN INTERACTION, PROCEEDINGS, 1998, : 331 - 336
  • [2] A comparison between Web Service and JAVA']JAVA Message Service technologies for Event-Driven Mashup execution
    Stecca, Michele
    Maresca, Massimo
    INTERNATIONAL JOURNAL OF WEB AND GRID SERVICES, 2010, 6 (03) : 269 - 288
  • [3] Creating an event-driven simulation infrastructure using the RMI feature of Java']Java
    McGregor, JD
    Miller, FA
    OBJECT-ORIENTED SIMULATION CONFERENCE (OOS'98) AND THE INTERNATIONAL CONFERENCE ON SIMULATION AND MULTIMEDIA IN ENGINEERING EDUCATION (ICSEE'98), PROCEEDINGS OF, 1998, : 45 - 50
  • [4] Overload behaviour and protection of event-driven web servers
    Voigt, T
    WEB ENGINEERING AND PEER TO PEER COMPUTING, 2002, 2376 : 147 - 157
  • [5] Evaluating the scalability of enterprise Java']JavaBeans technology
    Liu, Y
    Gorton, I
    Liu, A
    Chen, SP
    APSEC 2002: NINTH ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE, 2002, : 74 - 83
  • [6] Static Analysis of Event-Driven Node.js']js Java']JavaScript Applications
    Madsen, Magnus
    Tip, Frank
    Lhotak, Ondrej
    ACM SIGPLAN NOTICES, 2015, 50 (10) : 505 - 519
  • [7] Test-driven web application development in Java']Java
    Pipka, JU
    OBJECTS, COMPONENTS, ARCHITECTURES, SERVICES, AND APPLICATIONS FOR A NETWORKED WORLD, 2003, 2591 : 378 - 393
  • [8] Lazy asynchronous I/O for event-driven servers
    Elmeleegy, K
    Chanda, A
    Cox, AL
    Zwaenepoel, W
    USENIX ASSOCIATION PROCEEDINGS OF THE GENERAL TRACK 2004 USENIX ANNUAL TECHNICAL CONFERENCE, 2004, : 241 - 254
  • [10] Discrete event simulation on the world wide web using Java']Java
    Buss, AH
    Stork, KA
    1996 WINTER SIMULATION CONFERENCE PROCEEDINGS, 1996, : 780 - 785