socially-aware pub-sub system for human networks yaxiong zhao jie wu department of computer and...
TRANSCRIPT
![Page 1: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/1.jpg)
Socially-aware pub-sub system for human networks
Yaxiong ZhaoJie Wu
Department of Computer and Information SciencesTemple UniversityPhiladelphia 19122
![Page 2: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/2.jpg)
Outline
• Background and motivation
• Pub-sub system design– Subscription representation and processing– Pub-sub routing
• Experiment results
• Conclusion
![Page 3: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/3.jpg)
Outline
• Background and motivation
• Pub-sub system design– Subscription representation and processing– Pub-sub routing
• Experiment results
• Conclusion
![Page 4: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/4.jpg)
Background: Why human networks?
• Mobile wireless networks have been a dream– A lot of research
• Ad hoc networks• Central of the past 20 years' research
– Hardly hear any successful stories
• People used to believe that mobile wireless networks should:– Support wireless internet– Be connected at all times– These are difficult and even impossible to realize
![Page 5: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/5.jpg)
Background: Wireless networks that we did not build
• Twitter: send messages to your followers and receive from people you are following– Very popular on mobile devices
• Delay Tolerant networks– Intermittently connected mobile devices/hosts
• How about combine them together?– A network formed by human carried wireless devices– Running social network applications– Do not require Internet-like infrastructure
![Page 6: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/6.jpg)
Pub-sub for human networks
• Pub-sub is a powerful paradigm– Publishers generate messages– Clients consume messages– Brokers forward messages according to their contents
• The benefits of Pub-sub– Anonymity– Loose coupling– Flexibility
• However, it requires complex processing on brokers and does not consider mobility– This paper tackles these problems
![Page 7: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/7.jpg)
Outline
• Background and motivation
• Pub-sub system design– Subscription representation and processing– Pub-sub routing
• Experiment results
• Conclusion
![Page 8: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/8.jpg)
Overview
• Two components– Content representation
• Subscriptions and events• We use old classic methods in the literature
– Pub-sub routing• Social election• Find socially-active users to forward messages
![Page 9: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/9.jpg)
Outline
• Background and motivation
• Pub-sub system design– Subscription representation and processing– Pub-sub routing
• Experiment results
• Conclusion
![Page 10: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/10.jpg)
Traditional content representation
• Subscriptions are represented as conjunctions of multiple attribute constraints– Each attribute has a constraint– Age = [10, 20], Height = [120, 190]– A subscription corresponds to a multi-dimensional
region– An event is a multi-dimensional point
• Excellent expressiveness• High processing and storage costs
– Matching in multi-dimensional space is NP-hard in worst-case
![Page 11: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/11.jpg)
Outline
• Background and motivation
• Pub-sub system design– Subscription representation and processing– Pub-sub routing
• Experiment results
• Conclusion
![Page 12: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/12.jpg)
Pub-sub routing
• Brokers are responsible for forwarding messages
• Who should be brokers?– This is not a problem for traditional pub-sub
systems– However, in Human networks, it is difficult to
find such users
![Page 13: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/13.jpg)
Does DTN routing work?
• The answer is, NO– It breaks the anonymity of pub-sub– Requires a lot of pre-processing
• Impractical in practice• The obtained results do not hold for newly aquirred
users in the network• It is difficult to obtain such data in the first place
![Page 14: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/14.jpg)
Social election
• Human networks are a social network– There will be active users moving around– How to find such users?– Election!
• Each user should be in contact with a certain number of brokers– An interval [lower_bound, upper_bound]– If a user meets brokers less than or lower_bound
• I may stay too far from the crowds
– If the number is larger than upper_bound• I do not need so many brokers
![Page 15: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/15.jpg)
Social election cont'd
• Eventually, the most active users will become brokers– Since they move around in a larger area– They are more likely to become brokers
A B
A is more likely to be elected as broker than B.
![Page 16: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/16.jpg)
Social election cont'd
• A heuristic based on popularity– The popularity of a user is measured as the
number of different users it met in a time window [now – T, now]
– This time window is the same as the one used in the election
– The user should always select those of a higher popularity to be brokers
![Page 17: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/17.jpg)
Pub-sub forwarding based on utility
• A message's utility is defined as the division of the message's matching score and its age– An old message has less utility
• The messages in a brokers buffer are ranked according to their utilities
![Page 18: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/18.jpg)
Pub-sub forwarding cont'd
• Forwarding happens only between brokers
• Always forward highest-ranked messages
• Buffer management– When the buffer is over-flowed– The lowest ranked messages will be purged
from the buffer
![Page 19: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/19.jpg)
Delegation forwarding
• A utility threshold for each message
• Forward it only when the next-hop has a better utility than its own threshold– The threshold raises after a successful
forwarding– Reduce copy numbers
![Page 20: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/20.jpg)
Outline
• Background and motivation
• Pub-sub system design– Subscription representation and processing– Pub-sub routing
• Experiment results
• Conclusion
![Page 21: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/21.jpg)
Experiment setting
• Two mobility models– RWP and SLAW (mimic human mobility)
• Written in C++• 100 users in a 1000*1000m2 region• Communication range 50m• Compare with Random selection of brokers
– A fraction of users are selected as brokers– The ratio is made to be the same as that obtained in
our system
![Page 22: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/22.jpg)
Delivery ratio RWP and delegation forwarding
![Page 23: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/23.jpg)
Delivery ratio SLAW and delegation forwarding
![Page 24: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/24.jpg)
Changing of brokers’ numbers with moving speed (RWP)
![Page 25: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/25.jpg)
Outline
• Background and motivation
• Pub-sub system design– Subscription representation and processing– Pub-sub routing
• Experiment results
• Conclusion
![Page 26: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/26.jpg)
Conclusion
• Flooding in the entire network is too resource consuming
• Finding a small set of brokers is sufficient for efficient message delivery
![Page 27: Socially-aware pub-sub system for human networks Yaxiong Zhao Jie Wu Department of Computer and Information Sciences Temple University Philadelphia 19122](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649ebc5503460f94bc5112/html5/thumbnails/27.jpg)
Questions?
• Thanks for listening!