YoVDO

Six Little Lines of Fail

Offered By: NDC Conferences via YouTube

Tags

NDC Conferences Courses Distributed Systems Courses System Resilience Courses SAGA Pattern Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the complexities of distributed systems in this insightful conference talk that delves into the challenges of implementing a seemingly simple checkout page. Learn how six lines of code can hide potential failures and system-wide issues. Discover strategies for building resilient distributed systems, including examining inevitable failures, addressing coupling in code, and refactoring towards a truly robust checkout process. Gain valuable insights into handling failures between systems, dealing with external resources like payment gateways and email services, and implementing patterns such as routing slip, saga, and process manager. Understand the importance of embracing the fallacies of distributed computing and planning for worst-case scenarios to create more reliable and fault-tolerant applications.

Syllabus

Intro
6 little, innocuous lines of code
Failure is ALWAYS an option
We can't put the world into a transaction
Assume failures
Plan for the worst
4 options for dealing with failures between two systems
The Master Plan
For each external resource, examine possibilities and pick best option based on business requirements
First up: Stripe
Retry
Undo
Option 4: Coordinate
Next up: SendGrid
Apologize?
Finally: RabbitMQ
Compensating message is... weird
Taking a step back
Can we avoid exceptions by breaking the process coupling?
Still not there...
Starting the workflow
Routing slip
Saga pattern
Process manager pattern
Orchestration or choreography?


Taught by

NDC Conferences

Related Courses

Online Master of Computer Science
Arizona State University via Coursera
Blockchain Scalability and its Foundations in Distributed Systems
The University of Sydney via Coursera
Blockchain Fundamentals: Understanding the Origins, Mechanisms, and Applications of Decentralized Systems
SDA Bocconi School of Management via edX
Blockchain Technology
University of California, Berkeley via edX
Building Globally Distributed Databases with Cosmos DB
Coursera Project Network via Coursera