Abstract
The rise of "instant" social video services necessitates a global infrastructure capable of delivering short clips with minimal latency. While leveraging multiple cloud providers can optimize regional performance, it introduces significant operational costs due to inter-cloud data transfer fees. This paper explores the "Replication Roadblock" and proposes a social-graph partitioning algorithm designed to balance user performance with bandwidth expenses. By re-hosting users based on propagation weights rather than simple social links, the proposed system achieves an 83% reduction in inter-cloud costs with minimal impact on service quality.
Introduction
To provide a high-quality experience for instant social videos—where clips are short and expected to load immediately—service providers must deploy servers in close proximity to their users. However, no single cloud provider (e.g., AWS, Azure, Google Cloud) possesses a perfect footprint across every geographic region or ISP. While a multi-cloud strategy is the logical solution for global reach, it introduces a significant economic challenge: cloud providers typically offer free data ingress but charge a premium for data egress to competing clouds.
In a social network, if User A (hosted on Cloud X) shares a video with User B (hosted on Cloud Y), the content must be replicated across the cloud boundary, incurring high egress fees. This paper addresses the optimization problem of distributing users across multiple clouds to maximize performance while minimizing these expensive inter-cloud transfers.
Multi-Cloud Social Video Architecture
The authors model the environment as a set of users distributed across various cloud regions. Each user is assigned to a specific cloud "host" where their uploaded content is stored.
As shown in Figure 1, social links (propagation edges) between users in different clouds (e.g., Cloud A and Cloud B) necessitate data replication. The goal is to partition the social graph such that the most active sharing relationships are contained within the same cloud provider, thereby avoiding cross-cloud traffic.
The Need for Multi-Cloud Diversity
The necessity of a multi-cloud approach is driven by the extreme variability in network performance across different regions. Measurements using PlanetLab nodes and Amazon EC2 regions confirm that "ideal" hosting locations are highly subjective.
Figure 2 illustrates that a region providing the best performance for one group of users may simultaneously be the worst for another. This diversity makes it impossible for a single-cloud provider to satisfy a global user base optimally, necessitating the complex multi-cloud management addressed in this research.
Optimization Methodology
The authors treat user placement as a mathematical optimization challenge, proven to be NP-hard (a variation of the Multiterminal Cut Problem). To solve this at scale, they propose a two-phase heuristic algorithm:
- Preference-Aware Initial Hosting: Users are initially assigned to their "ideal" cloud provider based on measured upload/download speeds and geographic proximity.
- Propagation-Aware Re-hosting: The algorithm identifies "heavy-hitter" social connections—the small percentage of friend pairs responsible for the vast majority of video sharing. It then iteratively evaluates whether moving a user to a different cloud would save enough in transfer fees to justify a slight decrease in that user's connection speed.
The core novelty lies in partitioning the social graph based on propagation weights (actual data flow) rather than just the existence of a social link.
Key Results and Insights
Using real-world traces from the Weishi short video platform and Tencent Weibo, the study reveals several critical insights:
- The 80/20 Rule of Social Traffic: A tiny fraction of social connections is responsible for the vast majority of content propagation. Focusing optimization on these "active" edges ensures computational efficiency.
- Hosting Users as Units: Instead of managing individual videos, the system hosts the user. All content generated by a user stays in their assigned cloud, simplifying the management of millions of short-lived clips.
- Cost vs. Performance: In trace-driven simulations, the heuristic algorithm reduced inter-cloud replication costs by approximately 83% compared to a performance-only strategy. This massive saving came at the cost of only a 12% degradation in the user preference index.
Conclusion
This work demonstrates that by treating cloud pricing models as a primary architectural constraint, social video providers can significantly reduce operational costs without sacrificing global user experience. While the current model focuses on periodic optimization, future work may explore real-time re-hosting to handle viral events and more complex trade-offs between storage and bandwidth costs.
Summary updated