{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,21]],"date-time":"2026-11-21T05:01:59Z","timestamp":1795237319938,"version":"4.10.3"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2017,8]]},"abstract":"<jats:p>\n                    Distributed stream processing systems need to support\n                    <jats:italic>stateful processing, recover quickly from failures<\/jats:italic>\n                    to resume such processing, and\n                    <jats:italic>reprocess<\/jats:italic>\n                    an entire data stream quickly. We present Apache Samza, a distributed system for stateful and fault-tolerant stream processing. Samza utilizes a partitioned local state along with a low-overhead background changelog mechanism, allowing it to scale to massive state sizes (hundreds of TB) per application. Recovery from failures is sped up by re-scheduling based on Host Affinity. In addition to processing infinite streams of events, Samza supports processing a finite dataset as a stream, from either a streaming source (e.g., Kafka), a database snapshot (e.g., Databus), or a file system (e.g. HDFS), without having to change the application code (unlike the popular Lambda-based architectures which necessitate maintenance of separate code bases for batch and stream path processing).\n                  <\/jats:p>\n                  <jats:p>Samza is currently in use at LinkedIn by hundreds of production applications with more than 10, 000 containers. Samza is an open-source Apache project adopted by many top-tier companies (e.g., LinkedIn, Uber, Netflix, TripAdvisor, etc.). Our experiments show that Samza: a) handles state efficiently, improving latency and throughput by more than 100X compared to using a remote storage; b) provides recovery time independent of state size; c) scales performance linearly with number of containers; and d) supports reprocessing of the data stream quickly and with minimal interference on real-time traffic.<\/jats:p>","DOI":"10.14778\/3137765.3137770","type":"journal-article","created":{"date-parts":[[2017,9,7]],"date-time":"2017-09-07T09:35:53Z","timestamp":1504776953000},"page":"1634-1645","source":"Crossref","is-referenced-by-count":243,"title":["Samza"],"prefix":"10.14778","volume":"10","author":[{"given":"Shadi A.","family":"Noghabi","sequence":"first","affiliation":[{"name":"University of Illinois at Urbana-Champaign"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kartik","family":"Paramasivam","sequence":"additional","affiliation":[{"name":"LinkedIn Corp"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yi","family":"Pan","sequence":"additional","affiliation":[{"name":"LinkedIn Corp"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Navina","family":"Ramesh","sequence":"additional","affiliation":[{"name":"LinkedIn Corp"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jon","family":"Bringhurst","sequence":"additional","affiliation":[{"name":"LinkedIn Corp"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Indranil","family":"Gupta","sequence":"additional","affiliation":[{"name":"University of Illinois at Urbana-Champaign"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Roy H.","family":"Campbell","sequence":"additional","affiliation":[{"name":"University of Illinois at Urbana-Champaign"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,8]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Databus. https:\/\/github.com\/linkedin\/databus.  Databus. https:\/\/github.com\/linkedin\/databus."},{"key":"e_1_2_1_2_1","unstructured":"MongoDB. https:\/\/www.mongodb.com.  MongoDB. https:\/\/www.mongodb.com."},{"key":"e_1_2_1_3_1","unstructured":"Powered by samza. https:\/\/cwiki.apache.org\/confluence\/display\/SAMZA\/Powered+By.  Powered by samza. https:\/\/cwiki.apache.org\/confluence\/display\/SAMZA\/Powered+By."},{"key":"e_1_2_1_4_1","unstructured":"RocksDB. http:\/\/rocksdb.org.  RocksDB. http:\/\/rocksdb.org."},{"key":"e_1_2_1_5_1","unstructured":"Trident. http:\/\/storm.apache.org\/Trident-tutorial.html.  Trident. http:\/\/storm.apache.org\/Trident-tutorial.html."},{"key":"e_1_2_1_6_1","first-page":"277","volume-title":"Proc. CIDR","author":"Abadi D. J.","year":"2005","unstructured":"D. J. Abadi , Y. Ahmad , M. Balazinska , U. Cetintemel , M. Cherniack , The design of the Borealis stream processing engine . In Proc. CIDR , pages 277 -- 289 , 2005 . D. J. Abadi, Y. Ahmad, M. Balazinska, U. Cetintemel, M. Cherniack, et al. The design of the Borealis stream processing engine. In Proc. CIDR, pages 277--289, 2005."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.14778\/2536222.2536229"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.14778\/2824032.2824076"},{"key":"e_1_2_1_9_1","unstructured":"Amazon. DynamoDB streams. http:\/\/docs.aws.amazon.com\/amazondynamodb\/latest\/developerguide\/Streams.html.  Amazon. DynamoDB streams. http:\/\/docs.aws.amazon.com\/amazondynamodb\/latest\/developerguide\/Streams.html."},{"key":"e_1_2_1_10_1","unstructured":"Amazon. Kinesis. https:\/\/aws.amazon.com\/kinesis\/.  Amazon. Kinesis. https:\/\/aws.amazon.com\/kinesis\/."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/1289612.1289615"},{"key":"e_1_2_1_12_1","unstructured":"Apache. Beam. http:\/\/beam.incubator.apache.org.  Apache. Beam. http:\/\/beam.incubator.apache.org."},{"key":"e_1_2_1_13_1","unstructured":"Apache. Flink. https:\/\/flink.apache.org.  Apache. Flink. https:\/\/flink.apache.org."},{"key":"e_1_2_1_14_1","unstructured":"Apache. Hadoop. http:\/\/hadoop.apache.org\/.  Apache. Hadoop. http:\/\/hadoop.apache.org\/."},{"key":"e_1_2_1_15_1","unstructured":"Apache. Kafaka - powered by. https:\/\/cwiki.apache.org\/confluence\/display\/KAFKA\/Powered+By.  Apache. Kafaka - powered by. https:\/\/cwiki.apache.org\/confluence\/display\/KAFKA\/Powered+By."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2012.147"},{"key":"e_1_2_1_17_1","unstructured":"A. AWS. Lambda. https:\/\/aws.amazon.com\/lambda\/.  A. AWS. Lambda. https:\/\/aws.amazon.com\/lambda\/."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2465282"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/214451.214456"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/1365815.1365816"},{"key":"e_1_2_1_21_1","first-page":"20","volume-title":"Proc. NSDI","author":"Condie T.","year":"2010","unstructured":"T. Condie , N. Conway , P. Alvaro , J. M. Hellerstein , Mapreduce online . In Proc. NSDI , pages 20 -- 25 , 2010 . T. Condie, N. Conway, P. Alvaro, J. M. Hellerstein, et al. Mapreduce online. In Proc. NSDI, pages 20--25, 2010."},{"key":"e_1_2_1_23_1","unstructured":"Couchbase. Couchbase. http:\/\/www.couchbase.com.  Couchbase. Couchbase. http:\/\/www.couchbase.com."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/1327452.1327492"},{"key":"e_1_2_1_25_1","unstructured":"L. Engineering. Benchmarking apache kafka: 2 million writes per second (on three cheap machines). https:\/\/engineering.linkedin.com\/kafka.  L. Engineering. Benchmarking apache kafka: 2 million writes per second (on three cheap machines). https:\/\/engineering.linkedin.com\/kafka."},{"key":"e_1_2_1_26_1","first-page":"8","volume-title":"Proc. CIDR","author":"Fernandez R.","unstructured":"R. Fernandez , P. Pietzuch , : Unifying nearline and offline big data integration . In Proc. CIDR , page 8 . R. Fernandez, P. Pietzuch, et al. Liquid: Unifying nearline and offline big data integration. In Proc. CIDR, page 8."},{"key":"e_1_2_1_27_1","first-page":"49","volume-title":"Proc. ATC","author":"Fernandez R. C.","year":"2014","unstructured":"R. C. Fernandez , M. Migliavacca , E. Kalyvianaki , and P. Pietzuch . Making state explicit for imperative big data processing . In Proc. ATC , pages 49 -- 60 . USENIX, 2014 . R. C. Fernandez, M. Migliavacca, E. Kalyvianaki, and P. Pietzuch. Making state explicit for imperative big data processing. In Proc. ATC, pages 49--60. USENIX, 2014."},{"key":"e_1_2_1_28_1","unstructured":"T. A. S. Foundation. Apache HBase. http:\/\/hbase.apache.org\/.  T. A. S. Foundation. Apache HBase. http:\/\/hbase.apache.org\/."},{"key":"e_1_2_1_29_1","first-page":"23","volume-title":"Proc. Middleware","author":"Gu Y.","year":"2009","unstructured":"Y. Gu , Z. Zhang , F. Ye , H. Yang , M. Kim , H. Lei , and Z. Liu . An empirical study of high availability in stream processing systems . In Proc. Middleware , page 23 , 2009 . Y. Gu, Z. Zhang, F. Ye, H. Yang, M. Kim, H. Lei, and Z. Liu. An empirical study of high availability in stream processing systems. In Proc. Middleware, page 23, 2009."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPDS.2012.24"},{"key":"e_1_2_1_31_1","volume-title":"ZeroMQ: Messaging for Many Applications","author":"Hintjens P.","year":"2013","unstructured":"P. Hintjens . ZeroMQ: Messaging for Many Applications . O'Reilly Media, Inc. , 2013 . P. Hintjens. ZeroMQ: Messaging for Many Applications. O'Reilly Media, Inc., 2013."},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2005.72"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.14778\/3007263.3007272"},{"key":"e_1_2_1_34_1","first-page":"1","volume-title":"Proc. NetDB","author":"Kreps J.","year":"2011","unstructured":"J. Kreps , N. Narkhede , : A distributed messaging system for log processing . In Proc. NetDB , pages 1 -- 7 , 2011 . J. Kreps, N. Narkhede, et al. Kafka: A distributed messaging system for log processing. In Proc. NetDB, pages 1--7, 2011."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/2723372.2742788"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/1773912.1773922"},{"key":"e_1_2_1_37_1","first-page":"439","volume-title":"Proc. NSDI","author":"Lin W.","year":"2016","unstructured":"W. Lin , Z. Qian , J. Xu , S. Yang , J. Zhou , and L. Zhou . Streamscope: continuous reliable distributed processing of big data streams . In Proc. NSDI , pages 439 -- 454 , 2016 . W. Lin, Z. Qian, J. Xu, S. Yang, J. Zhou, and L. Zhou. Streamscope: continuous reliable distributed processing of big data streams. In Proc. NSDI, pages 439--454, 2016."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1142473.1142513"},{"key":"e_1_2_1_39_1","volume-title":"Big Data: Principles and Best Practices of Scalable Realtime Data Systems","author":"Marz N.","year":"2015","unstructured":"N. Marz and J. Warren . Big Data: Principles and Best Practices of Scalable Realtime Data Systems . Manning Publications Co. , 1 st edition, 2015 . N. Marz and J. Warren. Big Data: Principles and Best Practices of Scalable Realtime Data Systems. Manning Publications Co., 1st edition, 2015.","edition":"1"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.14778\/2831360.2831367"},{"key":"e_1_2_1_41_1","unstructured":"Microsoft. Azure event hub. https:\/\/azure.microsoft.com\/en-us\/services\/event-hubs\/.  Microsoft. Azure event hub. https:\/\/azure.microsoft.com\/en-us\/services\/event-hubs\/."},{"key":"e_1_2_1_42_1","unstructured":"MySQL. Mysql. http:\/\/www.mysql.com.  MySQL. Mysql. http:\/\/www.mysql.com."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDMW.2010.172"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/2882903.2903738"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/1376616.1376726"},{"key":"e_1_2_1_46_1","unstructured":"Oracle. Package java.util.stream. https:\/\/docs.oracle.com\/javase\/8\/docs\/api\/java\/util\/stream\/package-summary.html.  Oracle. Package java.util.stream. https:\/\/docs.oracle.com\/javase\/8\/docs\/api\/java\/util\/stream\/package-summary.html."},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/2806777.2806934"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/2463676.2465298"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.14778\/2367502.2367512"},{"key":"e_1_2_1_50_1","unstructured":"S. Sanfilippo. Redis. http:\/\/redis.io.  S. Sanfilippo. Redis. http:\/\/redis.io."},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1109\/DSN.2011.5958214"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/1107499.1107504"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687609"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2595641"},{"key":"e_1_2_1_55_1","first-page":"5","volume-title":"Proc. SOSP","author":"Vavilapalli V. K.","unstructured":"V. K. Vavilapalli , A. C. Murthy , C. Douglas , S. Agarwal , M. Konar , Apache hadoop YARN: Yet Another Resource Negotiator . In Proc. SOSP , page 5 . ACM, 2013. V. K. Vavilapalli, A. C. Murthy, C. Douglas, S. Agarwal, M. Konar, et al. Apache hadoop YARN: Yet Another Resource Negotiator. In Proc. SOSP, page 5. ACM, 2013."},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/2002259.2002304"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1109\/IC2E.2016.38"},{"key":"e_1_2_1_58_1","first-page":"95","volume-title":"Proc. HotCloud","author":"Zaharia M.","year":"2010","unstructured":"M. Zaharia , M. Chowdhury , M. J. Franklin , S. Shenker , and I. Stoica . Spark: cluster computing with working sets . In Proc. HotCloud , page 95 , 2010 . M. Zaharia, M. Chowdhury, M. J. Franklin, S. Shenker, and I. Stoica. Spark: cluster computing with working sets. In Proc. HotCloud, page 95, 2010."},{"key":"e_1_2_1_59_1","first-page":"10","volume-title":"Proc. HotCloud","author":"Zaharia M.","year":"2012","unstructured":"M. Zaharia , T. Das , H. Li , Discretized streams: an efficient and fault-tolerant model for stream processing on large clusters . In Proc. HotCloud , pages 10 -- 10 , 2012 . M. Zaharia, T. Das, H. Li, et al. Discretized streams: an efficient and fault-tolerant model for stream processing on large clusters. In Proc. HotCloud, pages 10--10, 2012."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3137765.3137770","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T05:13:53Z","timestamp":1672204433000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3137765.3137770"}},"subtitle":["stateful scalable stream processing at LinkedIn"],"short-title":[],"issued":{"date-parts":[[2017,8]]},"references-count":58,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2017,8]]}},"alternative-id":["10.14778\/3137765.3137770"],"URL":"https:\/\/doi.org\/10.14778\/3137765.3137770","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2017,8]]}}}