{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,9,29]],"date-time":"2025-09-29T08:25:40Z","timestamp":1759134340993},"reference-count":35,"publisher":"Association for Computing Machinery (ACM)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2008,8]]},"abstract":"<jats:p>\n            We propose EndoScope, a software monitoring framework that allows users to pose declarative queries that monitor the state and performance of running programs. Unlike most existing monitoring tools, EndoScope is\n            <jats:italic>acquisitional<\/jats:italic>\n            , meaning that it only instruments the portions of the program that need to be monitored to answer queries. The use of a high level declarative language allows EndoScope to search for efficient physical instantiations of queries by applying a suite of optimizations, including control flow graph analysis, and traditional database query optimization techniques, such as predicate pushdown and join optimization, to minimize the number of program instrumentation points and overhead to the monitored program. Furthermore, a flexible, high level language and the ability to attach to running programs enable developers to build various program analysis and monitoring applications beyond traditional software profilers with EndoScope. We describe a prototype implementation of the EndoScope framework and a simple profiler for Java programs implemented with EndoScope. We show results from using our profiler on a collection of real-world programs, including a TPC-C implementation using the Derby database and the petstore application running on top of Tomcat application server. Our results show the benefit of our optimization framework and demonstrate that our declarative, acquisitional approach can yield program instrumentation overheads that are dramatically lower than conventional profiling tools (for example, when profiling the Derby Database running TPC-C, our system's overhead ranges from 1% to about 25%, whereas the fastest existing profiler we measured imposes a minimum overhead of about 30%.)\n          <\/jats:p>","DOI":"10.14778\/1453856.1453866","type":"journal-article","created":{"date-parts":[[2014,6,24]],"date-time":"2014-06-24T12:17:57Z","timestamp":1403612277000},"page":"42-53","source":"Crossref","is-referenced-by-count":9,"title":["Performance profiling with EndoScope, an acquisitional software monitoring framework"],"prefix":"10.14778","volume":"1","author":[{"given":"Alvin","family":"Cheung","sequence":"first","affiliation":[{"name":"MIT CSAIL"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Samuel","family":"Madden","sequence":"additional","affiliation":[{"name":"MIT CSAIL"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2008,8]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Apache derby. URL http:\/\/db.apache.org\/derby.  Apache derby. URL http:\/\/db.apache.org\/derby."},{"key":"e_1_2_1_2_1","unstructured":"Apache derby petstore demo. URL http:\/\/db.apache.org\/ derby\/integrate\/DerbyTomcat5512JPetStor.html.  Apache derby petstore demo. URL http:\/\/db.apache.org\/ derby\/integrate\/DerbyTomcat5512JPetStor.html."},{"key":"e_1_2_1_3_1","unstructured":"Apache tomcat. URL http:\/\/tomcat.apache.org.  Apache tomcat. URL http:\/\/tomcat.apache.org."},{"key":"e_1_2_1_4_1","unstructured":"Asm java bytecode manipulation framework. URL http:\/\/asm.objectweb.org.  Asm java bytecode manipulation framework. URL http:\/\/asm.objectweb.org."},{"key":"e_1_2_1_5_1","unstructured":"gdb. URL http:\/\/sourceware.org\/gdb.  gdb. URL http:\/\/sourceware.org\/gdb."},{"key":"e_1_2_1_6_1","unstructured":"Google performance tools. URL http:\/\/goog-perftools.sourceforge.net.  Google performance tools. URL http:\/\/goog-perftools.sourceforge.net."},{"key":"e_1_2_1_7_1","unstructured":"hprof. URL http:\/\/java.sun.com\/developer\/ technicalArticles\/Programming\/HPROF.html.  hprof. URL http:\/\/java.sun.com\/developer\/ technicalArticles\/Programming\/HPROF.html."},{"key":"e_1_2_1_8_1","unstructured":"The java hotspot virtual machine v.1.4.1. URL http:\/\/java.sun.com\/products\/hotspot\/docs\/whitepaper\/ Java_Hotspot_v1.4.1\/Java_HSpot_WP_v1.4.1_1002_1.html.  The java hotspot virtual machine v.1.4.1. URL http:\/\/java.sun.com\/products\/hotspot\/docs\/whitepaper\/ Java_Hotspot_v1.4.1\/Java_HSpot_WP_v1.4.1_1002_1.html."},{"key":"e_1_2_1_9_1","unstructured":"Jip - the java interactive profiler. URL http:\/\/jiprof.sourceforge.net.  Jip - the java interactive profiler. URL http:\/\/jiprof.sourceforge.net."},{"key":"e_1_2_1_10_1","unstructured":"Jrat the java runtime analysis toolkit. URL http:\/\/jrat.sourceforge.net.  Jrat the java runtime analysis toolkit. URL http:\/\/jrat.sourceforge.net."},{"key":"e_1_2_1_11_1","unstructured":"jswat graphical java debugger. URL http:\/\/www.bluemarsh.com\/java\/jswat.  jswat graphical java debugger. URL http:\/\/www.bluemarsh.com\/java\/jswat."},{"key":"e_1_2_1_12_1","unstructured":"oprofile. URL http:\/\/oprofile.sourceforge.net.  oprofile. URL http:\/\/oprofile.sourceforge.net."},{"key":"e_1_2_1_13_1","unstructured":"Shark 4. URL http:\/\/developer.apple.com\/tools\/sharkoptimize.html.  Shark 4. URL http:\/\/developer.apple.com\/tools\/sharkoptimize.html."},{"key":"e_1_2_1_14_1","unstructured":"Visualvm java profiler. URL https:\/\/visualvm.dev.java.net.  Visualvm java profiler. URL https:\/\/visualvm.dev.java.net."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/265924.265925"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-004-0147-z"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/353171.353175"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/582419.582432"},{"key":"e_1_2_1_19_1","volume-title":"Proc. USENIX NSDI.","author":"Balazinska M.","year":"2004","unstructured":"M. Balazinska , H. Balakrishnan , and M. Stonebraker . Contract-Based Load Management in Federated Distributed Systems . In Proc. USENIX NSDI. March 2004 . M. Balazinska, H. Balakrishnan, and M. Stonebraker. Contract-Based Load Management in Federated Distributed Systems. In Proc. USENIX NSDI. March 2004."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/143165.143180"},{"key":"e_1_2_1_21_1","volume-title":"Proc. of USENIX.","author":"Cantrill B.","year":"2004","unstructured":"B. Cantrill , S. Michael , and A. Leventhal . Dynamic Instrumentation of Production Systems . In Proc. of USENIX. 2004 . B. Cantrill, S. Michael, and A. Leventhal. Dynamic Instrumentation of Production Systems. In Proc. of USENIX. 2004."},{"key":"e_1_2_1_22_1","volume-title":"Proc. of OSDI.","author":"Cohen I.","year":"2004","unstructured":"I. Cohen , J. Chase , and T. Kelly . Correlating Instrumentation Data to System States: A Building Block for Automated Diagnosis and Control . In Proc. of OSDI. 2004 . I. Cohen, J. Chase, and T. Kelly. Correlating Instrumentation Data to System States: A Building Block for Automated Diagnosis and Control. In Proc. of OSDI. 2004."},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2007.01.015"},{"key":"e_1_2_1_24_1","volume-title":"Database Systems, the Complete Book","author":"Garcia-Molina H.","year":"2001","unstructured":"H. Garcia-Molina , J. Widom , and J. Ullman . Database Systems, the Complete Book . Prentice Hall , 2001 . H. Garcia-Molina, J. Widom, and J. Ullman. Database Systems, the Complete Book. Prentice Hall, 2001."},{"key":"e_1_2_1_25_1","volume-title":"Proc. of CIDR.","author":"Girod L.","year":"2007","unstructured":"L. Girod , Y. Mei , R. Newton , S. Rost , A. Thiagarajan , H. Balakrishnan , and S. Madden . The case for a Signal-Oriented Data Stream Management System . In Proc. of CIDR. January 2007 . L. Girod, Y. Mei, R. Newton, S. Rost, A. Thiagarajan, H. Balakrishnan, and S. Madden. The case for a Signal-Oriented Data Stream Management System. In Proc. of CIDR. January 2007."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/800230.806987"},{"key":"e_1_2_1_27_1","volume-title":"Proc. of OSDI.","author":"Joukov N.","year":"2006","unstructured":"N. Joukov , A. Traeger , R. Iyer , C. Wright , and E. Zadok . Operating System Profiling via Latency Analysis . In Proc. of OSDI. November 2006 . N. Joukov, A. Traeger, R. Iyer, C. Wright, and E. Zadok. Operating System Profiling via Latency Analysis. In Proc. of OSDI. November 2006."},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/1065010.1065014"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1287\/opre.9.3.383"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/872757.872817"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/265924.265927"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2003.1260779"},{"key":"e_1_2_1_33_1","volume-title":"JIP -- The Java Interactive Profiler, whitepaper","author":"Wilcox A.","year":"2005","unstructured":"A. Wilcox . JIP -- The Java Interactive Profiler, whitepaper . 2005 . URL http:\/\/jiprof.sourceforge.net. A. Wilcox. JIP -- The Java Interactive Profiler, whitepaper. 2005. URL http:\/\/jiprof.sourceforge.net."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2005.53"},{"key":"e_1_2_1_35_1","volume-title":"Proc. of ICDM.","author":"Xu W.","year":"2004","unstructured":"W. Xu , Bod\u00edk, and D. Patterson . A Flexible Architecture for Statistical Learning and Data Mining from System Log Streams . In Proc. of ICDM. November 2004 . W. Xu, Bod\u00edk, and D. Patterson. A Flexible Architecture for Statistical Learning and Data Mining from System Log Streams. In Proc. of ICDM. November 2004."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/1453856.1453866","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:07:15Z","timestamp":1672225635000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/1453856.1453866"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,8]]},"references-count":35,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2008,8]]}},"alternative-id":["10.14778\/1453856.1453866"],"URL":"https:\/\/doi.org\/10.14778\/1453856.1453866","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2008,8]]}}}