7 ways to improve Node performance

7 ways to improve Node performance

#​415 — November 25, 2021

Read on the Web

Node Weekly

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.

Simon Plenderleith

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.

Ayooluwa Isaiah

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.

AppSignal sponsor

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.

berstend

Implementing Server-Sent Events (SSE) in Node and ReactServer-Sent Events (SSE) is an often overlooked technology for sending live updates from a backend server to a frontend client without refreshing the page or endless polling from JavaScript. This is a basic example.

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.

David Herron

Beyond onClick: Handling Events in React

Lightstep sponsor

Fiddle: The Easiest Way to Get Started with Electron — If you’ve wanted to play with Electron for building a JavaScript-powered desktop app but didn’t have the time, Fiddle makes it into more of a quick-start ‘playground’ experience.

Electron

MicroDiff: Lightweight, No Dependency Object and Array Comparison Library — Given two objects or arrays, it returns the differences. Boasts high performance and TypeScript support.

AsyncBanana

💻 Jobs

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.

DevsData LLC

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.

PSPDFKit

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.

Hired

🛠 Code & Tools

ElectroDB: A DynamoDB Library to Make Single Table Designs EasierDynamoDB 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.

Netflix, Inc.

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

Sindre Sorhus

Build Video for Your Node App That Just Works

Mux sponsor

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 😆

Sindre Sorhus

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.

Taskforce.sh Inc.

The Lounge: A Modern, Self Hosted Web-Based IRC Client

The Lounge

Node.js Client for Google Cloud Firestore v5.0

Google

Jira REST API Node.js Wrapper v8.0

Surowiec, Wayman, and Smith

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Have no product in the cart!