Reusable Concurrent Data Types

被引:0
|
作者
Gramoli, Vincent [1 ,2 ]
Guerraoui, Rachid [3 ]
机构
[1] NICTA, Sydney, NSW, Australia
[2] Univ Sydney, Sydney, NSW 2006, Australia
[3] Ecole Polytech Fed Lausanne, Lausanne, Switzerland
来源
关键词
ATOMICITY; PARALLELISM;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper contributes to address the fundamental challenge of building Concurrent Data Types (CDT) that are reusable and scalable at the same time. We do so by proposing the abstraction of Polymorphic Transactions (PT): a new programming abstraction that offers different compatible transactions that can run concurrently in the same application. We outline the commonality of the problem in various object-oriented languages and implement PT and a reusable package in Java. With PT, annotating sequential ADTs guarantee novice programmers to obtain an atomic and deadlock-free CDT and let an advanced programmer leverage the application semantics to get higher performance. We compare our polymorphic synchronization against transaction-based, lock-based and lock-free synchronizations on SPARC and x86-64 architectures and we integrate our methodology to a travel reservation benchmark. Although our reusable CDTs are sometimes less efficient than non-composable handcrafted CDTs from the JDK, they outperform all reusable Java CDTs.
引用
收藏
页码:182 / 206
页数:25
相关论文
共 50 条
  • [41] Parameterized Concurrent Multi-Party Session Types
    Charalambides, Minas
    Dinges, Peter
    Agha, Gul
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2012, (91): : 16 - 30
  • [42] Rim: A reusable iterative model for big data
    Song, Jie
    Ma, Zhongyi
    Zhang, Yichuan
    Li, Tiantian
    Yu, Ge
    KNOWLEDGE-BASED SYSTEMS, 2018, 153 : 105 - 116
  • [43] CONCURRENT USE OF GENERIC TYPES IN MODULA-2
    GOLDSBY, ME
    SIGPLAN NOTICES, 1986, 21 (06): : 28 - 34
  • [44] A reusable design of geophysical data acquisition software
    Jing, Pei
    Jiang Qiyun
    Dan, Huang
    INTERNATIONAL WORKSHOP ON AUTOMOBILE, POWER AND ENERGY ENGINEERING, 2011, 16
  • [45] Fast Concurrent Data Sketches
    Rinberg, Arik
    Spiegelman, Alexander
    Bortnikov, Edward
    Hillel, Eshcar
    Keidar, Idit
    Rhodes, Lee
    Serviansky, Hadar
    PROCEEDINGS OF THE 25TH ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING (PPOPP '20), 2020, : 117 - 129
  • [46] Concurrent Data Representation Synthesis
    Hawkins, Peter
    Aiken, Alex
    Fisher, Kathleen
    Rinard, Martin
    Sagiv, Mooly
    ACM SIGPLAN NOTICES, 2012, 47 (06) : 417 - 427
  • [47] Sketching concurrent data structures
    Solar-Lezama, Armando
    Jones, Christopher Grant
    Bodik, Rastislav
    ACM SIGPLAN NOTICES, 2008, 43 (06) : 136 - 148
  • [48] CONCURRENT DATA-STRUCTURES
    COLBROOK, A
    SMYTHE, C
    PITT, DH
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 468 : 346 - 355
  • [49] Highly Concurrent Data Structures
    Herlihy, Maurice
    COMMUNICATIONS OF THE ACM, 2009, 52 (05) : 99 - 99
  • [50] Fast Concurrent Data Sketches
    Rinberg, Arik
    Spiegelman, Alexander
    Bortnikov, Edward
    Hillel, Eshcar
    Keidar, Idit
    Rhodes, Lee
    Serviansky, Hadar
    ACM TRANSACTIONS ON PARALLEL COMPUTING, 2022, 9 (02)