Loading…

A Case for Stale Synchronous Distributed Model for Declarative Recursive Computation

A large class of traditional graph and data mining algorithms can be concisely expressed in Datalog, and other Logic-based languages, once aggregates are allowed in recursion. In fact, for most BigData algorithms, the difficult semantic issues raised by the use of non-monotonic aggregates in recursi...

Full description

Saved in:
Bibliographic Details
Published in:Theory and practice of logic programming 2019-09, Vol.19 (5-6), p.1056-1072
Main Authors: DAS, ARIYAM, ZANIOLO, CARLO
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Items that cite this one
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by cdi_FETCH-LOGICAL-c317t-676796f0b1b9e2f8e576ed7c6166be47fa7a22bec9852f9c76ad279d9345da973
cites cdi_FETCH-LOGICAL-c317t-676796f0b1b9e2f8e576ed7c6166be47fa7a22bec9852f9c76ad279d9345da973
container_end_page 1072
container_issue 5-6
container_start_page 1056
container_title Theory and practice of logic programming
container_volume 19
creator DAS, ARIYAM
ZANIOLO, CARLO
description A large class of traditional graph and data mining algorithms can be concisely expressed in Datalog, and other Logic-based languages, once aggregates are allowed in recursion. In fact, for most BigData algorithms, the difficult semantic issues raised by the use of non-monotonic aggregates in recursion are solved by Pre-Mappability ( ${\cal P}$ reM), a property that assures that for a program with aggregates in recursion there is an equivalent aggregate-stratified program. In this paper we show that, by bringing together the formal abstract semantics of stratified programs with the efficient operational one of unstratified programs, $\[{\cal P}\]$ reM can also facilitate and improve their parallel execution. We prove that $\[{\cal P}\]$ reM-optimized lock-free and decomposable parallel semi-naive evaluations produce the same results as the single executor programs. Therefore, $\[{\cal P}\]$ reM can be assimilated into the data-parallel computation plans of different distributed systems, irrespective of whether these follow bulk synchronous parallel (BSP) or asynchronous computing models. In addition, we show that non-linear recursive queries can be evaluated using a hybrid stale synchronous parallel (SSP) model on distributed environments. After providing a formal correctness proof for the recursive query evaluation with $\[{\cal P}\]$ reM under this relaxed synchronization model, we present experimental evidence of its benefits.
doi_str_mv 10.1017/S1471068419000358
format article
fullrecord <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_journals_2300621634</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><cupid>10_1017_S1471068419000358</cupid><sourcerecordid>2300621634</sourcerecordid><originalsourceid>FETCH-LOGICAL-c317t-676796f0b1b9e2f8e576ed7c6166be47fa7a22bec9852f9c76ad279d9345da973</originalsourceid><addsrcrecordid>eNp1UMtOwzAQtBBIlMIHcIvEOeBHYsfHKuUlFSGRco4cew2p0rjYDlL_nvQhcUCcdjQ7M6sdhK4JviWYiLuKZIJgXmREYoxZXpygyUjlKcMFOd1jku725-gihBXGhDOaTdBylpQqQGKdT6qoOkiqba8_vevdEJJ5G6JvmyGCSV6cgW6vm4PulFex_YbkDfTgww6Vbr0Z4si6_hKdWdUFuDrOKXp_uF-WT-ni9fG5nC1SzYiIKRdcSG5xQxoJ1BaQCw5GaE44byATVglFaQNaFjm1UguuDBXSSJblRknBpujmkLvx7muAEOuVG3w_nqwpw5jT8clsVJGDSnsXggdbb3y7Vn5bE1zvyqv_lDd62NGj1o1vzQf8Rv_v-gH3NXC7</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2300621634</pqid></control><display><type>article</type><title>A Case for Stale Synchronous Distributed Model for Declarative Recursive Computation</title><source>Cambridge University Press</source><creator>DAS, ARIYAM ; ZANIOLO, CARLO</creator><creatorcontrib>DAS, ARIYAM ; ZANIOLO, CARLO</creatorcontrib><description>A large class of traditional graph and data mining algorithms can be concisely expressed in Datalog, and other Logic-based languages, once aggregates are allowed in recursion. In fact, for most BigData algorithms, the difficult semantic issues raised by the use of non-monotonic aggregates in recursion are solved by Pre-Mappability ( ${\cal P}$ reM), a property that assures that for a program with aggregates in recursion there is an equivalent aggregate-stratified program. In this paper we show that, by bringing together the formal abstract semantics of stratified programs with the efficient operational one of unstratified programs, $\[{\cal P}\]$ reM can also facilitate and improve their parallel execution. We prove that $\[{\cal P}\]$ reM-optimized lock-free and decomposable parallel semi-naive evaluations produce the same results as the single executor programs. Therefore, $\[{\cal P}\]$ reM can be assimilated into the data-parallel computation plans of different distributed systems, irrespective of whether these follow bulk synchronous parallel (BSP) or asynchronous computing models. In addition, we show that non-linear recursive queries can be evaluated using a hybrid stale synchronous parallel (SSP) model on distributed environments. After providing a formal correctness proof for the recursive query evaluation with $\[{\cal P}\]$ reM under this relaxed synchronization model, we present experimental evidence of its benefits.</description><identifier>ISSN: 1471-0684</identifier><identifier>EISSN: 1475-3081</identifier><identifier>DOI: 10.1017/S1471068419000358</identifier><language>eng</language><publisher>Cambridge, UK: Cambridge University Press</publisher><subject>35th International Conference on Logic Programming ; Aggregates ; Algorithms ; Computation ; Computer networks ; Data mining ; Original Article ; Parallel processing ; Semantics ; Synchronism</subject><ispartof>Theory and practice of logic programming, 2019-09, Vol.19 (5-6), p.1056-1072</ispartof><rights>Cambridge University Press 2019</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c317t-676796f0b1b9e2f8e576ed7c6166be47fa7a22bec9852f9c76ad279d9345da973</citedby><cites>FETCH-LOGICAL-c317t-676796f0b1b9e2f8e576ed7c6166be47fa7a22bec9852f9c76ad279d9345da973</cites><orcidid>0000-0003-0950-606X</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://www.cambridge.org/core/product/identifier/S1471068419000358/type/journal_article$$EHTML$$P50$$Gcambridge$$H</linktohtml><link.rule.ids>314,776,780,27901,27902,72703</link.rule.ids></links><search><creatorcontrib>DAS, ARIYAM</creatorcontrib><creatorcontrib>ZANIOLO, CARLO</creatorcontrib><title>A Case for Stale Synchronous Distributed Model for Declarative Recursive Computation</title><title>Theory and practice of logic programming</title><addtitle>Theory and Practice of Logic Programming</addtitle><description>A large class of traditional graph and data mining algorithms can be concisely expressed in Datalog, and other Logic-based languages, once aggregates are allowed in recursion. In fact, for most BigData algorithms, the difficult semantic issues raised by the use of non-monotonic aggregates in recursion are solved by Pre-Mappability ( ${\cal P}$ reM), a property that assures that for a program with aggregates in recursion there is an equivalent aggregate-stratified program. In this paper we show that, by bringing together the formal abstract semantics of stratified programs with the efficient operational one of unstratified programs, $\[{\cal P}\]$ reM can also facilitate and improve their parallel execution. We prove that $\[{\cal P}\]$ reM-optimized lock-free and decomposable parallel semi-naive evaluations produce the same results as the single executor programs. Therefore, $\[{\cal P}\]$ reM can be assimilated into the data-parallel computation plans of different distributed systems, irrespective of whether these follow bulk synchronous parallel (BSP) or asynchronous computing models. In addition, we show that non-linear recursive queries can be evaluated using a hybrid stale synchronous parallel (SSP) model on distributed environments. After providing a formal correctness proof for the recursive query evaluation with $\[{\cal P}\]$ reM under this relaxed synchronization model, we present experimental evidence of its benefits.</description><subject>35th International Conference on Logic Programming</subject><subject>Aggregates</subject><subject>Algorithms</subject><subject>Computation</subject><subject>Computer networks</subject><subject>Data mining</subject><subject>Original Article</subject><subject>Parallel processing</subject><subject>Semantics</subject><subject>Synchronism</subject><issn>1471-0684</issn><issn>1475-3081</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2019</creationdate><recordtype>article</recordtype><recordid>eNp1UMtOwzAQtBBIlMIHcIvEOeBHYsfHKuUlFSGRco4cew2p0rjYDlL_nvQhcUCcdjQ7M6sdhK4JviWYiLuKZIJgXmREYoxZXpygyUjlKcMFOd1jku725-gihBXGhDOaTdBylpQqQGKdT6qoOkiqba8_vevdEJJ5G6JvmyGCSV6cgW6vm4PulFex_YbkDfTgww6Vbr0Z4si6_hKdWdUFuDrOKXp_uF-WT-ni9fG5nC1SzYiIKRdcSG5xQxoJ1BaQCw5GaE44byATVglFaQNaFjm1UguuDBXSSJblRknBpujmkLvx7muAEOuVG3w_nqwpw5jT8clsVJGDSnsXggdbb3y7Vn5bE1zvyqv_lDd62NGj1o1vzQf8Rv_v-gH3NXC7</recordid><startdate>201909</startdate><enddate>201909</enddate><creator>DAS, ARIYAM</creator><creator>ZANIOLO, CARLO</creator><general>Cambridge University Press</general><scope>AAYXX</scope><scope>CITATION</scope><scope>3V.</scope><scope>7SC</scope><scope>7XB</scope><scope>8AL</scope><scope>8FD</scope><scope>8FE</scope><scope>8FG</scope><scope>8FK</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>ARAPS</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>GNUQQ</scope><scope>HCIFZ</scope><scope>JQ2</scope><scope>K7-</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope><scope>M0N</scope><scope>P5Z</scope><scope>P62</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>Q9U</scope><orcidid>https://orcid.org/0000-0003-0950-606X</orcidid></search><sort><creationdate>201909</creationdate><title>A Case for Stale Synchronous Distributed Model for Declarative Recursive Computation</title><author>DAS, ARIYAM ; ZANIOLO, CARLO</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c317t-676796f0b1b9e2f8e576ed7c6166be47fa7a22bec9852f9c76ad279d9345da973</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2019</creationdate><topic>35th International Conference on Logic Programming</topic><topic>Aggregates</topic><topic>Algorithms</topic><topic>Computation</topic><topic>Computer networks</topic><topic>Data mining</topic><topic>Original Article</topic><topic>Parallel processing</topic><topic>Semantics</topic><topic>Synchronism</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>DAS, ARIYAM</creatorcontrib><creatorcontrib>ZANIOLO, CARLO</creatorcontrib><collection>CrossRef</collection><collection>ProQuest Central (Corporate)</collection><collection>Computer and Information Systems Abstracts</collection><collection>ProQuest Central (purchase pre-March 2016)</collection><collection>Computing Database (Alumni Edition)</collection><collection>Technology Research Database</collection><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>ProQuest Central (Alumni) (purchase pre-March 2016)</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central UK/Ireland</collection><collection>Advanced Technologies &amp; Aerospace Collection</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central</collection><collection>ProQuest Central Student</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Computer Science Collection</collection><collection>Computer Science Database</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts – Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><collection>Computing Database</collection><collection>ProQuest advanced technologies &amp; aerospace journals</collection><collection>ProQuest Advanced Technologies &amp; Aerospace Collection</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>ProQuest Central Basic</collection><jtitle>Theory and practice of logic programming</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>DAS, ARIYAM</au><au>ZANIOLO, CARLO</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>A Case for Stale Synchronous Distributed Model for Declarative Recursive Computation</atitle><jtitle>Theory and practice of logic programming</jtitle><addtitle>Theory and Practice of Logic Programming</addtitle><date>2019-09</date><risdate>2019</risdate><volume>19</volume><issue>5-6</issue><spage>1056</spage><epage>1072</epage><pages>1056-1072</pages><issn>1471-0684</issn><eissn>1475-3081</eissn><abstract>A large class of traditional graph and data mining algorithms can be concisely expressed in Datalog, and other Logic-based languages, once aggregates are allowed in recursion. In fact, for most BigData algorithms, the difficult semantic issues raised by the use of non-monotonic aggregates in recursion are solved by Pre-Mappability ( ${\cal P}$ reM), a property that assures that for a program with aggregates in recursion there is an equivalent aggregate-stratified program. In this paper we show that, by bringing together the formal abstract semantics of stratified programs with the efficient operational one of unstratified programs, $\[{\cal P}\]$ reM can also facilitate and improve their parallel execution. We prove that $\[{\cal P}\]$ reM-optimized lock-free and decomposable parallel semi-naive evaluations produce the same results as the single executor programs. Therefore, $\[{\cal P}\]$ reM can be assimilated into the data-parallel computation plans of different distributed systems, irrespective of whether these follow bulk synchronous parallel (BSP) or asynchronous computing models. In addition, we show that non-linear recursive queries can be evaluated using a hybrid stale synchronous parallel (SSP) model on distributed environments. After providing a formal correctness proof for the recursive query evaluation with $\[{\cal P}\]$ reM under this relaxed synchronization model, we present experimental evidence of its benefits.</abstract><cop>Cambridge, UK</cop><pub>Cambridge University Press</pub><doi>10.1017/S1471068419000358</doi><tpages>17</tpages><orcidid>https://orcid.org/0000-0003-0950-606X</orcidid></addata></record>
fulltext fulltext
identifier ISSN: 1471-0684
ispartof Theory and practice of logic programming, 2019-09, Vol.19 (5-6), p.1056-1072
issn 1471-0684
1475-3081
language eng
recordid cdi_proquest_journals_2300621634
source Cambridge University Press
subjects 35th International Conference on Logic Programming
Aggregates
Algorithms
Computation
Computer networks
Data mining
Original Article
Parallel processing
Semantics
Synchronism
title A Case for Stale Synchronous Distributed Model for Declarative Recursive Computation
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-02-05T23%3A45%3A19IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=A%20Case%20for%20Stale%20Synchronous%20Distributed%20Model%20for%20Declarative%20Recursive%20Computation&rft.jtitle=Theory%20and%20practice%20of%20logic%20programming&rft.au=DAS,%20ARIYAM&rft.date=2019-09&rft.volume=19&rft.issue=5-6&rft.spage=1056&rft.epage=1072&rft.pages=1056-1072&rft.issn=1471-0684&rft.eissn=1475-3081&rft_id=info:doi/10.1017/S1471068419000358&rft_dat=%3Cproquest_cross%3E2300621634%3C/proquest_cross%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-c317t-676796f0b1b9e2f8e576ed7c6166be47fa7a22bec9852f9c76ad279d9345da973%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2300621634&rft_id=info:pmid/&rft_cupid=10_1017_S1471068419000358&rfr_iscdi=true