{"id":1045,"date":"2010-02-18T00:21:24","date_gmt":"2010-02-17T23:21:24","guid":{"rendered":"http:\/\/www.gamlor.info\/wordpress\/?p=1045"},"modified":"2021-03-11T09:45:22","modified_gmt":"2021-03-11T08:45:22","slug":"unexpected-useful-patterns-for-fault-tolerant-software","status":"publish","type":"post","link":"https:\/\/www.gamlor.info\/wordpress\/2010\/02\/unexpected-useful-patterns-for-fault-tolerant-software\/","title":{"rendered":"(Unexpected Useful) Patterns for Fault Tolerant Software"},"content":{"rendered":"<p>In the past semester I completed successfully in the \u2018Advanced Pattern And Frameworks\u2019-module. This module is a deep dive in all kinds <a href=\"http:\/\/en.wikipedia.org\/wiki\/Design_pattern_(computer_science)\">of software design patterns<\/a>. A large part of module was to read a pattern book and then presenting the patterns to the other students. I\u2019ve chosen <a href=\"http:\/\/www.amazon.com\/Patterns-Fault-Tolerant-Software-Wiley\/dp\/0470319798\">Patterns for Fault Tolerant Software<\/a>, because I wanted to read something different than <a href=\"http:\/\/en.wikipedia.org\/wiki\/Design_Patterns_(book)\">GoF like patterns<\/a>.<\/p>\n<p>And indeed, the book is unusual. It\u2019s doesn\u2019t have concrete patterns, so you cannot just go and implement it. It\u2019s more like a huge collection of ideas and concepts around <a href=\"http:\/\/en.wikipedia.org\/wiki\/Fault-tolerant_system\">fault tolerant systems<\/a> (like Mars-robots, Space-Shuttle, telephone-routing-systems etc). It features more than 60 patterns, which are more or less related to each other.<\/p>\n<p>I\u2019ve never had the intension to actually use the advices in the book, because I\u2019m not building fault tolerant systems. But surprisingly I actually did implement some of those patterns just recently for this <a href=\"?p=1032\">sensor-software<\/a>. The software is by far not fault-tolerant. However, I\u2019ve used some patterns to ensure that the software keeps on running, even when a vital part doesn\u2019t work anymore. For example I used a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Leaky_bucket_counter\">Leaky Bucket Counter<\/a> to avoid overloading a the log-writer. The Shed at Periphery pattern to \u2018throw away\u2019 write requests to the database, etc.<\/p>\n<p>The conclusion: First, never be afraid of learning something different. Second, you can apply fault tolerant patterns also in fault intolerant systems =)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past semester I completed successfully in the \u2018Advanced Pattern And Frameworks\u2019-module. This module is a deep dive in all kinds of software design patterns. A large part of&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[17],"tags":[165,166],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/1045"}],"collection":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/comments?post=1045"}],"version-history":[{"count":4,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/1045\/revisions"}],"predecessor-version":[{"id":3744,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/posts\/1045\/revisions\/3744"}],"wp:attachment":[{"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/media?parent=1045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/categories?post=1045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gamlor.info\/wordpress\/wp-json\/wp\/v2\/tags?post=1045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}