Continuing my exploration into the idea of having locally-executable APIs/applications that will eventually be deployed as #Python #AWS #LambdaFunctions. At this point, I have a working local #FastAPI process that maps requests to a defined Lambda Function handler.
https://goblinfish-code.blogspot.com/2025/06/local-aws-api-gateway-development-with_01470362335.html
Local AWS API Gateway development with Python: The initial FastAPI implementation

Based on some LinkedIn conversations prompted by my post there about the previous post on this topic , I feel like I shoul...

While trudging through my day-to-day activities, I had an inspiration about how to implement local #API access for #AWS #APIGateway code using #Python #LambdaFunctions for back-end logic, by overriding #FastAPI and #Flask #decorators.

https://goblinfish-code.blogspot.com/2025/06/local-aws-api-gateway-development-with.html

Local AWS API Gateway development with Python: Dissecting decorators

Yes, I'm still poking around at the goblinfish.testing.pact package in the background. It's going slowly, since I've been dea...

This idea centers around making local development, testing, and debugging of #AWS #APIGateway efforts, backed by #LambdaFunctions, easier and faster than relying on tools like sam local.

Anyway, as I continue down this path, what this means is "if I'm going to execute Lambdas", the correct response is to optimize around execution speed and concurrence, while reducing memory footprints as much as possible.

Except, because of how the local Lambda runtime works, the default memory assigned to the container is going to be far in excess of the running Lambda in AWS.

So, if you're going to properly emulate the running Lambda, the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE for the container has to be set to the lowest amount of RAM the function can use, and the function needs to be as efficient as it can be about memory usage, and run concurrently as possible.

TLDR; write efficient code, use stuff that doesn't need a bunch of RAM.

#AWS #lambdafunctions #TheHorrorsPersist

Troubleshooting AWS Lambda Python LZ4 issues? Learn how to resolve the "lz4 codec is supported but you need to install python-lz4" error using containerization, version pinning, and robust testing. #AWSSolutions #LambdaFunctions #PythonProgramming #ServerlessComputing #LZ4Compression #CloudComputing
https://tech-champion.com/cloud-computing/aws-lambda-python-lz4-error-lz4-codec-is-supported-but-you-need-to-install-python-lz4

Why do I feel like Lambda functions are like the new shiny versions of CGI scripts from the 1990s?

#WebDevelopment #lambda #LambdaFunctions

Anonymous functions a.k.a. Lambda functions are very useful in Python.
Lambda Expressions & Anonymous Functions || Python Tutorial || Learn Python Programming #anonymousfunctions #python #python3 #lambdafunctions
https://www.youtube.com/watch?v=25ovCm9jKfA
Lambda Expressions & Anonymous Functions || Python Tutorial || Learn Python Programming

YouTube