It’s useful to think of threads simply in terms of tools that provide the ability to execute pieces of code asynchronously. Before async-await and Future…
Tag: node
Prevent Redis client from crashing your Node.js app
Posted on under Coding & Tech — 1 CommentRedis is a high-performance in-memory database that is often used for data caching on server-side. The redis npm package makes is nice & easy to use Redis to cache data in a Node app. If you are new to Redis, you will find this tutorial on Coligo helpful in implementing data caching in your own […]
Authentication for your Node/Express based APIs
Posted on under Coding & Tech — Leave a commentThis post is not a tutorial, just some thoughts on the topic. There are plenty of tutorials out there that talk about protecting your RESTful Node/Express based APIs using some form of token-based authentication. Some of them are pretty straightforward to follow, some not. But most of them have one thing in common — delegating the […]