A thread synchronization model for SIP servlet containers

IPTComm '09: Proceedings of the 3rd International Conference on Principles, Systems and Applications of IP Telecommunications(2010)

引用 4|浏览2
暂无评分
摘要
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.
更多
查看译文
关键词
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
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要