Work

An Empirical Study of Technologies to Implement Servers in Java

Year: 2001
Type: dissertation
Abstract: Over the past few years, mainstream computing has shifted from isolated personal computers to networks of computational devices. As a result the client-server programming model has become increasingly important. These servers often have very strong performance and reliability criteria. We did an empirical study of different server architectures, developed a novel thread-perconnection to event-driven transformation, and developed a performance model to predict server performance under various server architectures. We considered four different server architectures: a thread-per-connection architecture built on a kernel-level thread implementation, a thread-per-connection architecture built on a user-level thread implementation, an automatically generated event-driven architecture, and a thread pooled architecture. Our empirical study consisted of evaluating the different server architectures across a suite of benchmarks consisting of an echo server with different traffic patterns, a time server, a http server, a stock quote server, a game server, and a chat server. We modeled the execution time of the servers as having an architecture independent component and an architecture dependent component. The architecture dependent component includes implementation dependent overheads such as thread creation, object inflation, synchronization, and select processing. The performance model works well for all the servers we benchmarked. The event-driven transformation resulted in speedups of up to a factor of 2 and slowdowns of up to a factor of 3 relative to the thread-per-connection architecture using the kernel-level threads package. From the empirical study, one finds that no single server architecture works best for all servers. In fact, the optimal server architecture for a given server depends on the usage pattern. We observed both the extreme speedup and slowdown mentioned for the eventdriven server architecture for the echo server. These benchmarks differ only in their client traffic patterns.
Author: Brian Demsky
Language: English
Open Access status: green
OpenAlex ID: W2281249352
Cites: 5
Cited by:
Related to: 10