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.

Distributed systems in practice, in theory (ScaleConf Colombia)

674 views

Published on

Modern systems in production rely on decades of computer science research. Over time, new architectural patterns emerge that enable more resilient and robust systems. In this talk, we'll discuss some of these patterns from systems I've worked on at Google and the related work that provide insights into the motivations behind them.

Published in: Software
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Distributed systems in practice, in theory (ScaleConf Colombia)

  1. 1. Aysylu Greenberg March 25, 2017 Distributed Systems in Practice, in Theory
  2. 2. * 2 Aysylu Greenberg
  3. 3. * 3 Aysylu Greenberg paperswelove.org
  4. 4. * 4 Aysylu Greenberg @aysylu22 paperswelove.org
  5. 5. How I got into reading papers as a practitioner in industry
  6. 6. Computer Science Research In Distributed Systems Industry
  7. 7. Operating systems research
  8. 8. Operating systems research
  9. 9. Operating systems research Concurrency
  10. 10. Operating systems research Concurrency Concurrency primitives: mutex & semaphore
  11. 11. Operating systems research Concurrency Concurrency primitives: mutex & semaphore Processes execute at different speeds
  12. 12. Time in distributed systems https://www.flickr.com/photos/national_archives_of_norway/6263353228 1970
  13. 13. Time in distributed systems 1970 https://www.flickr.com/photos/national_archives_of_norway/6263353228
  14. 14. https://www.flickr.com/photos/national_archives_of_norway/6263353228 Time in distributed systems Pipelining 1970
  15. 15. 1980 https://www.flickr.com/photos/findyoursearch/6848657291
  16. 16. Distributed consensus 1980 https://www.flickr.com/photos/findyoursearch/6848657291
  17. 17. Distributed consensus 1980 https://www.flickr.com/photos/findyoursearch/6848657291
  18. 18. Distributed consensus 1980 https://www.flickr.com/photos/findyoursearch/6848657291
  19. 19. Distributed consensus 1980 Paxos https://www.flickr.com/photos/findyoursearch/6848657291
  20. 20. Reconsider large systems
  21. 21. Reconsider large systems Shared infrastructure ...
  22. 22. CS Research is Timeless Inform decisions Mitigate technical risk
  23. 23. Today ● Staged Event-Driven Architecture
  24. 24. Today ● Staged Event-Driven Architecture ● Leases
  25. 25. Today ● Staged Event-Driven Architecture ● Leases ● Inaccurate Computations
  26. 26. Today ● Staged Event-Driven Architecture ● Leases ● Inaccurate Computations
  27. 27. Staged Event Driven Architecture & Deep Pipelines 2001
  28. 28. Hardware to Data Pipelines
  29. 29. Hardware to Data Pipelines https://en.wikipedia.org/wiki/Graphics_pipeline
  30. 30. Staged Event Driven Architecture
  31. 31. Staged Event Driven Architecture + -
  32. 32. Single-machine pipeline generalizes to distributed pipelines Staged Event Driven Architecture
  33. 33. Search Indexing Pipelines
  34. 34. Search Indexing Pipelines
  35. 35. Search Indexing Pipelines
  36. 36. Search Indexing Pipelines
  37. 37. Search Indexing Pipelines
  38. 38. Search Indexing Pipelines
  39. 39. Search Indexing Pipelines
  40. 40. Search Indexing Pipelines + -
  41. 41. Today ● Staged Event-Driven Architecture ● Leases ● Inaccurate Computations
  42. 42. Leases as Heart Beat in Distributed Systems 1989
  43. 43. Leases ● Distributed locking
  44. 44. Leases ● Distributed locking ● Lease term tradeoffs ○ short
  45. 45. Leases ● Distributed locking ● Lease term tradeoffs ○ short vs long
  46. 46. Leases ● Distributed locking ● Lease term tradeoffs ○ short vs long ● Use of leases in modern applications ○ Leader election
  47. 47. Leases ● Distributed locking ● Lease term tradeoffs ○ short vs long ● Use of leases in modern applications ○ Leader election ○ Liveness detection
  48. 48. Build my sculpture Botero Build System
  49. 49. Build my sculpture Botero Build System OK
  50. 50. Build my sculpture Botero Build System OK Waiting for the results
  51. 51. Build my sculpture Botero Build System OK Waiting for the results Build is in progress
  52. 52. Build my sculpture Botero Build System OK Waiting for the results Build is in progress Waiting for the results
  53. 53. Build my sculpture Botero Build System OK Waiting for the results Build is in progress Waiting for the results Build is finished
  54. 54. Leases in Build System
  55. 55. Leases in Build System
  56. 56. Leases in Build System
  57. 57. Leases in Build System
  58. 58. Leases in Build System
  59. 59. Leases in Build System
  60. 60. Leases for heartbeat: How long should the lease term be?
  61. 61. Today ● Staged Event-Driven Architecture ● Leases ● Inaccurate Computations
  62. 62. Inaccurate Computations & Serving Search Results
  63. 63. From Accurate to "Good Enough"
  64. 64. [Trade off] Inaccuracy for Performance
  65. 65. [In production] Inaccuracy for Performance & Resilience
  66. 66. Jeff Dean "Building Software Systems at Google and Lessons Learned", Stanford, 2010
  67. 67. [Designing with] Inaccuracy for Performance & Resilience
  68. 68. [Designing with] Inaccuracy for Performance & Resilience simplified implementation focus on observability applicable to some problem domains
  69. 69. [Designing with] Inaccuracy for Performance & Resilience fuzz testing generative testing simplified implementation fault injection testing focus on observability applicable to some problem domains
  70. 70. References ● F. Corbato, M. Daggett, R. Daley "An Experimental Time-Sharing System" ● E. Dijkstra "Cooperating Sequential Processes" ● L. Lamport "Time, Clocks, and the Ordering of Events in a Distributed System" ● B. Oki, B. Liskov "Viewstamped Replication: A New Primary Copy Method to Support Highly-Available Distributed Systems" ● L. Lamport "The Part-Time Parliament"
  71. 71. References ● M. Welsh, D. Culler, E. Brewer "SEDA: An Architecture for Well-Conditioned, Scalable Internet Services" ● C. Gray, D. Cheriton "Leases: An Efficient Fault-Tolerant Mechanism for Distributed File Cache Consistency" ● S. Agarwal, B. Mozafari et al. "BlinkDB: Queries with Bounded Errors and Bounded Response Times on Very Large Data"
  72. 72. Robust & scalable pipelines
  73. 73. Robust & scalable pipelines Leases for sharing & heartbeat
  74. 74. Robust & scalable pipelines Leases for sharing & heartbeat Inaccuracy for resilience & performance
  75. 75. Robust & scalable pipelines Leases for sharing & heartbeat Inaccuracy for resilience & performance CS research is timeless: use it to mitigate risk
  76. 76. Aysylu Greenberg March 25, 2017 @aysylu22 Distributed Systems in Practice, in Theory

×