Node.js and zero servers
Node.js and zero serversThis post was originally posted on the Torii blogAt Torii, we’ve been running Node.js + Serverless in production for the past 4 years. Here’s a summary of why we decided on this...
View ArticleDon’t ask for help
I was assigned with a difficult task at my first real¹ programming job — I had absolutely no idea how to approach it.I decided to reach out to my team members to get some guidance towards the solution....
View ArticleConfiguring a Node.js app for CircleCI v2
CircleCI v1 was so simple to configure, but for v2 I had to spend a lot of time creating a basic working test-build-deploy workflow.So just dropping it here in case anybody finds it...
View ArticleLessons Learned — A Year Of Going “Fully Serverless” In Production
Photo by Aaron BurdenAt Torii, we decided to go the no-ops path as much as possible meaning we’ll focus all our efforts on our product and not on operations. While we enjoy doing devops, that’s not our...
View ArticleThe Non-Secret Formula for Writing Better Code
There’s no such thing as twoDisclaimer: everything in this post is my own opinion. However, it’s 100% true and you should not question it. Let’s get started.I love writing clean code. I want my team at...
View ArticleThe big secret of small improvements
Photo by James WainscoatA small improvement on its own is insignificant, but together they make a huge impact.Every other Monday¹, we stop everything we’re doing and devote our day to make our product...
View ArticleAdding the missing features to GitHub Pull Requests
I love GitHub, but their interface for code reviews and pull requests needs some work. So instead of just complaining, here’s a Chrome Extension that adds a file tree view to pull requests as well as...
View ArticleThe schema verifies that the wrapper is set up correctly. This is similar to...
The schema verifies that the wrapper is set up correctly. This is similar to how Hapi works.If I’m missing something, please share the difference you see.
View Article3 revolutionary products: to-do list, history tracker, and a productivity app
Well, today, I’m introducing three revolutionary products:The first one is a to-do list.The second is a history tracking system.And the third is a breakthrough productivity app.These are not three...
View ArticleKeeping your Lambda functions safe with Joi
We’re big fans of Serverless functions at Torii, and we’re always looking for ways to increase the robustness and our productivity.Photo that has nothing to do with Lambda fucnctions by Matthew MOne of...
View ArticleTo make a great web application — create an awesome website
What makes web applications fun and easy to use? Following the best practices of a regular website can make Single-Page-Applications shine.Continue reading on The Startup »
View ArticleImmutable means “something that can not change”.
Immutable means “something that can not change”. So using a ‘const’ says to the reader of the code that the value will not change later in the code.
View ArticleThanks for sharing.
Thanks for sharing. I’m sure the internal details will change over time and not everything is known. This is an implementation detail of AWS and I agree we should all write code that can be executed on...
View ArticleSmart server side rendering can decide what is the critical CSS to inline on...
Smart server side rendering can decide what is the critical CSS to inline on the HTML and what to defer to a different file — leading to much better performance than doing it by hand. Check out...
View ArticleThe lambdas also give you high availability.
The lambdas also give you high availability. So with EC2 you’ll need at least 2 + a load balancer. You also pay for low traffic times (weekends?) as well as high traffic time. So it varies per...
View ArticleThanks.
Thanks.This might have been true for C/C++, but in JS the length property of the array is accessible in the same amount of time as a local variable.
View ArticleYou can use the AWS RDS service for a relational database
You can use the AWS RDS service for a relational database
View ArticleThe switch is very simple.
The switch is very simple. It’s just a function — so it’s super easy to move between providers. Or even deploy the same one on multiple clouds.There are a few advantages like paying only for...
View ArticleAs with any non-atomic updating system, you’ll need to have backward...
As with any non-atomic updating system, you’ll need to have backward compatibility (or decide it should fail safely during the update phase)
View ArticleThe logging frameworks usually rely on always-on servers and they keep the...
The logging frameworks usually rely on always-on servers and they keep the event loop running with flush intervals. Configuring the lambda to not wait for the event loop seemed simple but caused a lot...
View Article