Lambda

aws lambda – compare coldstart time with different languages, memory and code sizes

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 »

Serverless 1.X – enable API Gateway caching on request parameters

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 »

Yubl’s road to Serverless architecture – building a scalable push notification system

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 »

Auto-scaling Kinesis streams with AWS Lambda

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 …

Auto-scaling Kinesis streams with AWS Lambda Read More »

AWS Lambda —3 pro tips for working with Kinesis streams

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 »

AWS Lambda – build yourself a URL shortener in 2 hours

An interesting requirement came up at work this week where we discussed potentially having to run our own URL Shortener because the Universal Links mechanism (in iOS 9 and above) requires a JSON manifest at https://domain.com/apple-app-site-association Since the OS doesn’t follow redirects this manifest has to be hosted on the URL shortener’s root domain. Owing to a limitation on AppsFlyer it’s …

AWS Lambda – build yourself a URL shortener in 2 hours Read More »

AWS Lambda – comparing platform performances

As Lambda adds nodejs 6.10 to its supported platforms I wondered if there’s any performance differences between the platforms. Thankfully the templates in the Serverless framework make it a relative breeze to test it out with a simple HelloWorld function.   The Test see the test code here. I created a simple Lambda function for each platform that will …

AWS Lambda – comparing platform performances Read More »

Yubl’s road to Serverless architecture – ops

part 1: overview part 2: testing and CI/CD part 3: ops <- you’re here part 4: building a scalable notification system part 5: building a better recommendation system A couple of folks asked me about our strategy for monitoring, logging, etc. after part 2, and having watched Chris Swan talk about “Serverless Operations is not a …

Yubl’s road to Serverless architecture – ops Read More »

Yubl’s road to Serverless architecture – Testing and CI/CD

part 1: overview part 2: testing and CI/CD <- you’re here part 3: ops part 4: building a scalable notification system part 5: building a better recommendation system Having spoken to quite a few people about using AWS Lambda in production, testing and CI/CD are always high up the list of questions, so I’d like to use …

Yubl’s road to Serverless architecture – Testing and CI/CD 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.

Close