Title
A thread synchronization model for SIP servlet containers
Abstract
Multi-threaded SIP servlet containers pose difficult synchronization problems to application developers. On the one hand, if a container automatically locks resources for servlets according to some fixed protocol, this protocol is not likely to be appropriate for all applications. It may degrade performance or even introduce deadlock in some applications. On the other hand, leaving application programmers to code synchronization---while flexible---is prone to error. The logic to both infer the resources a servlet requires and then to lock the required resources is complex and cross-cutting. This "synchronization logic" can easily obscure an application's "business logic." Interleaving synchronization code with business code makes an application difficult to maintain and extend. In this paper, we elaborate key dimensions of the thread synchronization problem for SIP servlet containers. We further propose a novel synchronization model for SIP servlet containers, which addresses these dimensions in a more comprehensive fashion than any existing model that we know of. Our synchronization model is highly flexible. It introduces abstractions to promote correctness, maintainabilty, and extensibility. We also describe a reference framework that implements these abstractions. To illustrate the benefits of our model, we describe a representative SIP application developed using this framework.
Year
DOI
Venue
2009
10.1145/1595637.1595647
IPTComm
Keywords
Field
DocType
application programmer,application developer,synchronization model,thread synchronization model,novel synchronization model,synchronization code,thread synchronization problem,difficult synchronization problem,representative sip application,synchronization logic,sip servlet container,sms,sip,application development
Synchronization,Computer security,Computer science,Lock (computer science),Deadlock,Correctness,Business logic,Synchronization (computer science),Extensibility,Interleaving,Embedded system,Distributed computing
Conference
Citations 
PageRank 
References 
1
0.36
12
Authors
4
Name
Order
Citations
PageRank
Yi Huang1572.62
eric cheung b210.36
Laura K. Dillon349770.70
Kurt Stirewalt431230.24