Externalizing Java Server Concurrency with CAL

Charles Zhang and Hans-Arno Jacobsen.

In European Conference on Object-oriented Processing 2008 (ECOOP), pages 362-386, July 2008.
Acceptance rate: 19%.

Abstract

One of the most important decisions about the architecture of a server program is its concurrency mechanisms. However, a good concurrency model for general-purpose server programs is 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.

Download



Tags: aspect-oriented middleware, aspect-oriented programming, concurrency


Readers who enjoyed the above work, may also like the following:


  • Mining Crosscutting Concerns Through Random Walks.
    Charles Zhang and Hans-Arno Jacobsen.
    IEEE Transactions on Sofware Engineering, 2011.
    Accepted July 2011.
    Tags: aspect mining, aspect-oriented programming, aspect-oriented middleware
  • Efficiently Mining Crosscutting Concerns Through Random Walks.
    Charles Zhang and Hans-Arno Jacobsen.
    In AOSD 2007: 6th International Conference on Aspect Oriented Systems and Design, pages 226-238, Vancouver, BC, Canada, March 2007.
    Acceptance rate: 18%.
    Tags: aspect mining, aspect-oriented middleware, aspect-oriented programming
  • Towards Just-in-time Middleware Architectures.
    Charles Zhang, Dapeng Gao, and Hans-Arno Jacobsen.
    In Aspect-oriented Software Development Conference, pages 63-74, Chicago, IL, March 2005.
    Acceptance rate: 21%. Number of submissions: 86.
    Tags: aspect-oriented middleware, aspect-oriented programming