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.

My journey through microservices so far…

430 views

Published on

Presented at Sydney Software Crafters - https://www.meetup.com/Software-Crafters-Sydney/events/245851973/?comment_table_id=255462291&comment_table_name=reply

Published in: Software
  • DOWNLOAD FULL. BOOKS INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL. BOOKS INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL. BOOKS INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

My journey through microservices so far…

  1. 1. My journey through microservices so far… Phil Calçado h:p://philcalcado.com @pcalcado
  2. 2. Zeroth IteraBon: ThoughtWorks
  3. 3. What the client’s architect oGen wanted WebSphere Monolith.ear
  4. 4. Tomcat TomcatTomcat TomcatTomcat TomcatTomcat Tomcat What we wanted to build .war .war .war .war .war .war .war .war
  5. 5. What we oGen built .jar .jar .jar .jar .jar .jar .jar WebSphere .jar
  6. 6. First IteraBon: SoundCloud
  7. 7. Small European company fighBng the giants of the music industry.
  8. 8. "We used to deliver features at light-speed, growing the team has slowed us down!"
  9. 9. Old value chain
  10. 10. Amongst other changes
  11. 11. New value chain
  12. 12. h:p://philcalcado.com/2015/09/08/how_we_ended_up_with_microservices.html
  13. 13. Second IteraBon: DigitalOcean
  14. 14. Small New York startup fighBng the giants of cloud compuBng.
  15. 15. "We know exactly what we need to deliver. All we need is to hire more people."
  16. 16. No new product in years.
  17. 17. ! " # Control Panel Group Internal Tools Group Back-end Group
  18. 18. Control Panel Microlith Internal Tools Microlith Back-end Microlith
  19. 19. Amongst other changes
  20. 20. In Conclusion
  21. 21. Engineering is the bo:leneck Legal/Product is the bo:leneck
  22. 22. Engineering is the bo:leneck Legal/Product is the bo:leneck
  23. 23. Fin.
  24. 24. …or is it?
  25. 25. server client
  26. 26. server client 🔥🔥 🔥
  27. 27. 🔥 wait ☺ 😰 🔥 🔥 wait ☺ 😰 🔥 ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺
  28. 28. server client client client client client client
  29. 29. 🔥 wait ☺ 😰 🔥 🔥 wait ☺ 😰 🔥 ☺ ☺ ☺ ☺ ☺ ☺ ☺ ☺
  30. 30. 🔥 wait ☺ 😰 🔥 🔥 ☺ wait 😰 ☺ 🔥 🔥 wait 😰 ☺ 🔥 🔥 wait 😰 ☺ 🔥 🔥 …
  31. 31. 🔥 🗑
  32. 32. "I know, let’s have all circuit breakers share state”
  33. 33. "I know, let’s have all circuit breakers share state” Answer to the question “how did my application ended up importing a Zookeeper library again?"
  34. 34. server client 🔥🔥 🔥 server server serverserver 🔥🔥 🔥💩 🤔 Which instance should we talk to? ☺
  35. 35. DNS be like… *
  36. 36. Circuit breakers Timeouts This is your code on microservices Biz Logic Timeouts Telemetry … Distributed state Client-side Service Discovery
  37. 37. The dirty li:le secret no microservices evangelist tell you:
  38. 38. Google/SoundCloud/Twi:er/ Nedlix/Facebook/etc. have more engineers working on their internal tooling than the total number of employees at your workplace.
  39. 39. i.e. microservices are complicated af
  40. 40. Third IteraBon: Buoyant
  41. 41. Circuit breakers Timeouts Biz Logic Timeouts Telemetry RPC code Distributed state Client-side Service Discovery SDK Historically, this complicaBon leaks into your service
  42. 42. Sidecars to the rescue Circuit breakers Timeouts Biz Logic Timeouts Telemetry RPC code Distributed state Client-side Service Discovery SCARY OUTSIDE WORLD
  43. 43. Sidecars to the rescue Circuit breakers Timeouts Biz Logic Timeouts Telemetry RPC code Distributed state Client-side Service Discovery SCARY OUTSIDE WORLDSidecar
  44. 44. Sidecars form their own network
  45. 45. ApplicaBon Transport Internet Network Circuit breakers Telemetry RPC code Distributed state Client-side Service Discovery }TCP/IP }? One way to think about it
  46. 46. Two examples of Service Mesh • All-in-one • ProducBon ready • Next-generaBon • For Kubernetes
  47. 47. It’s not that these pa:erns aren’t used anymore, it’s just that the dumb work moved down the stack.
  48. 48. New, optmised, protocols are quite opaque (e.g. gRPC and friends) Works be:er with metadata-rich protocols
  49. 49. It makes it even harder to fully replicate producBon earlier in the development cycle Coupled to the pladorm
  50. 50. Not everything will be part of the mesh, i.e. the network sBll isn’t homogeneous Leaky abstracBon
  51. 51. Q&A

×