Hiroki Nakayama, Dilawaer Duolikun, T. Enokido, M. Takizawa
{"title":"对等发布/订阅系统中对等体的同步","authors":"Hiroki Nakayama, Dilawaer Duolikun, T. Enokido, M. Takizawa","doi":"10.1109/IMIS.2015.39","DOIUrl":null,"url":null,"abstract":"In distributed systems, a group of multiple processes are cooperating with one another by exchanging messages in networks. In this paper, we consider a peer-to-peer (P2P) model of a topic-based publish/subscribe (P2PPS) system composed of peer processes (peers). Each peer pi can both subscribe a subscription p<sub>i</sub>. S and publish an event message e with a publication e.P, which are specified in terms topics, i.e. Keywords. An event message e is notified to a target peer p<sub>i</sub> whose subscription p<sub>i</sub>.S includes a common keyword with the publication e.P. Each event message e carries a vector e.V = (V<sub>1</sub>, , V<sub>m</sub>) of keywords k<sub>1</sub>, , k<sub>m</sub>. An event message e<sub>1</sub> causally precedes an event message e<sub>2</sub> with respect to a subscription S<sub>i</sub> iff e<sub>1</sub> causally precedes e<sub>2</sub> with respect to the send-receive relation and e<sub>1</sub>.V<sub>h</sub> <; e<sub>2</sub>.V<sub>h</sub> for every keyword k<sub>h</sub> in the publications e<sub>1</sub>.P and e<sub>2</sub>.P and the subscription p<sub>i</sub>.S. If a pair of event messages e<sub>1</sub> and e<sub>2</sub> are ordered so that e<sub>1</sub> precedes e<sub>2</sub> even if e<sub>1</sub> does not causally precede e<sub>2</sub>, the event messages e<sub>1</sub> and e<sub>2</sub> are unnecessarily ordered. In this paper, every pair of messages are causally delivered to every common target peer by using the linear clock and keyword vector to reduce pairs of messages unnecessarily ordered. We evaluate the keyword vectors in terms of number of messages unnecessarily ordered.","PeriodicalId":144834,"journal":{"name":"2015 9th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing","volume":"110 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"7","resultStr":"{\"title\":\"Synchronization of Peers in Peer-to-Peer Publish/Subscribe Systems\",\"authors\":\"Hiroki Nakayama, Dilawaer Duolikun, T. Enokido, M. Takizawa\",\"doi\":\"10.1109/IMIS.2015.39\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In distributed systems, a group of multiple processes are cooperating with one another by exchanging messages in networks. In this paper, we consider a peer-to-peer (P2P) model of a topic-based publish/subscribe (P2PPS) system composed of peer processes (peers). Each peer pi can both subscribe a subscription p<sub>i</sub>. S and publish an event message e with a publication e.P, which are specified in terms topics, i.e. Keywords. An event message e is notified to a target peer p<sub>i</sub> whose subscription p<sub>i</sub>.S includes a common keyword with the publication e.P. Each event message e carries a vector e.V = (V<sub>1</sub>, , V<sub>m</sub>) of keywords k<sub>1</sub>, , k<sub>m</sub>. An event message e<sub>1</sub> causally precedes an event message e<sub>2</sub> with respect to a subscription S<sub>i</sub> iff e<sub>1</sub> causally precedes e<sub>2</sub> with respect to the send-receive relation and e<sub>1</sub>.V<sub>h</sub> <; e<sub>2</sub>.V<sub>h</sub> for every keyword k<sub>h</sub> in the publications e<sub>1</sub>.P and e<sub>2</sub>.P and the subscription p<sub>i</sub>.S. If a pair of event messages e<sub>1</sub> and e<sub>2</sub> are ordered so that e<sub>1</sub> precedes e<sub>2</sub> even if e<sub>1</sub> does not causally precede e<sub>2</sub>, the event messages e<sub>1</sub> and e<sub>2</sub> are unnecessarily ordered. In this paper, every pair of messages are causally delivered to every common target peer by using the linear clock and keyword vector to reduce pairs of messages unnecessarily ordered. We evaluate the keyword vectors in terms of number of messages unnecessarily ordered.\",\"PeriodicalId\":144834,\"journal\":{\"name\":\"2015 9th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing\",\"volume\":\"110 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-07-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"7\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 9th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IMIS.2015.39\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 9th International Conference on Innovative Mobile and Internet Services in Ubiquitous Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IMIS.2015.39","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Synchronization of Peers in Peer-to-Peer Publish/Subscribe Systems
In distributed systems, a group of multiple processes are cooperating with one another by exchanging messages in networks. In this paper, we consider a peer-to-peer (P2P) model of a topic-based publish/subscribe (P2PPS) system composed of peer processes (peers). Each peer pi can both subscribe a subscription pi. S and publish an event message e with a publication e.P, which are specified in terms topics, i.e. Keywords. An event message e is notified to a target peer pi whose subscription pi.S includes a common keyword with the publication e.P. Each event message e carries a vector e.V = (V1, , Vm) of keywords k1, , km. An event message e1 causally precedes an event message e2 with respect to a subscription Si iff e1 causally precedes e2 with respect to the send-receive relation and e1.Vh <; e2.Vh for every keyword kh in the publications e1.P and e2.P and the subscription pi.S. If a pair of event messages e1 and e2 are ordered so that e1 precedes e2 even if e1 does not causally precede e2, the event messages e1 and e2 are unnecessarily ordered. In this paper, every pair of messages are causally delivered to every common target peer by using the linear clock and keyword vector to reduce pairs of messages unnecessarily ordered. We evaluate the keyword vectors in terms of number of messages unnecessarily ordered.