{"id":270,"date":"2023-07-03T12:32:52","date_gmt":"2023-07-03T11:32:52","guid":{"rendered":"https:\/\/ishooscode.com\/?p=270"},"modified":"2023-07-05T05:28:15","modified_gmt":"2023-07-05T04:28:15","slug":"service-bus-queue-and-topic","status":"publish","type":"post","link":"https:\/\/ishooscode.com\/index.php\/2023\/07\/03\/service-bus-queue-and-topic\/","title":{"rendered":"Better make use of Service bus Queue and Topic"},"content":{"rendered":"\n<p>Why use service bus queue and topic instantly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">With the help of service bus queue and topic, we can<\/h2>\n\n\n\n<ol type=\"1\">\n<li>Decouple client and server applications<\/li>\n\n\n\n<li>Implement fire and forget easily<\/li>\n\n\n\n<li>Increase performance of client application, by using various performance optimization technique like prefetching.<\/li>\n\n\n\n<li>Easily scale client and server application independent of each other<\/li>\n\n\n\n<li>Implement duplicate detection<\/li>\n\n\n\n<li>Re-send failed messages using deadletter queue<\/li>\n\n\n\n<li>Control traffic<\/li>\n\n\n\n<li>Implement retry logic<\/li>\n\n\n\n<li>Process a request even after 14 days<\/li>\n<\/ol>\n\n\n\n<p>With service bus no request is lost. Request messages will stay in queue waiting to be picked up by server application for processing until server is available <\/p>\n\n\n\n<p>Each message is locked so no other thread can process the message. Lock duration can be configured<\/p>\n\n\n\n<p>more on service bus <a href=\"https:\/\/ishooscode.com\/index.php\/2023\/06\/21\/azure-service-bus-queue-topic-and-subscription-overview\/(opens in a new tab)\" target=\"_blank\" rel=\"noopener\" title=\"here\">here<\/a> or <a href=\"https:\/\/www.c-sharpcorner.com\/article\/pushing-messages-to-azure-servicebus-queue-from-azure-pipeline\/\" target=\"_blank\" rel=\"noopener\" title=\"here\">here<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why use service bus queue and topic instantly. With the help of service bus queue&#8230;<\/p>\n","protected":false},"author":1,"featured_media":272,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[56,21,28],"tags":[6,57,10],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/posts\/270"}],"collection":[{"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/comments?post=270"}],"version-history":[{"count":3,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/posts\/270\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/posts\/270\/revisions\/275"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/media\/272"}],"wp:attachment":[{"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/media?parent=270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/categories?post=270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ishooscode.com\/index.php\/wp-json\/wp\/v2\/tags?post=270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}