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 »

Random Meetup Attendee Bookmarklet

Posted by & filed under Uncategorized.

Here’s a bookmarklet I created for selecting a random attendee of a Meetup. I use it for giving away copies of my book after giving a talk. To use it, click and drag the below link onto your toolbar. Once you’re on a meetup event page you can click the link in your bookmark bar… Read more »

2017: A Central Europe Odyssey

Posted by & filed under Travel.

I look at the watch securely strapped to my wrist and see that it’s 4am, which means I haven’t slept in about 48 hours. The heat in the hostel room is palpable and the open window doesn’t so much provide a breeze as it provides a constant stream of drunken German conversation and the sound… 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 »