---
title: "7 ways to improve Node performance"
publication: "Node Weekly"
issue: 415
published_at: "2021-11-25"
canonical_url: "https://nodeweekly.com/issues/415"
---

Plus a lot of tools, libraries, and releases. |        

#​415 — November 25, 2021 

[Read on the Web](https://nodeweekly.com/issues/415)   

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/ttpzeewzfvtpxr0bqqfg.jpg)](https://simonplend.com/get-started-with-validation-in-node-js/)  

[Getting Started with Validation in Node](https://simonplend.com/get-started-with-validation-in-node-js/) — 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](https://github.com/ajv-validator/ajv). 

Simon Plenderleith   

[Seven Ways to Improve Node Performance at Scale](https://blog.appsignal.com/2021/11/24/7-ways-to-improve-nodejs-performance-at-scale.html) — Some basic advice including using timeouts and caching, profiling and monitoring your code, and how clustering and load balancing can help. 

Ayooluwa Isaiah   [![\](https://copm.s3.amazonaws.com/2378a426.png)](https://www.appsignal.com/nodejs?utm_source=node-weekly-sponsored&utm_medium=email&utm_campaign=2021-25-11) 

[Another Bug Bites the Dust](https://www.appsignal.com/nodejs?utm_source=node-weekly-sponsored&utm_medium=email&utm_campaign=2021-25-11) — 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](https://github.com/berstend/node-safe) — 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 React](https://blog.tericcabrel.com/implement-server-sent-event-in-node-js/) — [Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-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](https://t.co/TxXCIvzZlV?amp=1) — 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](https://go.lightstep.com/register-beyond-onclick-guide-co21?utm_campaign=node&utm_source=cooper&utm_medium=Email) 

Lightstep sponsor   

[Fiddle: The Easiest Way to Get Started with Electron](https://github.com/electron/fiddle) — 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](https://github.com/AsyncBanana/microdiff) — Given two objects or arrays, it returns the differences. Boasts high performance and TypeScript support. 

AsyncBanana    

💻 Jobs  

[Backend Developer (Node.js), EU ONLY](https://devsdata.com/careers/backend-engineer-node-js/) — 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)](https://jobs.lever.co/pspdfkit/17b19aa3-682e-4f90-9a8a-655034150ffa) — We’re hiring a software engineer to join our team working on [PSPDFKit for Web](https://pspdfkit.com/pdf-sdk/web/). We are building a modern PDF SDK with technologies like React, TypeScript, and WebAssembly. 
PSPDFKit   

[Find Tech Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-nodeweekly%29&utm_content=find-your-next-job) — 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 Easier](https://github.com/tywalch/electrodb) — [DynamoDB](https://aws.amazon.com/dynamodb/) is AWS’s super scalable NoSQL database service and a common approach when using it is to implement a [‘single table design’](https://www.alexdebrie.com/posts/dynamodb-single-table/) 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](https://github.com/Netflix/pollyjs) — 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.   

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/ahyvyrusltnkckaxfcdw.jpg)](https://github.com/NathanPB/progress.js)  

[Progress.js: Customizable CLI Progress Bars](https://github.com/NathanPB/progress.js) — 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](https://blog.cloudflare.com/wrangler-v2-beta/) — _Wrangler_ is [Cloudflare Workers’](https://workers.cloudflare.com/) (a serverless platform) 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`](https://github.com/sindresorhus/np) — 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](https://get.mux.com/3weppe1) 

Mux sponsor   

[Wallpaper: Manage Desktop Wallpaper on macOS, Linux and Windows](https://github.com/sindresorhus/wallpaper) — 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](https://github.com/taskforcesh/nandu) — 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](https://github.com/thelounge/thelounge) 
The Lounge   

[Node.js Client for Google Cloud Firestore v5.0](https://github.com/googleapis/nodejs-firestore) 
Google   

[Jira REST API Node.js Wrapper v8.0](https://github.com/jira-node/node-jira-client) 
Surowiec, Wayman, and Smith    

**Got a new email?** You can [change your address here](https://nodeweekly.com/edit_subscription/*|UID|*). 

--- 

**Bored of us?** [Click here to stop getting Node Weekly](https://nodeweekly.com/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll look at anything you send. Thanks! 

--- 

**Want to sponsor?** Email `[kristina@cooperpress.com](mailto:kristina@cooperpress.com)` for details. 

--- 

Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter.](https://nodeweekly.com/leave/*|UID|*)
