{"title":"使用P4实现网络层基于内容的发布/订阅","authors":"Christian Wernecke, Helge Parzyjegla, Gero Mühl","doi":"10.1109/NFV-SDN50289.2020.9289860","DOIUrl":null,"url":null,"abstract":"In content-based publish/subscribe systems, publishers produce notifications and subscribers register subscriptions to receive certain notifications based on their content. It is the task of the middleware to deliver the published notifications to subscribers having a matching subscription. Content-based publish/subscribe is challenging to implement efficiently, because the resulting delivery tree can be different for each notification, set of active subscriptions, and location of the subscribers. Therefore, content-based routing of notification has often been implemented in the application layer resulting in high notification delays and a waste of network bandwidth. In this work, we report on the research and actual development of a novel middleware, which uses the P4 SDN programming language to perform the content-based forwarding of notifications solely in the network layer. We present a hybrid approach that combines (i) encoding of routing information into the notification to be distributed and (ii) installing forwarding rules into the switches. In particular, we combine different types of routing information that either represent individual network links or virtual links referencing pre-installed distribution trees. We derive the latter from topological information about the network and from publish/subscribe relationships as well as forwarding statistics.","PeriodicalId":283280,"journal":{"name":"2020 IEEE Conference on Network Function Virtualization and Software Defined Networks (NFV-SDN)","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Implementing Content-based Publish/Subscribe on the Network Layer with P4\",\"authors\":\"Christian Wernecke, Helge Parzyjegla, Gero Mühl\",\"doi\":\"10.1109/NFV-SDN50289.2020.9289860\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In content-based publish/subscribe systems, publishers produce notifications and subscribers register subscriptions to receive certain notifications based on their content. It is the task of the middleware to deliver the published notifications to subscribers having a matching subscription. Content-based publish/subscribe is challenging to implement efficiently, because the resulting delivery tree can be different for each notification, set of active subscriptions, and location of the subscribers. Therefore, content-based routing of notification has often been implemented in the application layer resulting in high notification delays and a waste of network bandwidth. In this work, we report on the research and actual development of a novel middleware, which uses the P4 SDN programming language to perform the content-based forwarding of notifications solely in the network layer. We present a hybrid approach that combines (i) encoding of routing information into the notification to be distributed and (ii) installing forwarding rules into the switches. In particular, we combine different types of routing information that either represent individual network links or virtual links referencing pre-installed distribution trees. We derive the latter from topological information about the network and from publish/subscribe relationships as well as forwarding statistics.\",\"PeriodicalId\":283280,\"journal\":{\"name\":\"2020 IEEE Conference on Network Function Virtualization and Software Defined Networks (NFV-SDN)\",\"volume\":\"15 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-11-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 IEEE Conference on Network Function Virtualization and Software Defined Networks (NFV-SDN)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/NFV-SDN50289.2020.9289860\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE Conference on Network Function Virtualization and Software Defined Networks (NFV-SDN)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NFV-SDN50289.2020.9289860","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Implementing Content-based Publish/Subscribe on the Network Layer with P4
In content-based publish/subscribe systems, publishers produce notifications and subscribers register subscriptions to receive certain notifications based on their content. It is the task of the middleware to deliver the published notifications to subscribers having a matching subscription. Content-based publish/subscribe is challenging to implement efficiently, because the resulting delivery tree can be different for each notification, set of active subscriptions, and location of the subscribers. Therefore, content-based routing of notification has often been implemented in the application layer resulting in high notification delays and a waste of network bandwidth. In this work, we report on the research and actual development of a novel middleware, which uses the P4 SDN programming language to perform the content-based forwarding of notifications solely in the network layer. We present a hybrid approach that combines (i) encoding of routing information into the notification to be distributed and (ii) installing forwarding rules into the switches. In particular, we combine different types of routing information that either represent individual network links or virtual links referencing pre-installed distribution trees. We derive the latter from topological information about the network and from publish/subscribe relationships as well as forwarding statistics.