All Posts
Solving the Cold Start Problem
I have a serious problem: I love AWS Lambda! In fact, I love it so much that I've pretty much gone all in on this whole #serverless thing. My only problem is Cold Starts, especially for my API use cases. Read the solution I proposed to the Lambda team.
How To: Manage Serverless Environment Variables Per Stage
Using STAGES and ENVIRONMENT variables together in your Serverless project can create a really powerful workflow for you and your development team. Learn how to properly configure your environments per stage.
Lambda API: v0.5 Released
v0.5 takes advantage of AWS Lambda's recently released support for Node v8.10 and has removed its Bluebird promise dependency in favor of async/await. Lambda API is now faster and adds built-in CORS support, additional wildcard features, new HTTP header management methods and more.
How To: Stub ".promise()" in AWS-SDK Node.js
Appending AWS-SDK's ".promise()" to the end of calls is a clean and simple way to create asynchronous operations. Stubbing these calls with Sinon.js tests can be a bit tricky, but this article explains exactly how to do it without modifying production code.
How To: Manage RDS Connections from AWS Lambda Serverless Functions
Managing database connections with AWS Lambda functions can become an issue when your application reaches scale. Learn strategies for managing your RDS connections in a serverless application.
Lambda API: v0.4 Released
Lambda API: v0.3.0 released
How To: Normalize URLs Stored in MySQL
After discovering an issue with a partner's URL redirection implementation, we had to change our strategy and clean up our database with a simple query to normalize URLs.
Lambda API: v0.2.0 released
Is Code Really Self-Documenting?
Learn how to better document your software by writing cleaner code, following some general commenting etiquette, and commenting more effectively to make you and your team more productive.
Lambda API: v0.1.1 patch released
Securing Serverless: A Newbie's Guide
A practical guide to security for your serverless applications. Learn best practices, how to mitigate risks, and how to keep your users' data safe.
How To: Build a Serverless API with Serverless, AWS Lambda and Lambda API
Learn how to build a serverless API using the Serverless framework, AWS Lambda, and the Lambda-API node module.
Lambda API: v0.1.0, first stable version released
How To: Stub AWS Services in Lambda Functions using Serverless, Sinon.JS and Promises
If you are trying to run tests on your Lambda functions that interact with AWS Services using the aws-sdk node module, then this post is for you. Learn how to easily stub these services with Sinon.js.