---
title: "Node 13.6, a new Postgres client, and memory leaks demystified"
publication: "Node Weekly"
issue: 320
published_at: "2020-01-09"
canonical_url: "https://nodeweekly.com/issues/320"
---

This week's Node news       

#320 — January 9, 2020 

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

Node Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/xqmwzggtsscpb2okwrtt.jpg)](https://blog.plaid.com/how-we-parallelized-our-node-service-by-30x/)   

[How We 30x-ed Our Node Parallelism](https://blog.plaid.com/how-we-parallelized-our-node-service-by-30x/) — An interesting write up of how one team safely increased the parallelism of their Node-based service. You might find things to argue with here, but this is real world stuff. 

Plaid   

[Node v13.6.0 (Current) Released](https://nodejs.org/en/blog/release/v13.6.0/) — The usual tweaks and minor improvements. [perf_hooks](https://nodejs.org/api/perf_hooks.html) is [no longer experimental](https://github.com/nodejs/node/pull/31101), the REPL gains zsh-style reverse searching, and there are [two new `assert` methods](https://github.com/nodejs/node/pull/30929) for when using regular expressions (`assert.match` and `assert.doesNotMatch`). 

Node.js   [![\](https://copm.s3.amazonaws.com/652acc9c.png)](https://dashboard.redisgreen.net/nodeweekly) 

[The Easiest Way to Run Redis](https://dashboard.redisgreen.net/nodeweekly) — Better monitoring, seamless scaling, durable and portable Redis hosting supporting all the latest features. 

RedisGreen sponsor   

[Postgres.js: A Fast, Full-Featured Postgres Client for Node](https://github.com/porsager/postgres) — Claims to be the _fastest_ even (at 2-10x faster than the popular `pg` module) but we’ll let you be the judge of that :-) 

Rasmus Porsager   

[npm Security 2019 in Review](https://blog.npmjs.org/post/190109399410/npm-security-2019-in-review) — npm Inc’s VP of Security, Adam Baldwin, shares a variety of stats relating to the security of the npm repository over the past year. A stand out is that only 9.27% of package maintainers are using 2FA so far (consider correcting that ASAP if you’re one of the 90% left! 😄) 

The npm Blog   

[Node.js Gets a 'Web Server Frameworks Team'](https://github.com/nodejs/web-server-frameworks/) — The Node project has a lot of teams and working groups focused on different areas. Now it has a group for framework authors and users to collaborate on how backend frameworks and Node.js core work together. 

Node.js  

💻 Jobs  

[Node.js Developer at X-Team (Remote)](https://x-team.com/remote-nodejs-developer-jobs/?utm_source=cooperpress&utm_medium=email-ad&utm_campaign=node) — Work with the world's leading brands, from anywhere. Travel the world while being part of the most energizing community of developers. 

X-Team   

[Find a Job Through Vettery](https://www.vettery.com/tech?utm_source=newsletter&utm_medium=cooper-nodeweekly&utm_term=tech&utm_content=grouped&utm_campaign=ad-88879) — Vettery is completely free for job seekers. Make a profile, name your salary, and connect with hiring managers from top employers. 

Vettery  

📚 Tutorials 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/durlzgre0fykvzspmhgr.jpg)](https://nodesource.com/blog/memory-leaks-demystified)   

[Memory Leaks Demystified](https://nodesource.com/blog/memory-leaks-demystified) — Tracking down memory leaks in Node apps is a perennially popular topic, partly because there’s always something to learn and another angle to take. You’ll learn something about V8 and using Node and the Chrome DevTools to track down memory leaks here. 

Giovanny Gongora   

[Monitoring Node: Watch Your Event Loop Lag](https://davidhettler.net/blog/event-loop-lag/) — ‘Event loop lag’ is an essential, but often overlooked performance metric for Node apps. What is it and why does it matter? 

David Hettler   

▶[Why GitHub Actions Is This Developer's New Favorite Programming Tool](https://www.youtube.com/watch?v=J4EhgEskSZA) — While Github Actions is commonly associated with deployment and pipelines, it’s ultimately an engine for running JavaScript in the cloud, and that opens up some neat use cases as demonstrated here. _17 minutes._ 

Kristian Freeman   

[MongoDB in Production: How Connection Pool Size Can Bottleneck App Scaling](https://medium.com/@kyle_martin/mongodb-in-production-how-connection-pool-size-can-bottleneck-application-scale-439c6e5a8424) — See how MongoDB connection pools and pool sizing works and how getting the settings right is key to scaling your app. 

Kyle Martin   

▶[Building a Web Scraper with Node and Cheerio](https://www.youtube.com/watch?v=M2edy0vDovo) — Remember that you need to be careful and consider the ethics of any scraping you do. 

Coding Shiksha  

🛠 Tools, Resources and Libraries  

[Mocha 7.0 Released: The Popular JavaScript Test Framework](https://github.com/mochajs/mocha) — Mocha has been a popular go-to test framework for both Node and the browser for _years_ now. [7.0.0](https://github.com/mochajs/mocha/releases/tag/v7.0.0) isn’t a _huge_ release but drops Node 6 support and makes enough changes and deprecations to warrant the version update. 

Mocha   

[Faster CI/CD for All Your Software Projects Using Buildkite](https://buildkite.com/?pk_campaign=nodeweekly-090120&pk_source=cp-nodeweekly&pk_medium=newsletter) — See how Shopify scaled from 300 to 1500 engineers while keeping their build times under five minutes. 

Buildkite sponsor   

[QA Wolf: Create Puppeteer/Jest Browser Tests 10x Faster](https://github.com/qawolf/qawolf) — A tool that translates your browser actions into Puppeteer and Jest browser tests. 

QA Wolf   

[string-similarity: Finds Degree of Similarity Between Two Strings](https://github.com/aceakash/string-similarity) — Uses the [_Sørensen–Dice coefficient_](https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient) which is better than Levenshtein distance for many use cases. 

Akash K   

[isBinaryFile: Detects if a File is Binary or Text](https://github.com/gjtorikian/isBinaryFile) 

Garen Torikian   

[The Big List of Naughty Strings](https://github.com/minimaxir/big-list-of-naughty-strings) — A list of strings that have a high probability of causing issues when used as user-input data. Try pushing these into your apps and services. 

Max Woolf     

🕰 **ICYMI** _(Some older stuff that's worth checking out...)_ 

- Releasing something? Checking [Node.js module sub-dependencies licenses](https://medium.com/codewind/checking-node-js-sub-dependencies-licenses-for-usage-and-redistribution-58fe70a77847) for usage and redistribution is part of the legal work you'll need to consider.
- Need to access USB and Bluetooth devices through Node? The [node-hid library](https://github.com/node-hid/node-hid) may be what you're looking for.
- Alexander Nnakwue explains [how to get to grips with the Elasticsearch query body builder](https://blog.logrocket.com/elasticsearch-query-body-builder-node-js/) in Node.
- Islam Elgohary runs through some [Node testing essentials](https://dev.to/ielgohary/node-testing-essentials-a-node-developer-s-guide-to-testing-m16) in this straightforward guide.         

Curated by [Cooperpress](https://cooperpress.com/) and [Peter Cooper](https://twitter.com/peterc). 

[Change your email address](https://nodeweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://nodeweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
