Yan Cui
I help clients go faster for less using serverless technologies.
Hi, welcome to another weekly update.
First of all, I want to thank Dynobase for sponsoring this week’s update.
Dynobase – Professional GUI Client for DynamoDB
Dynobase accelerates your DynamoDB workflow with easier data exploration, code generation, bookmarks, tabs, history, import/export capabilities and much more. Dynobase is available for Mac, Windows and Linux. Download Free 7-Day Trial.
Production-Ready Serverless workshop
We wrapped up the first online edition of my Production-Ready Serverless workshop and I want to thank everyone who took part in it and for Senzo for hosting the 4-week workshop on their Homeschool platform.
We’ll likely run this online workshop again in September.
In the meantime, my fellow Serverless Heroes Aleksandar Simovic and Slobodan Stojanovi? are also running some Serverless courses in June and July:
Real-World Serverless podcast
Since the last update, we have 6 new episodes for you:
- #9: Serverless at DVLA with Matt Lewis and Chris Williams
- #10: Serverless at DAZN with Daniel Wright and Sara Gerion
- #11: Serverless at M&G Investments with Daniel Bass
- #12: Serverless at LEGO with Nicole Yip and Sheen Brisals
- #13: What’s new from Serverless Inc. with Gareth McCumskey
- #14: Serverless data streaming with Anahit Pogosova
Talks
May was a particularly busy month for me as I spoke at quite a few events (while also working on two client projects and running the Production-Ready Serverless online workshop!). All the talks were recorded, and the slides are also available online (see the description of the videos). I will be posting new talks on my YouTube channel, so please subscribe and enable alarms so you get notified whenever I post new videos.
Here’s all the talks I delivered in May, enjoy!
Patterns and Practices for building resilient Serverless applications
A 2 hours marathon session where I covered lots of different topics, including:
- offloading compute-intensive task to queues
- managing distributed transactions with the saga pattern
- dealing with poison messages
- dealing with partial failures
- mitigating retry storms with circuit breakers
- understand Lambda’s scaling behaviour and the role of Provisioned Concurrency
- building multi-region, active-active APIs and data pipelines
- how to use chaos engineering to identify systemic weaknesses early
and I even found time to gave a couple of demos on injecting failures with failure-lambda!
In this talk, I discussed how (on a recent client project) I built the backend for a new social network using AWS AppSync, Lambda, DynamoDB and Algolia. The most amazing about this was how quickly we were able to deliver the MVP! It was possible because I was able to stand on the shoulders of giants and focus on the most essential business needs rather than infrastructure concerns.
How to build observability into a serverless application
In this talk, I discussed the challenges the serverless paradigm introduces to traditional methods of monitoring our applications and how we can still build observability into our serverless applications.
Don’t try these at home
In this talk, I discussed the value of experimentation in the cloud, and the path to becoming a true expert.
Beware the potholes on the road to serverless
In this talk, I discussed 13 common mistakes companies make when they move to serverless:
- Not letting go of legacy thinking
- Using one AWS account for all environments
- Spending too much time writing code, and too little time researching
- Not using an existing deployment framework
- Console-driven development
- One repo per function
- Unencrypted secrets in environment variables
- Not following the least privilege principle
- Missing DLQs
- Too much or too little concurrency
- Misunderstanding cold starts
- Not taking the Lambda lifecycle into account when managing RDS connections
- Lack of observability
Upcoming talks
As things stand, June is looking like a busy month too. If you wanna catch me online, then check out my full list of speaking engagements. Here’s what I’m doing in the next couple of weeks:
- Sat, June 13 @ AWS User Group Peru: What can you do with Lambda in 2020
- Tue, June 16 @ micro.sphere.it: Building a social network in under 4 weeks with Serverless and GraphQL
- Wed, June 17 @ Lumigo webinar: How to debug Lambda performance issues
- Tue, June 23 @ CTO Roundtable: Scalability on demand. Backend development trends in 2020
- Thu, June 25 @ LessCon: Serverless Security: defence against the dark arts
- Fri, June 26 @ AWS Serverless Community Day: Patterns and Practices for Building Resilient AWS Serverless Applications
Thank you to my patrons
Finally, I want to give a shout out to my patrons:
Andre Silva, Bala Chalasani, Boseok In, Dome Jantaphat, Dragan Cabarkapa, Ebru Cucen, Efi Merdler-Kravitz, Eric Allam, Hrafnkell Palsson, Jon Barber, Jonathan Kosgei, Kevin Woods, Mark David McCreary, Marko @ Serverless Life, Michael Wills, Peter Miller, Shawn MacIntyre, Tajinder Singh, Tendies123, Will Saunders, Yinan Xue
Thank you guys so much for your continued support!