7 ways to improve Node performance
#415 — November 25, 2021
Getting Started with Validation in Node — You’ve got a webapp and you want to validate the data it’s sent, but there are lots of options. Here Simon breaks down one approach using JSON schemas along with Ajv.
Seven Ways to Improve Node Performance at Scale — Some basic advice including using timeouts and caching, profiling and monitoring your code, and how clustering and load balancing can help.
Another Bug Bites the Dust — AppSignal is an easy-to-use error and performance monitoring tool. We support the most popular Node.js frameworks and packages out-of-the-box. All features are included in all plans. Start a trial and send us your address for a box of Dutch cookies.
node-safe: Deno-Style Security Permissions for Node on macOS — Yes, it’s macOS only as it uses macOS’s native sandboxing features, but this is an interesting project nonetheless and can be used to scope a Node app’s access to the file system, network, or ability to spawn processes.
Eric Cabrel Tiogo
Extracting Image Metadata (EXIF) using Node — Extra data can sometimes be stored inside images, such as geolocation coordinates, text strings, and more, and it can be extracted from Node code.
MicroDiff: Lightweight, No Dependency Object and Array Comparison Library — Given two objects or arrays, it returns the differences. Boasts high performance and TypeScript support.
Backend Developer (Node.js), EU ONLY — Do you want to do impactful work that will be deployed to millions of citizens weekly? Do you want your input to be heard and taken into consideration? Apply and create a digital future with us.
Senior Software Engineer (Frontend, Remote) — We’re hiring a software engineer to join our team working on PSPDFKit for Web. We are building a modern PDF SDK with technologies like React, TypeScript, and WebAssembly.
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
🛠 Code & Tools
ElectroDB: A DynamoDB Library to Make Single Table Designs Easier — DynamoDB is AWS’s super scalable NoSQL database service and a common approach when using it is to implement a ‘single table design’ for storing your app’s data. ElectroDB makes such designs and the entities associated with them easier to work with from Node.js.
Tyler W. Walch
Polly 5.2: Record, Replay, and Stub HTTP Interactions — Works in both Node and the browser and gives you a lot of control over recording, replaying and intercepting HTTP requests made from your test suites.
Progress.js: Customizable CLI Progress Bars — We like the bit appended to the license here: “Do whatever you want with my code just don’t make it boring”.
Nathan P. Bombana
Cloudflare Wrangler 2.0 Beta: An Improved Workers Dev Experience — Wrangler is Cloudflare Workers’ developer tool complete with a live development environment and live debugging of functions. Kristian Freeman, one of Cloudflare’s developer advocates, has called it “a mind-boggling seismic shift in developer experience.”
Partovi and Pai (Cloudflare)
np 7.6.0: A Better npm publish — Makes the process of publishing a package smoother with an interactive UI, checks that you’re publishing the right thing, runs tests, pushes commits and tags, etc.
Wallpaper: Manage Desktop Wallpaper on macOS, Linux and Windows — Could be a nice way to script changes if you like to have desktop wallpaper. I’m a bit boring.. it’s just solid black for mine 😆
Nandu: Alternative NPM Registry Software — Nandu provides an open source NPM registry that can be used with all the major tools. There’s a focus on security in multi user and team environments, but they’re keen to have people test it out before they can bill it truly production ready.
Jira REST API Node.js Wrapper v8.0
Surowiec, Wayman, and Smith