{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T08:05:00Z","timestamp":1790928300612,"version":"4.1.0"},"reference-count":57,"publisher":"Association for Computing Machinery (ACM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2018,12]]},"abstract":"<jats:p>It is common to use weakly consistent replication to achieve high availability and low latency at a global scale. In this setting, concurrent updates may lead to states where application invariants do not hold. Some systems coordinate the execution of (conflicting) operations to avoid invariant violations, leading to high latency and reduced availability for those operations. This problem is worsened by the difficulty in identifying precisely which operations conflict.<\/jats:p>\n                  <jats:p>In this paper we propose a novel approach to preserve application invariants without coordinating the execution of operations. The approach consists of modifying operations in a way that application invariants are maintained in the presence of concurrent updates. When no conflicting updates occur, the modified operations present their original semantics. Otherwise, we use sensible and deterministic conflict resolution policies that preserve the invariants of the application. To implement this approach, we developed a static analysis, IPA, that identifies conflicting operations and proposes the necessary modifications to operations.<\/jats:p>\n                  <jats:p>Our analysis shows that IPA can avoid invariant violations in many applications, including typical database applications. Our evaluation reveals that the offline static analysis runs fast enough for being used with large applications. The overhead introduced in the modified operations is low and it leads to lower latency and higher throughput when compared with other approaches that enforce invariants.<\/jats:p>","DOI":"10.14778\/3297753.3297760","type":"journal-article","created":{"date-parts":[[2019,2,27]],"date-time":"2019-02-27T09:57:56Z","timestamp":1551261476000},"page":"404-418","source":"Crossref","is-referenced-by-count":24,"title":["IPA"],"prefix":"10.14778","volume":"12","author":[{"given":"Valter","family":"Balegas","sequence":"first","affiliation":[{"name":"Universidade NOVA de Lisboa"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"S\u00e9rgio","family":"Duarte","sequence":"additional","affiliation":[{"name":"Universidade NOVA de Lisboa"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Carla","family":"Ferreira","sequence":"additional","affiliation":[{"name":"Universidade NOVA de Lisboa"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rodrigo","family":"Rodrigues","sequence":"additional","affiliation":[{"name":"T\u00e9cnico, U. Lisboa"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Nuno","family":"Pregui\u00e7a","sequence":"additional","affiliation":[{"name":"Universidade NOVA de Lisboa"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2018,12]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Fusion Ticket. http:\/\/www.fusionticket.org\/. Accessed May-2018.  Fusion Ticket. http:\/\/www.fusionticket.org\/. Accessed May-2018."},{"key":"e_1_2_1_2_1","unstructured":"Indigo source code. https:\/\/github.com\/SyncFree\/Indigo. Accessed May-2018.  Indigo source code. https:\/\/github.com\/SyncFree\/Indigo. Accessed May-2018."},{"key":"e_1_2_1_3_1","unstructured":"SwiftCloud source code. https:\/\/github.com\/SyncFree\/SwiftCloud. Accessed May-2018.  SwiftCloud source code. https:\/\/github.com\/SyncFree\/SwiftCloud. Accessed May-2018."},{"key":"e_1_2_1_4_1","unstructured":"Akka. Distributed Data. https:\/\/doc.akka.io\/docs\/akka\/current\/distributed-data.html. Accessed May-2018.  Akka. Distributed Data. https:\/\/doc.akka.io\/docs\/akka\/current\/distributed-data.html. Accessed May-2018."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDCS.2016.98"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/2465351.2465361"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2014.6816639"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732232.2732237"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.14778\/2735508.2735509"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2737784"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2588562"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2465279"},{"key":"e_1_2_1_13_1","first-page":"223","volume-title":"Proceedings of the Conference on Innovative Data system Research (CIDR)","author":"Baker J.","year":"2011","unstructured":"J. Baker , C. Bond , J. C. Corbett , J. Furman , A. Khorlin , J. Larson , J.-M. Leon , Y. Li , A. Lloyd , and V. Yushprakh . Megastore: Providing Scalable, Highly Available Storage for Interactive Services . In Proceedings of the Conference on Innovative Data system Research (CIDR) , pages 223 -- 234 , 2011 . J. Baker, C. Bond, J. C. Corbett, J. Furman, A. Khorlin, J. Larson, J.-M. Leon, Y. Li, A. Lloyd, and V. Yushprakh. Megastore: Providing Scalable, Highly Available Storage for Interactive Services. In Proceedings of the Conference on Innovative Data system Research (CIDR), pages 223--234, 2011."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/2741948.2741972"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.14778\/3297753.3297760"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/SRDS.2015.32"},{"key":"e_1_2_1_17_1","volume-title":"http:\/\/basho.com\/","year":"2017","unstructured":"Basho. Riak. http:\/\/basho.com\/ , 2017 . Accessed May-2018. Basho. Riak. http:\/\/basho.com\/, 2017. Accessed May-2018."},{"key":"e_1_2_1_18_1","unstructured":"C. Biyikoglu. Under the Hood: Redis CRDTs. https:\/\/goo.gl\/tGqU7h. Accessed May-2018.  C. Biyikoglu. Under the Hood: Redis CRDTs. https:\/\/goo.gl\/tGqU7h. Accessed May-2018."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/2391229.2391230"},{"key":"e_1_2_1_20_1","first-page":"251","volume-title":"Proceedings 10th USENIX Conference on Operating Systems Design and Implementation, OSDI'12","author":"Corbett J. C.","year":"2012","unstructured":"J. C. Corbett , J. Dean , M. Epstein , A. Fikes , C. Frost , J. J. Furman , S. Ghemawat , A. Gubarev , C. Heiser , P. Hochschild , W. Hsieh , S. Kanthak , E. Kogan , H. Li , A. Lloyd , S. Melnik , D. Mwaura , D. Nagle , S. Quinlan , R. Rao , L. Rolig , Y. Saito , M. Szymaniak , C. Taylor , R. Wang , and D. Woodford . Spanner: Google's Globally-distributed Database . In Proceedings 10th USENIX Conference on Operating Systems Design and Implementation, OSDI'12 , pages 251 -- 264 , Hollywood, USA , 2012 . USENIX Association. J. C. Corbett, J. Dean, M. Epstein, A. Fikes, C. Frost, J. J. Furman, S. Ghemawat, A. Gubarev, C. Heiser, P. Hochschild, W. Hsieh, S. Kanthak, E. Kogan, H. Li, A. Lloyd, S. Melnik, D. Mwaura, D. Nagle, S. Quinlan, R. Rao, L. Rolig, Y. Saito, M. Szymaniak, C. Taylor, R. Wang, and D. Woodford. Spanner: Google's Globally-distributed Database. In Proceedings 10th USENIX Conference on Operating Systems Design and Implementation, OSDI'12, pages 251--264, Hollywood, USA, 2012. USENIX Association."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.5555\/1792734.1792766"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/1294261.1294281"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/2815400.2815425"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2007.01.015"},{"key":"e_1_2_1_25_1","first-page":"500","volume-title":"Annotation Assistant for ESC\/Java. In Proceedings of the International Symposium of Formal Methods Europe on Formal Methods for Increasing Software Productivity, FME '01","author":"Flanagan C.","year":"2001","unstructured":"C. Flanagan and K. R. M. Leino . Houdini, an Annotation Assistant for ESC\/Java. In Proceedings of the International Symposium of Formal Methods Europe on Formal Methods for Increasing Software Productivity, FME '01 , pages 500 -- 517 , Berlin, Germany , 2001 . Springer-Verlag. C. Flanagan and K. R. M. Leino. Houdini, an Annotation Assistant for ESC\/Java. In Proceedings of the International Symposium of Formal Methods Europe on Formal Methods for Increasing Software Productivity, FME '01, pages 500--517, Berlin, Germany, 2001. Springer-Verlag."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/512529.512558"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/38713.38742"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/564585.564601"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/2837614.2837625"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2815400.2815428"},{"key":"e_1_2_1_31_1","volume-title":"Online Proceedings of CIDR 2009 Fourth Biennial Conference on Innovative Data Systems Research","author":"Helland P.","year":"2009","unstructured":"P. Helland and D. Campbell . Building on quicksand . In Online Proceedings of CIDR 2009 Fourth Biennial Conference on Innovative Data Systems Research , Asilomar, USA , Jan. 2009 . P. Helland and D. Campbell. Building on quicksand. In Online Proceedings of CIDR 2009 Fourth Biennial Conference on Innovative Data Systems Research, Asilomar, USA, Jan. 2009."},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2987550.2987559"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/2465351.2465363"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/1773912.1773922"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/359545.359563"},{"key":"e_1_2_1_36_1","first-page":"281","volume-title":"Proceedings of the 2014 USENIX Annual Technical Conference (USENIX ATC 14)","author":"Li C.","year":"2014","unstructured":"C. Li , J. Leit\u00e3o , A. Clement , N. Pregui\u00e7a , R. Rodrigues , and V. Vafeiadis . Automating the Choice of Consistency Levels in Replicated Systems . In Proceedings of the 2014 USENIX Annual Technical Conference (USENIX ATC 14) , pages 281 -- 292 , Philadelphia, PA , June 2014 . USENIX Association. C. Li, J. Leit\u00e3o, A. Clement, N. Pregui\u00e7a, R. Rodrigues, and V. Vafeiadis. Automating the Choice of Consistency Levels in Replicated Systems. In Proceedings of the 2014 USENIX Annual Technical Conference (USENIX ATC 14), pages 281--292, Philadelphia, PA, June 2014. USENIX Association."},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.5555\/2387880.2387906"},{"key":"e_1_2_1_38_1","first-page":"359","volume-title":"Proceedings of the 2018 USENIX Annual Technical Conference (USENIX ATC 18)","author":"Li C.","year":"2018","unstructured":"C. Li , N. Pregui\u00e7a , and R. Rodrigues . Fine-grained consistency for geo-replicated systems . In Proceedings of the 2018 USENIX Annual Technical Conference (USENIX ATC 18) , pages 359 -- 372 , Boston, MA , 2018 . USENIX Association. C. Li, N. Pregui\u00e7a, and R. Rodrigues. Fine-grained consistency for geo-replicated systems. In Proceedings of the 2018 USENIX Annual Technical Conference (USENIX ATC 18), pages 359--372, Boston, MA, 2018. USENIX Association."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/2043556.2043593"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.5555\/2482626.2482657"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/7239.7265"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2588558"},{"key":"e_1_2_1_43_1","first-page":"125","volume-title":"The Future of Software Engineering","author":"Parnas D. L.","year":"2010","unstructured":"D. L. Parnas . Precise Documentation : The Key to Better Software . In S. Nanz, editor, The Future of Software Engineering , pages 125 -- 148 . Springer , 2010 . D. L. Parnas. Precise Documentation: The Key to Better Software. In S. Nanz, editor, The Future of Software Engineering, pages 125--148. Springer, 2010."},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2723720"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.5555\/2050613.2050642"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213836.2213945"},{"key":"e_1_2_1_48_1","first-page":"12","article-title":"Invariant Preservation in Geo-replicated Data Stores. PhD thesis, Faculdade de Ci\u00eancias e Tecnologia","author":"Sousa V. B.","year":"2017","unstructured":"V. B. Sousa . Invariant Preservation in Geo-replicated Data Stores. PhD thesis, Faculdade de Ci\u00eancias e Tecnologia , Universidade NOVA de Lisboa , 12 2017 . V. B. Sousa. Invariant Preservation in Geo-replicated Data Stores. PhD thesis, Faculdade de Ci\u00eancias e Tecnologia, Universidade NOVA de Lisboa, 12 2017.","journal-title":"Universidade NOVA de Lisboa"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/2043556.2043592"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/224056.224070"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/2517349.2522713"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/1435417.1435432"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3064037"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.14778\/3275536.3275538"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2737958"},{"key":"e_1_2_1_56_1","first-page":"495","volume-title":"Proceedings of the 11th USENIX Conference on Operating Systems Design and Implementation, OSDI'14","author":"Xie C.","year":"2014","unstructured":"C. Xie , C. Su , M. Kapritsos , Y. Wang , N. Yaghmazadeh , L. Alvisi , and P. Mahajan . Salt: Combining acid and base in a distributed database . In Proceedings of the 11th USENIX Conference on Operating Systems Design and Implementation, OSDI'14 , pages 495 -- 509 , Broomfield, CO, USA , 2014 . USENIX Association. C. Xie, C. Su, M. Kapritsos, Y. Wang, N. Yaghmazadeh, L. Alvisi, and P. Mahajan. Salt: Combining acid and base in a distributed database. In Proceedings of the 11th USENIX Conference on Operating Systems Design and Implementation, OSDI'14, pages 495--509, Broomfield, CO, USA, 2014. USENIX Association."},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/2814576.2814733"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/2517349.2522729"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3297753.3297760","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T04:34:36Z","timestamp":1672202076000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3297753.3297760"}},"subtitle":["invariant-preserving applications for weakly consistent replicated databases"],"short-title":[],"issued":{"date-parts":[[2018,12]]},"references-count":57,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2018,12]]}},"alternative-id":["10.14778\/3297753.3297760"],"URL":"https:\/\/doi.org\/10.14778\/3297753.3297760","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2018,12]]}}}