{"id":1818,"date":"2019-07-02T10:15:38","date_gmt":"2019-07-02T08:15:38","guid":{"rendered":"https:\/\/voxxeddays.com\/microservices\/?p=1818"},"modified":"2019-07-02T10:15:38","modified_gmt":"2019-07-02T08:15:38","slug":"rudy-de-busscher-on-transactions-in-your-micro-services-architecture","status":"publish","type":"post","link":"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/","title":{"rendered":"Rudy De Busscher on &#8220;Transactions in your micro-services architecture\u201d"},"content":{"rendered":"<p><b>Hi Rudy, tell us who you are and what lead you into microservices?<\/b><\/p>\n<p><span style=\"font-weight: 400\">Hi, I\u2019m currently working in the Service Team of Payara Services ltd, where I\u2019m dividing my time between customer support, writing blogs and user guides, working on specifications of MicroProfile, and helping in some of the coding of the Payara Platform.<\/span><\/p>\n<p><span style=\"font-weight: 400\">Before that, I was a consultant doing a lot of development and saw a lot of people struggling with a chosen architecture, monolith and micro-service style type ones. For certain scenarios, a microservice architecture can be beneficial but it has his challenges. Helping people with these challenges brought me into the microservice world.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>What will you be talking about at Voxxed Days Microservices?\u00a0<\/b><\/p>\n<p><span style=\"font-weight: 400\">Transactions are an easy technique for the developer to achieve data consistency. Changes are all committed or rollback, so your data is always aligned and other sessions see no incomplete information.<\/span><\/p>\n<p><span style=\"font-weight: 400\">But in a distributed environment, this cannot be achieved because data can be spread over several data sources and types of data sources, or we cannot scale distributed transactions very well.<\/span><\/p>\n<p><span style=\"font-weight: 400\">To eventually achieve the data consistency, the SAGA pattern is very popular and describes a procedure to achieve it using the concept of a compensatable action.<\/span><\/p>\n<p><span style=\"font-weight: 400\">The session goes a bit deeper into these problems and concepts and shows you with several examples how you can achieve eventual consistency within microservices with the use of the MicroProfile Long Running Action specification which is developed to address this.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>With CAP theorem we got rid of data consistency. Then Google announced Spanner. Where are we now and where are we heading in terms of consistency for distributed systems ?\u00a0<\/b><\/p>\n<p><span style=\"font-weight: 400\">A lot of \u2018traditional\u2019 solutions, like database implementations, have improved in the last few years, and new products like Google Spanner are created to compete with the distributed nature of the microservices world.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">But in most cases, we really need another way of thinking about how data is used and how data consistency is achieved. The eventual consistency is then a logical step and the SAGA pattern is used more and more since it has been proven to be useful and relative easily.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><i><span style=\"font-weight: 400\">#distributedSystems, #transactions, #microProfile<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400\">Twitter: @rdebusscher<\/span><\/p>\n<p><span style=\"font-weight: 400\">GitHub: <\/span><a href=\"https:\/\/github.com\/rdebusscher\"><span style=\"font-weight: 400\">https:\/\/github.com\/rdebusscher<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Company Blog: <\/span><a href=\"https:\/\/blog.payara.fish\/\"><span style=\"font-weight: 400\">https:\/\/blog.payara.fish\/<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi Rudy, tell us who you are and what lead you into microservices? Hi, I\u2019m currently working in the Service Team of Payara Services ltd, where I\u2019m dividing my time between customer support, writing blogs and user guides, working on specifications of MicroProfile, and helping in some of the coding of the Payara Platform. Before [&hellip;]<\/p>\n","protected":false},"author":1301,"featured_media":1819,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Rudy De Busscher on &quot;Transactions in your micro-services architecture\u201d : Voxxed Days Microservices 2019<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Rudy De Busscher on &quot;Transactions in your micro-services architecture\u201d : Voxxed Days Microservices 2019\" \/>\n<meta property=\"og:description\" content=\"Hi Rudy, tell us who you are and what lead you into microservices? Hi, I\u2019m currently working in the Service Team of Payara Services ltd, where I\u2019m dividing my time between customer support, writing blogs and user guides, working on specifications of MicroProfile, and helping in some of the coding of the Payara Platform. Before [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/\" \/>\n<meta property=\"og:site_name\" content=\"Voxxed Days Microservices 2019\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/vxdmicroservice\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-02T08:15:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/voxxeddays.com\/microservices\/wp-content\/uploads\/sites\/54\/2019\/07\/gyivbojl.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1815\" \/>\n\t<meta property=\"og:image:height\" content=\"899\" \/>\n<meta property=\"fb:app_id\" content=\"vxdmicroservice\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@agoncal\" \/>\n<meta name=\"twitter:site\" content=\"@vxdmicroservice\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"Antonio Goncalves\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#organization\",\"name\":\"Voxxed Days Microservices\",\"url\":\"https:\/\/voxxeddays.com\/microservices\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/vxdmicroservice\/\",\"https:\/\/www.instagram.com\/voxxeddaysmicroservices\",\"https:\/\/www.linkedin.com\/in\/voxxed-days-microservices-906115164\/\",\"https:\/\/www.youtube.com\/playlist?list=PLRsbF2sD7JVrhlYIKTI--IU6xcfUjdNt2\",\"https:\/\/twitter.com\/vxdmicroservice\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/voxxeddays.com\/microservices\/wp-content\/uploads\/sites\/54\/2019\/06\/large-Voxxed_Days_Microservices_date_2019-01-2.png\",\"width\":1000,\"height\":387,\"caption\":\"Voxxed Days Microservices\"},\"image\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#website\",\"url\":\"https:\/\/voxxeddays.com\/microservices\/\",\"name\":\"Voxxed Days Microservices 2019, Conference & workshops\",\"description\":\"A Developer Conference on Microservices\",\"publisher\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/voxxeddays.com\/microservices\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/voxxeddays.com\/microservices\/wp-content\/uploads\/sites\/54\/2019\/07\/gyivbojl.jpg\",\"width\":1815,\"height\":899},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/#webpage\",\"url\":\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/\",\"name\":\"Rudy De Busscher on \\\"Transactions in your micro-services architecture\\u201d : Voxxed Days Microservices 2019\",\"isPartOf\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/#primaryimage\"},\"datePublished\":\"2019-07-02T08:15:38+00:00\",\"dateModified\":\"2019-07-02T08:15:38+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/#webpage\"},\"author\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#\/schema\/person\/871a4bfea3b1bf117a77bc3fbfeb5f14\"},\"headline\":\"Rudy De Busscher on &#8220;Transactions in your micro-services architecture\\u201d\",\"datePublished\":\"2019-07-02T08:15:38+00:00\",\"dateModified\":\"2019-07-02T08:15:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#organization\"},\"image\":{\"@id\":\"https:\/\/voxxeddays.com\/microservices\/2019\/07\/02\/rudy-de-busscher-on-transactions-in-your-micro-services-architecture\/#primaryimage\"},\"articleSection\":\"all\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#\/schema\/person\/871a4bfea3b1bf117a77bc3fbfeb5f14\",\"name\":\"Antonio Goncalves\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/voxxeddays.com\/microservices\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1fc6aa04011b2f0f9721df913b0fd415?s=96&d=mm&r=g\",\"caption\":\"Antonio Goncalves\"},\"description\":\"I am a senior software architect living in Paris. I work as a consultant in helping customers to set up their software architecture. My specialities are Java \/ Java EE and Open Source frameworks that evolve around it. As a former BEA consultant I have a great expertise in application servers (Weblogic, JBoss and GlassFish). So I decided to write a few books about it, create the Paris JUG and Devoxx France.\",\"sameAs\":[\"https:\/\/plus.google.com\/101641663893160877351\",\"https:\/\/twitter.com\/agoncal\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/posts\/1818"}],"collection":[{"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/users\/1301"}],"replies":[{"embeddable":true,"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/comments?post=1818"}],"version-history":[{"count":0,"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/posts\/1818\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/media\/1819"}],"wp:attachment":[{"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/media?parent=1818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/categories?post=1818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/voxxeddays.com\/microservices\/wp-json\/wp\/v2\/tags?post=1818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}