What have I been up to? Late 2017 Edition

Posted by & filed under Node.js, Personal.

This year I will have spoken at least 14 events including 11 meetups and 3 conferences. Teaching is a huge passion of mine but I must admit I did have a secondary goal. That goal is of course to promote and sell copies of my most recent book, Advanced Microservices! After a presentation I pick… Read more »

Is it time to replace REST with RPC?

Posted by & filed under APIs, Node.js.

Here’s an article I wrote and published on Medium (as an experiment of sorts): Is it time to replace REST with RPC? The article is based on some talks I’ve given as well as my recent areas of research. Depending on levels of engagement I might start posting there more often ;)

Refactoring a Node.js codebase using Async/Await

Posted by & filed under JavaScript, Node.js.

This week I refactored a Node project of mine from the traditional Node callback pattern to the recently available Async/Await pattern. This pattern is available without transpiling code as of Node v8.3. In this post I’ll walk you through a small example of this conversion. This particular project is by no means large; it consists… Read more »

Redis and Node Part 4/4: Lua Scripting

Posted by & filed under Node.js, NoSQL.

This is the final part in this series on using Redis with Node.js. The content of these posts is partially adapted from my book, Advanced Microservices. There is also a companion presentation, Node, Redis, and You!, which I’ve given at several meetups and a conference. The nice thing about the MULTI / EXEC commands is that they… Read more »

Redis and Node Part 3/4: Atomicity with MULTI

Posted by & filed under Node.js, NoSQL.

This is part three of a four part series on using Redis with Node.js. The content of these posts is partially adapted from my book, Advanced Microservices. There is also a companion presentation, Node, Redis, and You!, which I’ve given at several meetups and a conference. Issuing single commands in Redis are atomic, which means they’re self… Read more »

Redis and Node Part 2/4: Shared State

Posted by & filed under Node.js, NoSQL.

This is part two of a four part series on using Redis with Node.js. If you’re wondering how we got here take a look at Redis and Node Part 1: The Basics. The content of these posts is partially adapted from my book, Advanced Microservices. There is also a companion presentation, Node, Redis, and You!, which I’ve… Read more »

Redis and Node Part 1/4: The Basics

Posted by & filed under Node.js, NoSQL.

This is part one of a four part series on using Redis with Node.js. The content of these posts is partially adapted from my book, Advanced Microservices. There is also a companion presentation, Node, Redis, and You!, which I’ve given at several meetups and a conference. Introduction to Redis At its heart, Redis is an… Read more »

SF Node November 2016 – Node, Redis, and You!

Posted by & filed under Node.js, Redis.

Here’s a recording of my talk from the November SFNode Meetup. In this talk I discuss using Redis with Node.js, how to use it for sharing state between multiple Node.js processes, and how to perform atomic operations using MULTI/EXEC and EVAL/EVALSHA. You can also View the Presentation directly if you don’t want to hear me… Read more »