Javascript
Avoid JavaScript Template Literals for Building URLs with Query Params
Javascript Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates. Template literals are sometimes informally called template strings, because they are used most commonly for string interpolation (to create strings by doing substitution of placeholders) and has gained popularity very quickly.
Nodejs
Best Practices for Production setup of Nodejs Application: Part II
Nodejs This article is Part 2 of Best Practices for Production setup of Nodejs Application. The focus of this article is on sharing best practices for optimizing performance and ensuring reliability during the development phase.
Nodejs
Best Practices for Production setup of Nodejs Application: Part I
Nodejs Ensuring performance and reliability are critical aspects when deploying applications in a production environment. Optimizing performance involves efficient resource utilization, minimizing response times, and handling high user loads effectively. Reliability entails robust error handling, graceful failure recovery, and implementing fault-tolerant measures to ensure uninterrupted operation.
Nodejs
Health Checks and Graceful Shutdown of Expressjs App using Lightship
Nodejs Expressjs is a fast, unopinionated, minimalist web framework for Node.js. Few functionalities like graceful shutdown, health checks etc are implicitly mandatory features for any production application. When you deploy a new version of your application, you must replace the previous version.
Mongodb
Mongodb Capped Collections - An Overview
Mongodb Capped collections provide fixed-size collections that enable high-throughput operations for inserting and retrieving documents based on their insertion order. They function similarly to circular buffers, where once a collection reaches its allocated space, new documents overwrite the oldest ones in the collection.