Performance Zone is brought to you in partnership with:

Treasure Data's Big Data as-a-Service cloud platform enables data-driven businesses to focus their precious development resources on their applications, not on mundane, time-consuming integration and operational tasks. Our pre-built, multi-tenancy cloud platform is already in use by over 50 customers worldwide and is managing more than 200 billion rows of data and processing 130,000 jobs per day. Discover how Treasure Data can help you focus on your core business and benefit from the fastest time-to-answer service available. Sadayuki is a DZone MVB and is not an employee of DZone and has posted 27 posts at DZone. You can read more from them at their website. View Full User Profile

How To Analyze Twitter Data From Node.js Applications in 15 Minutes

  • submit to reddit

Node.js is a popular server-side implementation of JavaScript. Its lightweight, event-based concurrency model lends itself naturally to building a real-time service with a large number of concurrent connections (Etsy’s monitoring library statsd and Uber’s on-demand driver dispatch service immediate come to my mind).

Like all other popular technologies, Node.js has die-hard fans as well as annoyed skeptics. Whatever your opinion is, this much is clear: people can’t stop talking about it, and more and more applications are being built with Node.js.

So, we decided to investigate how we can integrate Treasure Data with Node.js. The end product is a pair of articles on our documentation website:

  1. Streaming Twitter Data into Treasure Data from Node.js[1]: this article shows how to stream Twitter data onto Treasure Data so that you can build your own Twitter analysis framework under 30 minutes. Node.js is very suitable for this kind of small, real-time service.

  2. Data Import from Node.js Applications: this is a more general article that goes over how to start logging data from Node.js applications. This article shows you how you can use Treasure Data for A/B testing, log analysis, etc. from your Node.js application.

Treasure Data’s goal is making our state-of-the-art data analytics service available to everyone who wants to get value out of their data regardless of their software stack. Integrating with Node.js is an important step to achieve this goal. If you have any question or feedback, whether about the Node.js integration or not, please drop us a line =)

Published at DZone with permission of Sadayuki Furuhashi, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)