Engineering the Future of Software
29–31 Oct 2018: Tutorials & Conference
31 Oct–1 Nov 2018: Training
London, UK

Applying the principles of chaos to serverless

Yan Cui (DAZN)
15:5016:40 Monday, 29 October 2018
Serverless
Location: King's Suite - Sandringham Level: Intermediate
Secondary topics:  Overview, Theoretical

Who is this presentation for?

  • Senior developers, architects, and DevOps engineers

Prerequisite knowledge

  • Experience running applications in the cloud
  • A working knowledge of serverless technologies, such as AWS Lambda

What you'll learn

  • Understand chaos engineering
  • Learn where and how to inject faults into a serverless architecture (e.g., how to inject latency to AWSSDK/HTTP requests or to the function invocation directly) and how to control the fault injection process via configurations

Description

Chaos engineering is a discipline that focuses on improving system resilience through controlled experiments that expose the inherent chaos and failure modes in your system, before these failure modes manifest themselves like a wildfire in production and impact your users. (Netflix is undoubtedly the leader in this field.) However, much of the publicized tools and articles about chaos engineering focus on killing EC2 instances, and efforts to implement chaos engineering in the serverless community have been largely limited to moving those tools into AWS Lambda functions.

But how can we apply the same principles of chaos to a serverless architecture built around AWS Lambda functions?

Serverless architectures have more inherent chaos and complexity than their serverful counterparts, and you have less control over their runtime behavior. In short, there are far more unknown unknowns with these systems. So can we adapt existing practices to expose the inherent chaos in these systems? If so, what are the limitations and new challenges that we need to consider?

Join Yan Cui to learn how to apply the principles of chaos to a serverless architecture.

Photo of Yan Cui

Yan Cui

DAZN

Yan Cui is a principal engineer at AWS. Over his career, he has been an architect and lead developer with a variety of industries ranging from investment banks, ecommerce to mobile gaming. In the last two years, he has worked extensively with AWS Lambda in production, and he has been very active in sharing his experiences and the lessons he has learned. Some of his work has even made its way into the "_Well-Architected_ whitepaper published by AWS. Yan is polyglot in both spoken and programming languages: he is fluent in both English and Mandarin and counts C#, F#, Scala, Node.js, and Erlang among the programming languages he has worked with professionally. (F# is still his undisputed favorite.) Yan is a regular speaker at user groups and conferences internationally and is the instructor of Production-Ready Serverless and a coauthor of F# Deep Dives. In his spare time he keeps an active blog at Theburningmonk.com, where he shares his thoughts on topics such as AWS, serverless, functional programming, and chaos engineering.

Leave a Comment or Question

Help us make this conference the best it can be for you. Have questions you'd like this speaker to address? Suggestions for issues that deserve extra attention? Feedback that you'd like to share with the speaker and other attendees?

Join the conversation here (requires login)