Introduction
Social media platforms have become essential "sensors" for observing human behavior at scale. However, a significant "technical wall" often prevents researchers in the social and behavioral sciences from utilizing this data. Accessing, storing, and processing "Big Data" from platforms like Twitter requires specialized expertise in distributed systems and API management that many researchers lack. Furthermore, commercial APIs frequently offer only limited real-time views, making historical analysis difficult and prone to statistical biases.
The IUNI Observatory on Social Media (OSoMe) addresses these challenges by providing an open-source analytics platform that democratizes access to massive social media datasets. By offering a suite of interactive tools to analyze over 70 billion tweets, OSoMe allows researchers to study information diffusion and online discourse without requiring advanced software engineering skills.
System Architecture and Methods
OSoMe is built upon the Apache Big Data Stack (ABDS), specifically engineered for scalability and high-performance processing. The system architecture is designed to bridge the gap between heavy-duty backend storage and lightweight, user-friendly frontend applications.
Key technical components include:
- Data Collection: A continuous ingestion system that captures a random 10% stream of public tweets from the Twitter Streaming API.
- Storage: A NoSQL distributed database (HBase) utilizing a custom
IndexedHBasemodule. This allows for flexible text indexing that supports efficient queries based on temporal or network context. - Analytics Engine: Large-scale data tasks, such as constructing retweet networks or calculating global trends, are processed using Hadoop and YARN.
- Middleware: A distributed task queue using Celery and RabbitMQ connects the backend infrastructure to the web frontend, ensuring responsive user interactions.
Data and Analytics Capabilities
The primary dataset consists of approximately 70 billion public tweets collected since mid-2010. This 10% random stream typically yields between $10^6$ and $10^8$ tweets per day, including rich metadata such as timestamps, geolocations, and interpersonal ties (mentions and retweets).
OSoMe emphasizes that simply counting hashtags is insufficient for understanding social phenomena. Instead, the platform focuses on network topology and diffusion networks. By visualizing how information cascades through a social graph, researchers can identify influential users, detect "tight-knit communities," and uncover patterns of information spread.
Beyond network analysis, the platform provides tools for:
- Temporal Trends: Processing multi-terabyte archive queries in approximately 5 seconds.
- Geographic Signatures: Aggregating geolocated tweets into heatmaps to reveal the spatial distribution of attention during major events.
- Manipulation Detection: Identifying "astroturf" campaigns and social bots designed to mislead public opinion.
Results and Performance
The platform's performance enables "interactive exploration" rather than traditional batch processing. While trend analysis is nearly instantaneous, more computationally intensive tasks like geographic visualizations typically complete within 30 to 90 seconds. OSoMe has been successfully used to map major social phenomena, such as the "Ice Bucket Challenge" network and global sporting events like the Super Bowl.
For advanced users, OSoMe provides a programmatic API (via Mashape) to retrieve tweet IDs, counts, and time-series data, extending the platform's utility beyond the web interface.
Limitations and Future Directions
Despite its scale, OSoMe faces certain constraints. System failures have occasionally caused gaps in the historical record. Additionally, due to Twitter's Terms of Service, the platform cannot provide raw tweet text; it provides numeric tweet IDs that researchers must "rehydrate" via official APIs. The declining percentage of geolocated tweets (from 3% to 0.3%) also limits the granularity of spatial analysis.
Future work involves integrating more advanced tools like BotOrNot for automated bot detection and experimenting with edge-bundling techniques to overlay diffusion networks directly onto geographic maps.
Summary updated