gateway VS aws-lambda-go-api-proxy

Compare gateway vs aws-lambda-go-api-proxy and see what are their differences.

gateway

Drop-in replacement for Go net/http when running in AWS Lambda & API Gateway (by apex)

aws-lambda-go-api-proxy

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. (by awslabs)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
gateway aws-lambda-go-api-proxy
2 10
647 999
0.3% 3.0%
0.0 4.5
almost 2 years ago 11 days ago
Go Go
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gateway

Posts with mentions or reviews of gateway. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-26.
  • Build Scalable Applications with AWS Lambda and Go
    2 projects | /r/golang | 26 Aug 2021
    We had great success with https://github.com/apex/gateway
  • Ask HN: Does anyone else find the AWS Lambda developer experience poor?
    23 projects | news.ycombinator.com | 18 Apr 2021
    I write Lambda functions in golang. In dev I run the function as local http server. In prod I map a custom domain to the lambda, routing is done internally to the function. API Gateway is only used for the top level route. This workflow is enabled by https://github.com/apex/gateway

    In principle I try to avoid Amazon Web Services that lock me into the platform. So, for my dev stack I run a few other containers to give me the equivalent of the prod environment, RDS (MySQL or PostgreSQL), ES (OpenDistro), S3 (Minio), and SES

aws-lambda-go-api-proxy

Posts with mentions or reviews of aws-lambda-go-api-proxy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-18.
  • Build a Serverless GenAI solution with Lambda, DynamoDB, LangChain and Amazon Bedrock
    6 projects | dev.to | 18 Jan 2024
    I really like the extensibility of LangChain. While I understand that langchaingo may not be as popular as the original python version (I hope it will reach there in due time 🤞), but it's nice to be able to use it as a foundation and build extensions as required. Previously, I had written about how to use the AWS Lambda Go Proxy API to run existing Go applications on AWS Lambda. The AWS Lambda Web Adapter offers similar functionality but it has lots of other benefits, including response streaming and the fact that it is language agnostic.
  • What AWS service do you find most frustrating?
    1 project | /r/aws | 20 Jun 2023
    A frustration shoutout to the aws maintainers that are ignoring PRs that enhance the usability of their services... even for over a year. https://github.com/awslabs/aws-lambda-go-api-proxy/pull/136
  • Running gqlgen + Gin in AWS Lambda
    3 projects | /r/golang | 22 Jan 2023
    Check out https://github.com/awslabs/aws-lambda-go-api-proxy. It will allow you to run gin (or other http servers) in lambda.
  • Is good or the most bad idea write a Lambda AWS using fx package? (Dependency Injection)
    5 projects | /r/golang | 27 Jul 2022
    For REST APIs, I create standard Go HTTP handlers, and use a library like https://github.com/a-h/awsapigatewayv2handler (mine, for API Gateway V2 only), or AWS's https://github.com/awslabs/aws-lambda-go-api-proxy or github.com/akrylysov/algnhsa to convert from Lambda handlers to standard Go HTTP handlers.
  • Serverless application development in Golang with AWS
    2 projects | /r/golang | 5 Jul 2022
    Hey I liked this post, seems really nice. I used Golang for an API in my current work, I used the gorillamux with this library https://github.com/awslabs/aws-lambda-go-api-proxy. It wraps the API into the APIGateway Proxy. You can use it too if you want to create a small API, there are examples with cloudformation there.
  • 101 AWS Lambda tutorial for Go developers — API Gateway
    1 project | /r/golang | 21 Feb 2022
    using {proxy+} on api gateway, route handler needs to be included. People should consider using github.com/awslabs/aws-lambda-go-api-proxy (with gin or mux)
  • Build Scalable Applications with AWS Lambda and Go
    2 projects | /r/golang | 26 Aug 2021
    This does something similar: https://github.com/awslabs/aws-lambda-go-api-proxy
  • Bootstrapping a Startup on AWS with AWS Serverless and Go
    8 projects | dev.to | 17 Jun 2021
    As you can see, we defined that any path and method can trigger our lambda over API Gateway that we had previously created. With this approach and with using this solution with the Go Echo framework, we reduced the number of lambdas (also with this approach we solved the problem with a hard limit of total size that all lambdas can have). Using the aws-lambda-go-api-proxy with echo framework we defined a REST controller that is managing real paths and methods that our lambda consumes.
  • Cloud Serverless Lock-in doesn't exist (if your Team knows Hexagoxal Architecture)
    2 projects | dev.to | 26 Apr 2021
    For our example which use the Go Gin framework, to minimize the changes we could also use the great AWS Lambda Go API Proxy. You can find an example of lambda function in the article repository
  • How do you guys debug AWS Lambda locally with SAM?
    2 projects | /r/golang | 14 Jan 2021
    AWS actually provides wrappers for most HTTP handler functions in their adapter package: https://github.com/awslabs/aws-lambda-go-api-proxy

What are some alternatives?

When comparing gateway and aws-lambda-go-api-proxy you can also consider the following projects:

faasd - A lightweight & portable faas engine

hexagonal-architecture

aws-lambda-runtime-interface-emulator

aws-sam-cli - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM

cloudfront-autoindex - AWS Lambda to work around index.html S3/CloudFront mess

tflint - A Pluggable Terraform Linter

lambda-functionurl-dynamodb-sam-go - Use Lambda Function URL to write a Serverless app backed by DynamoDB

go-lambda - Template project for working with AWS Lambda and Go

docker-lambda - Docker images and test runners that replicate the live AWS Lambda environment

gqlgen-lambda - My implementation prototype on how to run a zero cost graphql layer in lambda with Go and GqlGen

serverless-offline - Emulate AWS λ and API Gateway locally when developing your Serverless project

LocalStack - 💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline