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.

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: 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.

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.

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.