Skip to main content
QUICK REVIEW

[Paper Review] Explore what-if scenarios with SONG: Social Network Write Generator

Vijay Erramilli, Xiaoyuan Yang|arXiv (Cornell University)|Feb 3, 2011
Complex Network Analysis TechniquesPhysics and Astronomy19 references6 citations
TL;DR

This paper introduces SONG (Social Network Write Generator), a framework that generates synthetic, realistic traces of user write activity in online social networks like Twitter by modeling temporal patterns such as diurnal trends and inter-write intervals. It uses empirical data from a large Twitter crawl to calibrate parameters, validates the synthetic traces against real system metrics (CPU, I/O, network), and demonstrates utility in stress-testing a Cassandra-based Twitter clone, revealing CPU as the bottleneck under high load.

ABSTRACT

Online Social Networks (OSNs) have witnessed a tremendous growth the last few years, becoming a platform for online users to communicate, exchange content and even find employment. The emergence of OSNs has attracted researchers and analysts and much data-driven research has been conducted. However, collecting data-sets is non-trivial and sometimes it is difficult for data-sets to be shared between researchers. The main contribution of this paper is a framework called SONG (Social Network Write Generator) to generate synthetic traces of write activity on OSNs. We build our framework based on a characterization study of a large Twitter data-set and identifying the important factors that need to be accounted for. We show how one can generate traces with SONG and validate it by comparing against real data. We discuss how one can extend and use SONG to explore different `what-if' scenarios. We build a Twitter clone using 16 machines and Cassandra. We then show by example the usefulness of SONG by stress-testing our implementation. We hope that SONG is used by researchers and analysts for their own work that involves write activity.

Motivation & Objective

  • Address the challenge of limited access to real OSN datasets due to privacy, rate limits, or legal restrictions.
  • Enable researchers to generate synthetic yet realistic user write activity traces for system evaluation and performance analysis.
  • Support 'what-if' scenario exploration such as forecasting, capacity planning, and benchmarking under varying workloads.
  • Provide a flexible framework that works with or without existing datasets, using empirical modeling or off-the-shelf parameter estimation.
  • Validate the framework using a real implementation of a Twitter clone to demonstrate practical utility in system stress testing.

Proposed method

  • Model user write activity as a time-series count process, capturing both long-term (diurnal) and short-term (seconds to hours) temporal dynamics.
  • Use a two-component model: one for long-term trends (e.g., daily cycles) and another for short-term burstiness, based on empirical analysis of a large Twitter dataset.
  • Estimate model parameters from real data using statistical fitting; when no data is available, apply standard off-the-shelf methods.
  • Generate synthetic write traces by combining calibrated long-term and short-term components, ensuring realistic temporal distribution.
  • Validate synthetic traces by comparing system-level metrics—network I/O, CPU usage, and network traffic—against real data and a naive uniform-random baseline.
  • Deploy a Twitter-like system on 16 machines using Cassandra and use SONG-generated traces to simulate increasing write loads (25 to 150 writes/sec) for performance evaluation.

Experimental results

Research questions

  • RQ1How can synthetic write activity traces be generated to realistically model user behavior in OSNs when real datasets are unavailable or restricted?
  • RQ2What temporal patterns—such as diurnal trends or inter-write intervals—best capture real user write behavior in OSNs like Twitter?
  • RQ3How do synthetic traces generated by SONG compare to real system metrics (CPU, I/O, network) in terms of fidelity and realism?
  • RQ4To what extent can SONG be used to uncover system bottlenecks through controlled stress testing of a real OSN-like system?
  • RQ5Can SONG-generated traces improve the accuracy of benchmarking and performance analysis compared to random or uniform workload models?

Key findings

  • The inter-write intervals of users in the Twitter dataset follow a log-normal distribution, a finding that better reflects human behavior than exponential or power-law models.
  • Write activity does not exhibit self-similar behavior, contradicting assumptions in some prior models of network traffic.
  • SONG-generated traces reduce network traffic underestimation by 36% compared to a uniform-random baseline, with only a 6% difference from real data.
  • The synthetic trace closely matches real system behavior in CPU, I/O, and network activity, validating its realism for performance evaluation.
  • In stress-testing a Cassandra-based Twitter clone, SONG revealed that CPU becomes the system bottleneck when write rates exceed 100 writes per second.
  • The system maintained response times under 10 seconds for loads up to 100 writes/sec, but response times spiked above 100 ms at 150 writes/sec, confirming CPU saturation.

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.