Lessons we learned in our first serious Serverless project.
I've been working on a fairly substantial Serverless project over the last week and I wanted to offer some thoughts to developers considering Lambda-styled infrastructure.
Usually when I say "Serverless", I mean the architectural style of using Lambdas on hosted infrastructure and not the Serverless project. I will . . .
Tips for Professionals thinking about making a go of the remote lifestyle.
There are a lot of misconceptions about working remotely. Many people think it's the ultimate way to liberate themselves from the confines of a traditional office -- with their new found freedom they will be able to dictate their own hours, be location independent, and perhaps work less.
In practice, however, I've come to . . .
Please understand what's really important when it comes to the benefits of a platform.
Unless you know the differences in the process and concurrency models of Java and Node, don't write a benchmark comparing the two. It will be silly to those who know the difference and misleading to those who don't.
For those deciding between the two platforms understand that performance isn't the only . . .
npm install --save lodash async moment
In fact, I find these three libraries so essential, I don't think you'll find a single project I've touched without them. Each library satisfies what I consider a general short coming in . . .
Need SSL or Basic Auth? Standup a proxy in less than 5 minutes using Nginx and Docker.
I needed to secure (basic auth) a
mongo-express instance last night and this little trick with Docker and Nginx blew me away (with how simple it was).
This tutorial assumes you have Docker installed (on Amazon Linux it's as simple as
sudo yum install -y docker).
1. Generate a password file:
You will need to have . . .
The architectural consequences of using UUID/GUID's may outweigh their benefits.
For the purpose of this post, I will use UUID (Universally Unique Identifier) to mean both UUID and GUID (Globally Unique Identifier, Microsoft's implementation of UUID).
I've been thinking a lot about UUID's lately. The system I've inherited at work is plagued by their usage. To many developers, the UUID . . .
In general, only on the third time of encountering a common behavior should you refactor components to share a common abstraction of that behavior.
Clarification: The abstraction could be an
abstract class or
interface depending on the use case and language.
I've generally used this principle when I'm . . .