The Lazy engineer's guide to running your Go web application to AWS Lambda (4 mins read).

How to take a Go web application and move it to AWS Lambda with two lines of code.
The Lazy engineer's guide to running your Go web application to AWS Lambda (4 mins read).
How to take a Go web application and move it to AWS Lambda with two lines of code.
Had anyone ever seen an error like this with #AWSLambda?
It's a Node 18 app that calls out to Renovate but fails due to some deep intenals in Node when doing some performance checking?
{
"errorType": "TypeError",
"errorMessage": "performance.markResourceTiming is not a function",
"stack": [
"TypeError: performance.markResourceTiming is not a function",
" at markResourceTiming (node:internal/deps/undici/undici:10636:21)",
" at finalizeAndReportTiming (node:internal/deps/undici/undici:10632:7)",
" at Object.handleFetchDone [as processResponseEndOfBody] (node:internal/deps/undici/undici:10579:45)",
" at node:internal/deps/undici/undici:10895:44",
" at node:internal/process/task_queues:140:7",
" at AsyncResource.runInAsyncScope (node:async_hooks:204:9)",
" at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8)",
" at process.processTicksAndRejections (node:internal/process/task_queues:95:5)"
]
}
Very odd, and this Go issue is the only thing I could find that may relate 🤔
TIL that Go Lambda functions now have a nice way to perform cleanup without ugly workarounds.
Aidan W Steele (@__steele)Wed, 29 Mar 2023 06:28 +0000
Automagically determining which AWS Lambda runtimes are deprecated or end-of-life (2 mins read).
Introducing a tool that can list AWS Lambda functions and whether their runtimes are approaching or past deprecation/end-of-life dates.
lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway. - GitHub - awslabs/aws-lambda-go-api-...
AWS Lambda Function URLs were released on the 6th of April 2022 as an infrastructure configuration that gives you public URLs to directly…
In this article, we will compare the performances of the same hello world Lambda functions written in different runtimes.
The Go 1 runtime is quasi-deprecated and as a user it is very easy to substitute it with the custom runtime. Literally just name your binary "bootstrap" and it works! AWS does a bad job communicating this.
Johannes Gehrs 🥑 (@jogehrs)Tue, 12 Apr 2022 04:35 +0000
Protecting an Architect Framework Application with OAuth2 or OpenID Connect Authentication (4 mins read).
How to set up OAuth2/OpenID Connect authentication with an Architect Framework application.
Getting node-canvas to run on AWS Lambda (3 mins read).
Some common issues that occur when using node-canvas on AWS Lambda, and how to solve them.
AWS Lambda Layer with node-canvas and its dependencies packaged, provides a Cairo backed Mozilla Web Canvas API implementation - GitHub - charoitel/lambda-layer-canvas-nodejs: AWS Lambda Layer with...
This post is written by Mark Sailes, Senior Specialist Solutions Architect. This blog post shows how to optimize the performance of AWS Lambda functions written in Java, without altering any of the function code. It shows how Java virtual machine (JVM) settings affect the startup time and performance. You also learn how you can benchmark […]
Recommended read: Optimizing AWS Lambda function performance for Java | Amazon Web Services https://aws.amazon.com/blogs/compute/optimizing-aws-lambda-function-performance-for-java/
Recommended read: The naive Lambda-as-transaction-coordinator pattern | Serverless First https://serverlessfirst.com/emails/the-naive-lambda-as-transaction-coordinator-pattern/
So... what is the *best* way to only pull in the exact and only the needed dependencies on a java AWS Lambda function and *no more*? Working on the basis of trying to minimise the AWS Lambda function to its absolute minimum size...Paul Johnston - trying to be civil (as a service) (@PaulDJohnston)Mon, 07 Feb 2022 12:53 GMT
Why I don't like Java for Lambda functions How it cold started How it keeps goingPaul Johnston - containing his snark (@PaulDJohnston)Tue, 14 Dec 2021 13:29 GMT
Determining the Version Of Libraries Packaged into the Java AWS Lambda Runtime (3 mins read).
How to determine what libraries, and their respective versions, are packaged into AWS Lambda.
Lessons Learned from Running Java in Serverless Environments like AWS Lambda (10 mins read).
Some recommendations for running Java as a Serverless application language, for instance on AWS Lambda or Google Cloud Functions.
An ex colleague of mine wrote this pretty great article about cold start reduction for Java https://www.capitalone.com/tech/cloud/aws-lambda-java-tutorial-reduce-cold-starts/
Lightweight and Powerful Dependency Injection for JVM-based Applications with Dagger (7 mins read).
How and why you should be using Dagger for your dependency injection.
Recommended read: Behind the scenes, AWS Lambda https://www.bschaatsbergen.com/behind-the-scenes-lambda
Recommended read: AWS Lambda Java Tutorial: Best Practices to Lower Cold Starts https://www.capitalone.com/tech/cloud/aws-lambda-java-tutorial-reduce-cold-starts/
An interesting approach - but I wonder why you'd implement like so (requiring SSH usage) instead of the Systems Manager's run-command
https://docs.aws.amazon.com/systems-manager/latest/userguide/walkthrough-cli.html ?
Recommended read: SSH to EC2 instances via AWS Lambda https://www.transposit.com/blog/2019.12.18-using-lambda-as-an-ssh-proxy/
This is quite an interesting little gotcha that many may not know (for instance I did not) about a 75GB limit of storage of Lambdas.
Recommended read: The Dark Side of AWS Lambda https://medium.com/fluidity/the-dark-side-of-aws-lambda-5c9f620b7dd2
PHPMiNDS May: Running your PHP site on AWS Lambda with Bref (3 mins read).
The May edition of the PHPMiNDS meetup, and things I've learnt about porting existing applications to AWS Lambda.
You're currently viewing page 1 of 1, of 25 posts.