Skip to main content
QUICK REVIEW

[Paper Review] Polypus: a Big Data Self-Deployable Architecture for Microblogging Text Extraction and Real-Time Sentiment Analysis

Rodrigo Martínez-Castaño, Juan C. Pichel|arXiv (Cornell University)|Jan 11, 2018
Sentiment Analysis and Opinion MiningComputer Science24 references7 citations
TL;DR

Polypus is a self-deployable, Docker-based Big Data architecture that enables real-time extraction and sentiment analysis of microblogging content using Storm and Spark. It processes over 30 million tweets per day with sub-two-minute end-to-end latency, supporting scalable, near real-time keyword-based sentiment aggregation and visual analytics via a web interface and HTTP API.

ABSTRACT

In this paper we propose a new parallel architecture based on Big Data technologies for real-time sentiment analysis on microblogging posts. Polypus is a modular framework that provides the following functionalities: (1) massive text extraction from Twitter, (2) distributed non-relational storage optimized for time range queries, (3) memory-based intermodule buffering, (4) real-time sentiment classification, (5) near real-time keyword sentiment aggregation in time series, (6) a HTTP API to interact with the Polypus cluster and (7) a web interface to analyze results visually. The whole architecture is self-deployable and based on Docker containers.

Motivation & Objective

  • To address the challenge of real-time sentiment analysis on short, high-velocity microblogging content like Twitter.
  • To enable scalable, low-latency processing of massive tweet volumes using distributed Big Data technologies.
  • To provide near real-time aggregation of sentiment by keyword across time series for historical and dynamic analysis.
  • To offer a fully self-deployable, modular, and containerized system with web and API interfaces for end-user interaction.
  • To combine real-time stream processing with batch-style aggregation for comprehensive sentiment trend analysis.

Proposed method

  • A distributed web crawler built with Twitter's Streaming API retrieves tweets at scale, optimized for high throughput using thread-per-core configurations.
  • HBase is used as a distributed, time-optimized NoSQL store with sharded row keys to prevent hotspotting and enable efficient time-range scans.
  • Aerospike serves as an in-memory, key-value buffer to reduce data duplication and accelerate inter-module communication.
  • Storm processes tweets in real time for sentiment classification using a pipeline of NLP components including tokenization, NER, and polarity tagging.
  • Spark performs near real-time aggregation of sentiment metrics (e.g., polarity ratios, total matches) over time windows for any keyword.
  • A RESTful HTTP API and a web interface enable users to query and visualize sentiment trends across time series using charts.

Experimental results

Research questions

  • RQ1How can a scalable, self-deployable Big Data architecture be designed to perform real-time sentiment analysis on high-velocity microblogging streams?
  • RQ2What is the performance ceiling of a distributed crawler for Twitter when scaled across multiple nodes with varying core configurations?
  • RQ3How effectively can real-time sentiment classification be achieved at scale using Storm, given the brevity and subjectivity of tweets?
  • RQ4To what extent can near real-time keyword-based sentiment aggregation be achieved with low-latency processing and storage?
  • RQ5Can a fully containerized, open-source stack provide production-grade performance and usability comparable to proprietary solutions?

Key findings

  • The system achieved a retrieval capacity of up to 740.6 tweets per second in a 7-node cluster configuration, demonstrating strong horizontal scalability.
  • With a single target language, Polypus processed over 30 million tweets per day, completing full analysis in under two minutes.
  • More than 1 million tweets were processed in approximately 15 seconds, indicating high throughput for real-time workloads.
  • The crawler achieved optimal throughput at 32 threads per core, with performance plateauing beyond 32 threads due to system saturation.
  • In a 37-hour unattended test, the system successfully ingested 49,650,935 tweets, validating long-term stability and scalability.
  • The system demonstrated that open-source tools like Storm, Spark, HBase, and Aerospike can deliver sub-two-minute end-to-end processing latency at scale.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.