Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
https://www.flickr.com/photos/38295844@N05/4980776534/
danielfisher.com
https://www.flickr.com/photos/pagedooley/2398572388/
danielfisher.com
http://www.city-data.com/forum/anchorage/692696-anchorage-here-we-come-finally.html
danielfisher.com
BOSS
danielfisher.com
“Office Space” by Mike Judge / Twentieth Century Fox Film Corporation
danielfisher.com
CHANGE
danielfisher.com
https://www.flickr.com/photos/bluedharma/89186151
danielfisher.com
https://www.flickr.com/photos/armydre2008/3144377781
danielfisher.com
RELEASE
danielfisher.com
Time
Change
Big…
Small…
danielfisher.com
danielfisher.com
FAIL
danielfisher.com
https://www.flickr.com/photos/38403488@N08/5100179116
danielfisher.com
Thomas Edison
danielfisher.com
danielfisher.com
https://www.flickr.com/photos/edrost88/8235944730
danielfisher.com
Yoda Conditions
if (variable.Equals("literal"))
{
...
}
if ("literal".Equals(variable))
{
...
}
danielfisher.com
Check Collections for Null
var files = SomeApi.GetFileList();
if (files != null)
{
for (var i = 0; i < fi...
danielfisher.com
All classes are sealed by default
public class Class1
{
...
}
public sealed class Class1
{
...
}
danielfisher.com
DDD Value Object Input Validation
public sealed class ZipCode
: IValueObject
{
public ZipCode(int value)
...
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
http://research.microsoft.com/en-us/um/people/lamport/pubs/distributed-system.txt
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
danielfisher.com
https://www.flickr.com/photos/qubodup/8278039181
danielfisher.com
https://www.flickr.com/photos/st3f4n/143623217
danielfisher.com
http://moonbasetshirts.limitedrun.com/products/557785-palpatine-vader-2016
danielfisher.com
https://www.flickr.com/photos/susivinh/16341538221
danielfisher.com
danielfisher.com
danielfisher.com
Antifragility
Resilience
Robustness
Fragile
danielfisher.com
danielfisher.com
danielfisher.com
Upcoming SlideShare
Loading in …5
×

Resilience Patterns and Defensive Programming by Daniel Fisher

895 views

Published on

Cloud computing, DevOps, IOT or just connecting the local active directory or {put any LOB system here}: The applications we build are getting more and more distributed. Now guess who's guilty if your application fails, because there was some error outside of your code (even outside of your control influence)? This session is about designing, developing and deploying rock solid applications.

Published in: Software
  • Be the first to comment

Resilience Patterns and Defensive Programming by Daniel Fisher

  1. 1. danielfisher.com
  2. 2. danielfisher.com
  3. 3. danielfisher.com
  4. 4. danielfisher.com
  5. 5. danielfisher.com
  6. 6. danielfisher.com https://www.flickr.com/photos/38295844@N05/4980776534/
  7. 7. danielfisher.com https://www.flickr.com/photos/pagedooley/2398572388/
  8. 8. danielfisher.com http://www.city-data.com/forum/anchorage/692696-anchorage-here-we-come-finally.html
  9. 9. danielfisher.com BOSS
  10. 10. danielfisher.com “Office Space” by Mike Judge / Twentieth Century Fox Film Corporation
  11. 11. danielfisher.com CHANGE
  12. 12. danielfisher.com https://www.flickr.com/photos/bluedharma/89186151
  13. 13. danielfisher.com https://www.flickr.com/photos/armydre2008/3144377781
  14. 14. danielfisher.com RELEASE
  15. 15. danielfisher.com Time Change Big… Small…
  16. 16. danielfisher.com
  17. 17. danielfisher.com FAIL
  18. 18. danielfisher.com https://www.flickr.com/photos/38403488@N08/5100179116
  19. 19. danielfisher.com Thomas Edison
  20. 20. danielfisher.com
  21. 21. danielfisher.com https://www.flickr.com/photos/edrost88/8235944730
  22. 22. danielfisher.com Yoda Conditions if (variable.Equals("literal")) { ... } if ("literal".Equals(variable)) { ... }
  23. 23. danielfisher.com Check Collections for Null var files = SomeApi.GetFileList(); if (files != null) { for (var i = 0; i < files.length; i++) { ... } }
  24. 24. danielfisher.com All classes are sealed by default public class Class1 { ... } public sealed class Class1 { ... }
  25. 25. danielfisher.com DDD Value Object Input Validation public sealed class ZipCode : IValueObject { public ZipCode(int value) { // Input validation!!! Value = value; } public int Value { get; private set;} }
  26. 26. danielfisher.com
  27. 27. danielfisher.com
  28. 28. danielfisher.com
  29. 29. danielfisher.com
  30. 30. danielfisher.com
  31. 31. danielfisher.com
  32. 32. danielfisher.com http://research.microsoft.com/en-us/um/people/lamport/pubs/distributed-system.txt
  33. 33. danielfisher.com
  34. 34. danielfisher.com
  35. 35. danielfisher.com
  36. 36. danielfisher.com
  37. 37. danielfisher.com
  38. 38. danielfisher.com
  39. 39. danielfisher.com
  40. 40. danielfisher.com
  41. 41. danielfisher.com
  42. 42. danielfisher.com https://www.flickr.com/photos/qubodup/8278039181
  43. 43. danielfisher.com https://www.flickr.com/photos/st3f4n/143623217
  44. 44. danielfisher.com http://moonbasetshirts.limitedrun.com/products/557785-palpatine-vader-2016
  45. 45. danielfisher.com https://www.flickr.com/photos/susivinh/16341538221
  46. 46. danielfisher.com
  47. 47. danielfisher.com
  48. 48. danielfisher.com Antifragility Resilience Robustness Fragile
  49. 49. danielfisher.com
  50. 50. danielfisher.com
  51. 51. danielfisher.com

×