Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Graphing Node.js Memory Usage with D3.js and Rickshaw

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
494
Company Posts That Month
7
Language
English
Hacker News Points
-
Summary

In a continuation of their series on real-time data visualization, the blog post delves deeper into creating real-time charts by monitoring Node.js memory usage using Rickshaw, d3.js, and a specific npm module. This module seamlessly integrates with the Rickshaw-PubNub library, facilitating the logging of memory usage and the spawning of an express static server. The real-time memory usage is captured through `process.memoryUsage()` and published at regular intervals to a specified PubNub network channel. The post provides a step-by-step guide to setting up the module, which includes installing it via npm and configuring it to run on a local express server, ultimately allowing users to visualize and modify a real-time Node.js memory profile chart.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 14 201 25 10 +48%