Best of AWS Lambda — 2024

  1. 1
    Article
    Avatar of colkgirlCode Like A Girl·2y

    How I created an AWS System to crush the Architect exam

    The post shares insights on building a notification system using AWS services to help revise for the AWS Solutions Architect Certification. The system sends PowerPoint slides as WhatsApp messages using Lambda, S3, EventBridge, and Twilio, assisting in timely and structured revision. The architecture is scalable and can be used for any revision needs.

  2. 2
    Video
    Avatar of webdevcodyWeb Dev Cody·2y

    This is the coolest side project I've worked on

    A project is described that allows users to create videos based on written stories, focusing initially on scary stories but aiming to expand to any type of story. The process involves breaking the story into segments, generating AI-powered images for each segment using OpenAI and Replicate, and then creating a video by stitching these segments together with Lambda functions. The project also aims to include features like background music and other enhancements. Future improvements are being considered, such as using GPU-optimized EC2 instances or rewriting code in faster programming languages like Go or Rust.

  3. 3
    Video
    Avatar of joshtriedcodingJosh tried coding·2y

    My Favorite Tech Stack for 2024

  4. 4
    Article
    Avatar of bytebytegoByteByteGo·2y

    AWS Lambda Under the Hood

    AWS Lambda is a serverless compute service that allows developers to run code without provisioning or managing servers. It supports various invocation models, including synchronous and asynchronous invocations. The Assignment Service is a robust and resilient way to manage execution environments in Lambda. Firecracker is a lightweight virtual machine manager designed for running serverless workloads. Lambda also incorporates significant storage service functionalities, managing and storing code and data efficiently.

  5. 5
    Article
    Avatar of codemazeCode Maze·2y

    Local Functions vs Lambda Expressions in C#

    Local functions and lambda expressions in C# serve different purposes and have distinct performance characteristics. Local functions are methods nested within other methods and excel in performance since they can avoid heap allocation and use struct instead of class captures. Lambda expressions, while concise and useful for passing as delegates, generally require heap allocation and object instantiation. Local functions can be generic, recursive, and used as iterators, whereas lambda expressions struggle with these features. Thus, local functions are often more versatile and performant, especially when not using APIs that demand delegates.

  6. 6
    Article
    Avatar of towardsdevTowards Dev·2y

    Building a Secure WebSocket API with AWS API Gateway, Lambda, and JWT Authorization using Terraform

    This guide details the steps to build a secure WebSocket API using AWS API Gateway, integrated with AWS Lambda and secured with JWT authorization. The infrastructure setup is automated with Terraform, ensuring a scalable and manageable real-time communication system with CloudWatch logging for monitoring API activity.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Serverless Architecture Patterns and Best Practices

    Learn about serverless architecture patterns and best practices. Discover the benefits and challenges of serverless, explore common architecture patterns, and gain insights on best practices for serverless development.

  8. 8
    Article
    Avatar of awstipAWS Tip·2y

    Node.js TypeScript Deployment on AWS Lambda with Jenkins

    Learn how to deploy a Node.js project to AWS Lambda with Jenkins. Install required plugins, add credentials, and create a pipeline to deploy your first Node.js project.

  9. 9
    Article
    Avatar of lpythonLearn Python·1y

    For sure it's D🤭🤭

  10. 10
    Article
    Avatar of implementingImplementing·2y

    Deploy AWS Lambda functions with Serverless Framework and Node.js

    Learn how to deploy AWS Lambda functions with the Serverless Framework and Node.js. The guide covers setting up a serverless project, configuring the serverless.yml file, deploying the Lambda function, and setting up the AWS API Gateway for HTTP invocation. Includes steps for creating a project, initializing an NPM project, and configuring CloudFormation stacks for deployment.

  11. 11
    Article
    Avatar of medium_jsMedium·2y

    Mastering Pipes and Filters: A Messaging System Pattern

    The Pipes and Filters pattern simplifies building complex, scalable, and maintainable processing pipelines by breaking them into independent, reusable units called filters. Each filter performs a specific task, and the results are passed through channels called pipes. This approach enhances modularity, scalability, throughput, and code reuse while addressing common problems with monolithic processing architectures. However, it introduces complexities around system error handling, cost, latency, and monitoring.

  12. 12
    Article
    Avatar of foojayioFoojay.io·1y

    Run a Java Lambda Function From a Docker image

    Learn how to package and deploy a Java Serverless function using Docker and AWS's new container support. The guide includes step-by-step instructions for setting up a Maven project, creating a Docker image, configuring AWS infrastructure (ECR, IAM roles, policies), and deploying the Lambda function. It also covers both local and remote testing of the deployed function.

  13. 13
    Article
    Avatar of awegoAwesome Go·2y

    Writing an HTTP Router for AWS Lambda Functions From Scratch With Go

    Deploying REST APIs using serverless architecture with AWS Lambda can deliver advantages like pay-per-request pricing and no infrastructure management but also presents challenges such as cold starts and vendor lock-in. To optimize HTTP request routing in Lambda functions, the author implemented a custom router called LambdaMux using a radix tree for efficient matching, competing with existing solutions such as aws-lambda-go-api-proxy and LmdRouter. Benchmarks show LambdaMux offers performance improvements, particularly in high-throughput scenarios. Future enhancements may include adding middleware support and query parameter parsing.

  14. 14
    Article
    Avatar of medium_jsMedium·2y

    Learning Rust: Hello AWS

    Learn how to write and deploy an AWS Lambda function in Rust, including testing locally, deploying using ZIP files or ECR, and handling HTTP requests with AWS API Gateway.

  15. 15
    Article
    Avatar of tinybirdTinybird·2y

    3 ways to run real-time analytics on AWS with DynamoDB

    Amazon DynamoDB is optimized for real-time transactional uses but falls short for analytical workloads. This post covers three ways to extend DynamoDB for real-time analytics by integrating it with other AWS technologies like Lambda, ElastiCache for Redis, and Tinybird. It explains how each approach works, including their pros and cons, for generating low-latency aggregated data for user-facing applications.

  16. 16
    Article
    Avatar of lpythonLearn Python·1y

    Lambda!! 🤔

  17. 17
    Article
    Avatar of theburningmonktheburningmonk.com·2y

    How to build a Leaderboard service with Momento: a step-by-step Guide

    Learn to build a scalable leaderboard service using Momento's Sorted Set collections with a step-by-step guide. The guide covers creating API routes for submitting scores, getting user rankings, and listing leaderboard entries, all implemented with AWS Lambda and API Gateway. It also provides tips for securely handling API keys with AWS Systems Manager Parameter Store.

  18. 18
    Article
    Avatar of awstipAWS Tip·2y

    Secure AWS Lambda: JWT Token Authentication Using Node JS.

    Learn how to use JWT token authentication to enhance security in your AWS Lambda setup.

  19. 19
    Article
    Avatar of devtoDEV·2y

    Spring Boot 3 application on AWS Lambda - Part 10 Measuring cold and warm starts with Spring Cloud Function

    The post details techniques for measuring and optimizing cold and warm start times for a Spring Boot 3.2 application deployed on AWS Lambda. It explains how to enable AWS SnapStart and apply various priming techniques, including DynamoDB invocation and API Gateway request priming, to reduce startup times. The results of experiments with different configurations are shared, showing significant improvements in cold start times when SnapStart and priming methods are used.

  20. 20
    Article
    Avatar of awstipAWS Tip·2y

    The Lambda Handler Pattern: A Journey in Go

    This post discusses the Lambda Handler Pattern in Go for writing scalable and reliable Lambdas.

  21. 21
    Article
    Avatar of theburningmonktheburningmonk.com·2y

    Here is one of the most misunderstood aspects of AWS Lambda

    Understanding AWS Lambda's throttling behavior is crucial. While synchronous invocations check for throttling limits, asynchronous invocations don't face immediate throttling issues as requests go through an internal queue. However, retries for failed async invocations happen up to 6 hours only. This clarification suggests you may not need SNS topics solely to prevent throttling errors, leading to fewer complexities and costs.

  22. 22
    Article
    Avatar of communityCommunity Picks·2y

    Sidecar Docs

    Sidecar is a package for Laravel that deploys and executes AWS Lambda functions. It supports multiple runtimes like Node.js, Python, Java, .NET, and Ruby, and works with Laravel versions 7-10. Sidecar simplifies the deployment of non-PHP functions within Laravel applications, but it does not manage other services like API Gateway or databases.

  23. 23
    Video
    Avatar of webdevcodyWeb Dev Cody·2y

    This is when serverless can be useful

    The post explores how serverless architecture, specifically AWS Lambda, can be leveraged to efficiently remove backgrounds from images. It details a setup where images are processed using a local UI, an SQS queue, and Lambda functions. The advantages of serverless for handling bursty workloads are highlighted, compared to a dedicated server. Concerns about costs, privacy, and trade-offs between different approaches are also discussed.

  24. 24
    Article
    Avatar of hnHacker News·2y

    myzie/burrow: Burrow is a globally distributed HTTP proxy via AWS Lambda

    Burrow is a serverless, globally-distributed HTTP proxy for Go built on AWS Lambda, compatible with standard `*http.Client`. It supports round-robin transport for multiple Lambda functions, useful for development, load testing, privacy, geo-restriction bypass, and API rate limiting. Burrow includes Terraform configurations for easy deployment across 17 AWS regions.

  25. 25
    Article
    Avatar of circleCircleCI·2y

    Build and deploy a Dockerized OpenCV application on AWS Lambda

    Learn how to build and deploy an OpenCV application to AWS Lambda using Docker. This guide walks through creating an OpenCV function to convert images to grayscale, containerizing it with Docker, and deploying using CircleCI for continuous integration and deployment.