Externalizing Java server concurrency with CAL

Charles Zhang, Hans Arno Jacobsen

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

One of the most important design decisions about a server program is regarding its concurrency mechanisms. However, good concurrency models for general-purpose server programs are increasingly difficult to conceive as the runtime conditions are hard to predict. In this work, we advocate that the concurrency code is to be decoupled from server programs. To enable such separation, we propose and evaluate CAL, - the Concurrency Aspect Library. CAL provides uniform concurrency programming abstractions and mediates the intrinsic differences among concurrency models. Through CAL, a server program is not tied to any particular concurrency model and framework. CAL can be configured without modifications to use concurrency frameworks of fundamentally different natures. The concurrency code based on CAL is simpler and looks closer to the design. Leveraging the customizability of CAL, we show that a commercial middleware server, refactored to use CAL, outperforms its original version by as much as 10 times.

Original languageEnglish
Title of host publicationECOOP 2008 - Object-Oriented Programming - 22nd European Conference, Proceedings
Pages362-386
Number of pages25
DOIs
StatePublished - 2008
Externally publishedYes
Event22nd European Conference on Object-Oriented Programming, ECOOP 2008 - Paphos, Cyprus
Duration: 7 Jul 200811 Jul 2008

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume5142 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference22nd European Conference on Object-Oriented Programming, ECOOP 2008
Country/TerritoryCyprus
CityPaphos
Period7/07/0811/07/08

Fingerprint

Dive into the research topics of 'Externalizing Java server concurrency with CAL'. Together they form a unique fingerprint.

Cite this