Python
TIL: Debugging Python segfaults with faulthandler
Introduction Recently, I encountered regular segfaults in one of the Python applications I was working on. During my investigation, I discovered a simple yet remarkable utility called faulthandler,...
read articleAutomatic detection of recursive loops with AWS Lambda
Introduction You probably saw a lot of horror stories involving a Lambda function going crazy and racking up a giant AWS bill. When I was just starting out, I remember being afraid to make such a...
read articleDeploying FastAPI app to AWS Lambda with Serverless Framework
Introduction If you're like me, from time to time you want to just create a simple API and quickly share it with others. FastAPI is a modern, Python-based web framework that allows to build such APIs...
read articleSecuring your Lambda function URLs with AWS IAM
Introduction For a long time, the only way to expose your Lambda functions over HTTP was to use AWS API Gateway service. As of April, 2022 that is no longer the case, as AWS introduced a new feature...
read articleMaking NumPy (and other problematic Python packages) work seamlessly with AWS Lambda using Serverless Framework
Introduction AWS Lambda is a great solution for running Python code in serverless manner. Unfortunately, managing dependencies for your serverless Python applications can often be a struggle. If...
read article