{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,8,29]],"date-time":"2025-08-29T16:40:23Z","timestamp":1756485623512,"version":"3.44.0"},"reference-count":32,"publisher":"Association for Computing Machinery (ACM)","issue":"7","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2025,3]]},"abstract":"<jats:p>Software rollout is the process of replacing the version of an application that is currently running in production with a new version. Many subtle and catastrophic bugs occur during software rollout. There are many existing techniques to improve the odds of a rollout completing successfully, but these techniques don't work well when the application has shared, persistent, mutable state. In this paper, we present a practical framework to test the rollout of stateful applications. Our framework uses diff testing to verify that the new version of an application behaves identically to the currently running version that will be replaced. The framework has three main components to safely and efficiently compare the behavior of the two versions. First, we implement database branching on top of Postgres. Second, we implement an efficient algorithm to diff two database branches. Third, we describe how to replay client requests to improve test coverage. Finally, we identify three common categories of rollout bugs and demonstrate how our framework can find these bugs with minimal performance overhead.<\/jats:p>","DOI":"10.14778\/3734839.3734841","type":"journal-article","created":{"date-parts":[[2025,8,29]],"date-time":"2025-08-29T16:01:06Z","timestamp":1756483266000},"page":"2018-2030","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Vive la Diff\u00e9rence: Practical Diff Testing of Stateful Applications"],"prefix":"10.14778","volume":"18","author":[{"given":"Kexin","family":"Zhu","sequence":"first","affiliation":[{"name":"Google"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Michael","family":"Whittaker","sequence":"additional","affiliation":[{"name":"Google"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Srdjan","family":"Petrovic","sequence":"additional","affiliation":[{"name":"Google"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Robert","family":"Grandl","sequence":"additional","affiliation":[{"name":"Google"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Sanjay","family":"Ghemawat","sequence":"additional","affiliation":[{"name":"Google"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2025,8,29]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Bank of Anthos [n.d.]. BankOfAnthos. https:\/\/github.com\/GoogleCloudPlatform\/bank-of-anthos."},{"key":"e_1_2_1_2_1","unstructured":"Canarying [n.d.]. Canarying Releases. https:\/\/sre.google\/workbook\/canarying-releases\/."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/347324.348954"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1807128.1807152"},{"key":"e_1_2_1_5_1","unstructured":"diffy 2024. Diffy. https:\/\/github.com\/opendiffy\/diffy."},{"key":"e_1_2_1_6_1","unstructured":"Dolt [n.d.]. Dolt. https:\/\/docs.dolthub.com\/."},{"key":"e_1_2_1_7_1","unstructured":"Git [n.d.]. Git. https:\/\/git-scm.com\/."},{"key":"e_1_2_1_8_1","unstructured":"Go [n.d.]. The Go programming language. https:\/\/go.dev\/."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/3395363.3397374"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE-SEIP.2019.00016"},{"key":"e_1_2_1_11_1","volume-title":"Orpheusdb: Bolt-on versioning for relational databases. arXiv preprint arXiv:1703.02475","author":"Huang Silu","year":"2017","unstructured":"Silu Huang, Liqi Xu, Jialin Liu, Aaron Elmore, and Aditya Parameswaran. 2017. Orpheusdb: Bolt-on versioning for relational databases. arXiv preprint arXiv:1703.02475 (2017)."},{"key":"e_1_2_1_12_1","unstructured":"Jez Humble and David Farley. 2010. Continuous delivery: reliable software releases through build test and deployment automation. Pearson Education."},{"key":"e_1_2_1_13_1","unstructured":"James Wayne Hunt and M Douglas MacIlroy. 1975. An algorithm for differential file comparison. Bell Laboratories Murray Hill."},{"key":"e_1_2_1_14_1","volume-title":"Proceedings of the VLDB Endowment. International Conference on Very Large Data Bases","volume":"9","author":"Maddox Michael","year":"2015","unstructured":"Michael Maddox, David Goehring, Aaron J Elmore, Samuel Madden, Aditya Parameswaran, and Amol Deshpande. 2015. Decibel: The relational dataset branching system. In Proceedings of the VLDB Endowment. International Conference on Very Large Data Bases, Vol. 9. NIH Public Access, 524."},{"key":"e_1_2_1_15_1","first-page":"100","article-title":"Differential testing for software","volume":"10","author":"McKeeman William M","year":"1998","unstructured":"William M McKeeman. 1998. Differential testing for software. Digital Technical Journal 10, 1 (1998), 100\u2013107.","journal-title":"Digital Technical Journal"},{"key":"e_1_2_1_16_1","unstructured":"neon [n.d.]. Neon Serverless Postgres. https:\/\/neon.tech\/."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380363"},{"key":"e_1_2_1_18_1","unstructured":"Oracle [n.d.]. Oracle Database. https:\/\/www.oracle.com\/database\/."},{"key":"e_1_2_1_19_1","unstructured":"Oracle Flashback Query [n.d.]. Oracle Flashback Query. https:\/\/docs.oracle.com\/cd\/B14117_01\/appdev.101\/b10795\/adfns_fl.htm."},{"key":"e_1_2_1_20_1","unstructured":"Oracle Server [n.d.]. SQL Server. https:\/\/www.microsoft.com\/en-us\/sql-server."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3297858.3304063"},{"key":"e_1_2_1_22_1","unstructured":"Postgres [n.d.]. PostgreSQL. https:\/\/www.postgresql.org\/."},{"key":"e_1_2_1_23_1","unstructured":"Postgres Trigger on Views [n.d.]. PostgreSQL Trigger On View. https:\/\/www.postgresql.org\/docs\/current\/trigger-definition."},{"key":"e_1_2_1_24_1","unstructured":"Prolly Trees [n.d.]. Prolly Trees. https:\/\/docs.dolthub.com\/architecture\/storage-engine\/prolly-tree."},{"key":"e_1_2_1_25_1","unstructured":"Protobuf [n.d.]. Protocol Buffers. https:\/\/protobuf.dev\/."},{"key":"e_1_2_1_26_1","unstructured":"Quora. [n.d.]. What is meant by a rolling upgrade in software development. https:\/\/www.quora.com\/What-is-meant-by-a-rolling-upgrade-in-software-development."},{"key":"e_1_2_1_27_1","volume-title":"Qian Lin, Zhongle Xie, Meihui Zhang, Qingchao Cai, Gang Chen, Wanzeng Fu, Beng Chin Ooi, and Pingcheng Ruan.","author":"Wang Sheng","year":"2018","unstructured":"Sheng Wang, Tien Tuan Anh Dinh, Qian Lin, Zhongle Xie, Meihui Zhang, Qingchao Cai, Gang Chen, Wanzeng Fu, Beng Chin Ooi, and Pingcheng Ruan. 2018. Forkbase: An efficient storage engine for blockchain and forkable applications. arXiv preprint arXiv:1802.04949 (2018)."},{"key":"e_1_2_1_28_1","volume-title":"The Free Encyclopedia","unstructured":"Wikipedia. 2024. Differential testing \u2014 Wikipedia, The Free Encyclopedia. http:\/\/en.wikipedia.org\/w\/index.php?title=Differential%20testing&oldid=1185195819."},{"key":"e_1_2_1_29_1","volume-title":"The Free Encyclopedia. https:\/\/en.wikipedia.org\/wiki\/Point-in-time_recovery.","unstructured":"Wikipedia. 2024. Point-in-time recovery \u2014 Wikipedia, The Free Encyclopedia. https:\/\/en.wikipedia.org\/wiki\/Point-in-time_recovery."},{"key":"e_1_2_1_30_1","volume-title":"The Free Encyclopedia. https:\/\/en.wikipedia.org\/wiki\/Write-ahead_logging.","unstructured":"Wikipedia. 2024. Write-ahead logging \u2014 Wikipedia, The Free Encyclopedia. https:\/\/en.wikipedia.org\/wiki\/Write-ahead_logging."},{"key":"e_1_2_1_31_1","unstructured":"ycsb 2020. YCSB Benchmark Core Workloads Wiki. https:\/\/github.com\/brianfrankcooper\/YCSB\/wiki\/Core-Workloads."},{"key":"e_1_2_1_32_1","doi-asserted-by":"crossref","unstructured":"Yongle Zhang Junwen Yang Zhuqi Jin Utsav Sethi Kirk Rodrigues Shan Lu and Ding Yuan. 2021. Understanding and detecting software upgrade failures in distributed systems. In SOSP.","DOI":"10.1145\/3477132.3483577"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3734839.3734841","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,8,29]],"date-time":"2025-08-29T16:01:43Z","timestamp":1756483303000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3734839.3734841"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,3]]},"references-count":32,"journal-issue":{"issue":"7","published-print":{"date-parts":[[2025,3]]}},"alternative-id":["10.14778\/3734839.3734841"],"URL":"https:\/\/doi.org\/10.14778\/3734839.3734841","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2025,3]]},"assertion":[{"value":"2025-08-29","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}