{"id":19365,"date":"2023-07-20T05:00:01","date_gmt":"2023-07-20T05:00:01","guid":{"rendered":"https:\/\/www.greatassignmenthelp.com\/questions\/?p=19365"},"modified":"2023-12-21T07:10:01","modified_gmt":"2023-12-21T07:10:01","slug":"you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end","status":"publish","type":"post","link":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/","title":{"rendered":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:"},"content":{"rendered":"<p>A.) Have a shared database that allows both applications to read and write to the tables to share the data instead of having to communicate<\/p>\n<p>B.) Use asynchronous messaging to send and receive messages between each microservice<\/p>\n<p>C.) Abandon the microservice architecture so no interaction is needed<\/p>\n<p>D.) Create a third service to handle the interaction between the services<\/p>\n<p>E.) Use a RESTful architecture for both, send the ID through a POST, and ping the service with a GET until a response is available<\/p>\n<p><strong>Answer:-\u00a0<\/strong>A.) Have a shared database that allows both applications to read and write to the tables to share the data instead of having to communicate<\/p>\n<p>In asynchronous communication microservices implement <strong>asynchronous messages or http polling<\/strong> to connect with other microservices, but the customer request is served right away. Whenever we produce a pod in Kubernetes, this mechanically allocates an internal IP to it. The IP will be picked up from CIDR range and will be assigned to the Pod. This IP will be available throughout the cluster and using this IP any pod can address our web-server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A.) Have a shared database that allows both applications to read and write to the tables to share the data instead of having to communicate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete.<\/title>\n<meta name=\"description\" content=\"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete.\" \/>\n<meta property=\"og:description\" content=\"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/\" \/>\n<meta property=\"og:site_name\" content=\"Questions - Greatassignmenthelp.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Greatassignmenthelpus\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-20T05:00:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-21T07:10:01+00:00\" \/>\n<meta name=\"author\" content=\"Jay Cooper\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@assignmentgreat\" \/>\n<meta name=\"twitter:site\" content=\"@assignmentgreat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jay Cooper\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/\"},\"author\":{\"name\":\"Jay Cooper\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/person\/3a1b105fd8c3db97e016fb16652b9b3e\"},\"headline\":\"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:\",\"datePublished\":\"2023-07-20T05:00:01+00:00\",\"dateModified\":\"2023-12-21T07:10:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/\"},\"wordCount\":226,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#organization\"},\"articleSection\":[\"New Category\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/\",\"url\":\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/\",\"name\":\"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete.\",\"isPartOf\":{\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#website\"},\"datePublished\":\"2023-07-20T05:00:01+00:00\",\"dateModified\":\"2023-12-21T07:10:01+00:00\",\"description\":\"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:\",\"breadcrumb\":{\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greatassignmenthelp.com\/questions\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#website\",\"url\":\"https:\/\/www.greatassignmenthelp.com\/questions\/\",\"name\":\"Questions - Greatassignmenthelp.com\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greatassignmenthelp.com\/questions\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#organization\",\"name\":\"greatassignmenthelp\",\"url\":\"https:\/\/www.greatassignmenthelp.com\/questions\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.greatassignmenthelp.com\/questions\/wp-content\/uploads\/2022\/06\/logo-footer.png\",\"contentUrl\":\"https:\/\/www.greatassignmenthelp.com\/questions\/wp-content\/uploads\/2022\/06\/logo-footer.png\",\"width\":159,\"height\":52,\"caption\":\"greatassignmenthelp\"},\"image\":{\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Greatassignmenthelpus\",\"https:\/\/x.com\/assignmentgreat\",\"https:\/\/www.pinterest.com\/greatassignment\/\",\"https:\/\/www.linkedin.com\/company\/great-assignment-help\/\",\"https:\/\/www.instagram.com\/greatassignmenthelp\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/person\/3a1b105fd8c3db97e016fb16652b9b3e\",\"name\":\"Jay Cooper\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/90b1a211fe4bf64a5776d70d26f75d0f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/90b1a211fe4bf64a5776d70d26f75d0f?s=96&d=mm&r=g\",\"caption\":\"Jay Cooper\"},\"sameAs\":[\"https:\/\/www.greatassignmenthelp.com\/questions\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete.","description":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/","og_locale":"en_US","og_type":"article","og_title":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete.","og_description":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:","og_url":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/","og_site_name":"Questions - Greatassignmenthelp.com","article_publisher":"https:\/\/www.facebook.com\/Greatassignmenthelpus","article_published_time":"2023-07-20T05:00:01+00:00","article_modified_time":"2023-12-21T07:10:01+00:00","author":"Jay Cooper","twitter_card":"summary_large_image","twitter_creator":"@assignmentgreat","twitter_site":"@assignmentgreat","twitter_misc":{"Written by":"Jay Cooper","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/#article","isPartOf":{"@id":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/"},"author":{"name":"Jay Cooper","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/person\/3a1b105fd8c3db97e016fb16652b9b3e"},"headline":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:","datePublished":"2023-07-20T05:00:01+00:00","dateModified":"2023-12-21T07:10:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/"},"wordCount":226,"commentCount":0,"publisher":{"@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#organization"},"articleSection":["New Category"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/","url":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/","name":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete.","isPartOf":{"@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#website"},"datePublished":"2023-07-20T05:00:01+00:00","dateModified":"2023-12-21T07:10:01+00:00","description":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:","breadcrumb":{"@id":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/you-have-two-microservices-that-need-to-communicate-with-each-other-without-holding-up-a-thread-on-either-end\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greatassignmenthelp.com\/questions\/"},{"@type":"ListItem","position":2,"name":"You have two microservices that need to communicate with each other without holding up a thread on either end. One service will receive an ID and return a message once the job is complete. Which communication framework should be used? Choose one answer:"}]},{"@type":"WebSite","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#website","url":"https:\/\/www.greatassignmenthelp.com\/questions\/","name":"Questions - Greatassignmenthelp.com","description":"","publisher":{"@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greatassignmenthelp.com\/questions\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#organization","name":"greatassignmenthelp","url":"https:\/\/www.greatassignmenthelp.com\/questions\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/logo\/image\/","url":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-content\/uploads\/2022\/06\/logo-footer.png","contentUrl":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-content\/uploads\/2022\/06\/logo-footer.png","width":159,"height":52,"caption":"greatassignmenthelp"},"image":{"@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Greatassignmenthelpus","https:\/\/x.com\/assignmentgreat","https:\/\/www.pinterest.com\/greatassignment\/","https:\/\/www.linkedin.com\/company\/great-assignment-help\/","https:\/\/www.instagram.com\/greatassignmenthelp"]},{"@type":"Person","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/person\/3a1b105fd8c3db97e016fb16652b9b3e","name":"Jay Cooper","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greatassignmenthelp.com\/questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/90b1a211fe4bf64a5776d70d26f75d0f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/90b1a211fe4bf64a5776d70d26f75d0f?s=96&d=mm&r=g","caption":"Jay Cooper"},"sameAs":["https:\/\/www.greatassignmenthelp.com\/questions"]}]}},"_links":{"self":[{"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/posts\/19365"}],"collection":[{"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/comments?post=19365"}],"version-history":[{"count":1,"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/posts\/19365\/revisions"}],"predecessor-version":[{"id":26013,"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/posts\/19365\/revisions\/26013"}],"wp:attachment":[{"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/media?parent=19365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/categories?post=19365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greatassignmenthelp.com\/questions\/wp-json\/wp\/v2\/tags?post=19365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}