Node or Python for Lambda. I have used both. Here is the honest answer. I am a Node person. Always have been. So when I first started writing Lambda functions Node was the obvious pick. Familiar syntax, fast cold starts, same language as the rest of my stack. Made sense. Then projects started pushing me toward Python. And you know what. It also made sense. Here is how I actually think about it now. If my Lambda is doing API work, event processing, or anything that sits close to a JavaScript frontend or Node backend I reach for Node. The cold start performance is better for latency sensitive functions and keeping the language consistent across the stack reduces the mental overhead. If my Lambda is doing anything data heavy, touching AI models, or working with Python libraries that simply do not exist in the Node ecosystem I reach for Python. The tooling is just better for that kind of work. Trying to force Node into an AI or data pipeline feels like fighting the current. The honest answer is neither runtime is the right answer every time. The use case picks the runtime. Not the other way around. I still lean Node when it is a coin flip. But I have stopped pretending it wins everywhere. Anyways that's my two cents. What do you default to for Lambda and has a project ever made you switch? #AWS #Lambda #NodeJS #Python #Serverless #FullStack #CloudArchitecture #TechLead #Sydney
This is the right mentality every software engineer should adopt. Most online tech wars wouldn't exist if this was the norm 😅
What do you default to for Lambda and has a project ever made you switch?