Best of AWS LambdaJuly 2024

  1. 1
    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.

  2. 2
    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.

  3. 3
    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.

  4. 4
    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.