Description: The blog of Matthew Tyler - Software Engineer & Cloud Tragic
software (35355) javascript (15001) aws (1425) golang (682) kubernetes (602) serverless (233)
Making it easy to deploy code to AWS is a major focus of most serverless frameworks. Python and Javascript tend to be well supported in this regard, and more or less work right out of the box. Handling dependencies, like those installed via package.json, and languages that compile down to javascript (like typescript), can be tricky at times. Typescript throws a few spanners into the process. Typescript requires an extra compilation step and many tutorials out there don't include such a step so…
Serverless Hero Yan Cui recently posed the question "Just how expensive is the full AWS SDK" ? Plenty of people are concerned about cold starts, so it makes sense to be concerned with how can we make our functions as lean as possible to ensure the smallest cold starts and the fastest executions possible. After all, time is money - especially when we are paying by the 100ms. In Yan's article, he noted that you can cut down the time node spends importing a particular SDK client in a few ways. The…
A Monorepo generally requires specialised tooling to manage efficiently once they reach an appreciable size. We recently have been working with a client that has a large node-based monorepo that was encountering increasingly larger build times. By introducing optimisations which included the use of lerna, newer npm features (ci installation, package caching) and de-duplicating development dependencies, we were able to achieve a 1000% speed improvement. This story began with a simple conundrum. A…