Slides for my serverless security talk
Security in serverless world from Yan Cui
Security in serverless world from Yan Cui
The Saga pattern is a pattern for managing failures, where each action has a compensating action for rollback. In Hector Garcia-Molina’s 1987 paper, it is described as an approach to handling system failures in a long-running transactions. It has become increasingly relevant in the world of microservices as application logic often needs to transact across …
Applying the Saga pattern with AWS Lambda and Step Functions Read More »
part 1: overview part 2: testing and CI/CD part 3: ops part 4: building a scalable notification system part 5: building a better recommendation system <- you’re here When I joined Yubl in April 2016, it had launched just 2 months earlier, after a long and chaotic development cycle that lasted more than 2 years …
AWS announced general availability of AWS Lambda support for AWS X-Ray back in May. It’s taken me a while to try it out, and whilst I see plenty of values I think its current limitations significantly restricts its usefulness in a complex system. I found Lambda-specific documentations to be fragmented and I had to rely …
aws x-ray and lambda : the good, the bad and the ugly Read More »
In the last post I compared the coldstart time for Lambda functions with different language, memory and code size. One of the things I learnt was that idle functions are no longer terminated after 5 minutes of inactivity. /2017/06/aws-lambda-compare-coldstart-time-with-different-languages-memory-and-code-sizes/ It is a fantastic news and something that Amazon has quietly changed behind the scene. However, …
Finding coldstarts : how long does AWS Lambda keep your idle functions around? Read More »
A while back we looked at the performance difference between the language runtimes AWS Lambda supports natively. We intentionally omitted coldstart time from that experiment as we were interested in performance differences when a function is “warm”. However, coldstart is still an important performance consideration, so let’s take a closer look with some experiments designed …
aws lambda – compare coldstart time with different languages, memory and code sizes Read More »
Having previously blogged about the untrodden path to enable caching on API Gateway request parameters in the Serverless framework 0.5.X, it’s a little disappointing that it’s still not officially fixed in the 1.X versions… The Problem The problem is two-fold: there’s currently no way to specify caching should be enabled for path & query string …
Serverless 1.X – enable API Gateway caching on request parameters Read More »
part 1: overview part 2: testing and CI/CD part 3: ops part 4: building a scalable notification system <- you’re here part 5: building a better recommendation system Just before Yubl’s untimely demise we did an interesting piece of work to redesign the system for sending targeted push notifications to our users to improve retention. The …
Yubl’s road to Serverless architecture – building a scalable push notification system Read More »
Following on from the last post where we discussed 3 useful tips for working effectively with Lambda and Kinesis, let’s look at how you can use Lambda to help you auto scale Kinesis streams. Auto-scaling for DynamoDB and Kinesis are two of the most frequently requested features for AWS, as I write this post I’m sure the folks …
At Yubl, we arrived at a non-trivial serverless architecture where Lambda and Kinesis became a prominent feature of this architecture. Whilst our experience using Lambda with Kinesis was great in general, there was a couple of lessons that we had to learn along the way. Here are 3 useful tips to help you avoid some …
AWS Lambda —3 pro tips for working with Kinesis streams Read More »
By continuing to use the site, you agree to the use of cookies. more information
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.