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 »

The only bad thing about ES7 async/await

Posted by & filed under JavaScript, Node.js.

Here’s a post I wrote over at my friends collaborative blog site, Code Planet: The only bad thing about ES7 async/await. It adds some further insight into the async/await constructs given to us by ES7, particularly regarding an anti-pattern which I suspect will become very common amongst developers.

The long road to Async/Await in JavaScript

Posted by & filed under JavaScript, Node.js.

This is a comparison of different methods for performing asynchronous control flow in JavaScript, specifically Callbacks, Promises, Generators / Yields (ES6), and Async / Await (ES7). To follow along be sure you understand how the JavaScript Event Loop works and what it means when code is executed synchronously in the current stack, or shoved into the queue to… Read more »

Arpad: An ELO Ranking System for Node.js

Posted by & filed under Node.js.

At work I’ve been tasked with building real-time PvP systems (pushing data from server to client) as well as matchmaking systems for pairing players together (pretty similar stuff to what I’ve been doing since first learning Node.js two years ago). While building matchmaking systems, of course the ELO system used by Chess was brought up (As… Read more »

The JavaScript Event Loop [Presentation]

Posted by & filed under JavaScript, Node.js.

I gave a talk this morning on the JavaScript Event Loop at Penguicon 2013. Even though I had used JavaScript for several years, I didn’t completely comprehend how the Event Loop works until a few months ago. When the opportunity came to present at Penguicon, I figured this was as good of a topic as… Read more »