+ Network Level Footprints of Facebook Applications Komal Pal Gautam Bhawsar.

Slides:



Advertisements
Similar presentations
Scheduling in Web Server Clusters CS 260 LECTURE 3 From: IBM Technical Report.
Advertisements

Hadi Goudarzi and Massoud Pedram
Ningning HuCarnegie Mellon University1 Optimizing Network Performance In Replicated Hosting Peter Steenkiste (CMU) with Ningning Hu (CMU), Oliver Spatscheck.
OULU ADVANCED RESEARCH ON SOFTWARE AND INFORMATION SYSTEMS Teppo Räisänen | Oulu University of Applied Sciences Facebook programming Teppo Räisänen
Client side performance in Web based Banking applications Divakar Prabhu Infosys Limited (NASDAQ: INFY)
Doc.: IEEE /0604r1 Submission May 2014 Slide 1 Modeling and Evaluating Variable Bit rate Video Steaming for ax Date: Authors:
Amir Rasti Reza Rejaie Dept. of Computer Science University of Oregon.
How Much Anonymity does Network Latency Leak? Paper by: Nicholas Hopper, Eugene Vasserman, Eric Chan-Tin Presented by: Dan Czerniewski October 3, 2011.
What’s the Problem Web Server 1 Web Server N Web system played an essential role in Proving and Retrieve information. Cause Overloaded Status and Longer.
UNDERSTANDING VISIBLE AND LATENT INTERACTIONS IN ONLINE SOCIAL NETWORK Presented by: Nisha Ranga Under guidance of : Prof. Augustin Chaintreau.
1 Web Performance Modeling Chapter New Phenomena in the Internet and WWW Self-similarity - a self-similar process looks bursty across several time.
On the Geographic Distribution of On- line Game Servers and Players Wu-chang FengWu-chi Feng Discussion moderated By: John Carter.
1 Drafting Behind Akamai (Travelocity-Based Detouring) AoJan Su, David R. Choffnes, Aleksandar Kuzmanovic, and Fabian E. Bustamante Department of Electrical.
Offense of Network Level Footprints of Facebook Applications By Aaron Ballew, Zhen Qin.
1 Measurement-based Characterization of a Collection of On-line Games Chris Chambers Wu-chang Feng Portland State University Sambit Sahu Debanjan Saha.
Wide Web Load Balancing Algorithm Design Yingfang Zhang.
The Medusa Proxy A Tool For Exploring User- Perceived Web Performance Mimika Koletsou and Geoffrey M. Voelker University of California, San Diego Proceeding.
A Criticism of: “Moving beyond end-to-end path information to optimize CDN performance” Gautam Bhawsar Alok Rakkhit.
Putting the Network to Work
Junxian Huang 1 Feng Qian 2 Yihua Guo 1 Yuanyuan Zhou 1 Qiang Xu 1 Z. Morley Mao 1 Subhabrata Sen 2 Oliver Spatscheck 2 1 University of Michigan 2 AT&T.
Characterizing Residential Broadband Networks Marcel Dischinger †, Andreas Haeberlen †‡, Krishna P. Gummadi †, Stefan Saroiu* † MPI-SWS, ‡ Rice University,
Niranjan Balasubramanian Aruna Balasubramanian Arun Venkataramani University of Massachusetts Amherst Energy Consumption in Mobile Phones: A Measurement.
A Measurement-driven Analysis of Information Propagation in the Flickr Social Network WWW09 报告人: 徐波.
By Huang et al., SOSP 2013 An Analysis of Facebook Photo Caching Presented by Phuong Nguyen Some animations and figures are borrowed from the original.
Achieving Load Balance and Effective Caching in Clustered Web Servers Richard B. Bunt Derek L. Eager Gregory M. Oster Carey L. Williamson Department of.
Towards a Safe Playground for HTTPS and Middle-Boxes with QoS2 Zhenyu Zhou CS Dept., Duke University.
Developing Analytical Framework to Measure Robustness of Peer-to-Peer Networks Niloy Ganguly.
1 An SLA-Oriented Capacity Planning Tool for Streaming Media Services Lucy Cherkasova, Wenting Tang, and Sharad Singhal HPLabs,USA.
Modeling Relationship Strength in Online Social Networks Rongjing Xiang: Purdue University Jennifer Neville: Purdue University Monica Rogati: LinkedIn.
MobiQuitous 2004Kimaya Sanzgiri Leveraging Mobility to Improve Quality of Service in Mobile Networks Kimaya Sanzgiri and Elizabeth Belding-Royer Department.
Protocol(TCP/IP, HTTP) 송준화 조경민 2001/03/13. Network Computing Lab.2 Layering of TCP/IP-based protocols.
Poking Facebook: Characterization of OSN Applications Minas Gjoka, Michael Sirivianos, Athina Markopoulou, Xiaowei Yang University of California, Irvine.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
Hotspot Detection in a Service Oriented Architecture Pranay Anchuri,
1 CS 425 Distributed Systems Fall 2011 Slides by Indranil Gupta Measurement Studies All Slides © IG Acknowledgments: Jay Patel.
A Measurement Based Memory Performance Evaluation of High Throughput Servers Garba Isa Yau Department of Computer Engineering King Fahd University of Petroleum.
Microsoft Research1 Characterizing Alert and Browse Services for Mobile Clients Atul Adya, Victor Bahl, Lili Qiu Microsoft Research USENIX Annual Technical.
An Experimental Study of the Skype Peer-to-Peer VoIP System Saikat Guha, Cornell University Neil DasWani, Google Ravi Jain, Google IPTPS ’ 06 Presenter:
THE LITTLE ENGINE(S) THAT COULD: SCALING ONLINE SOCIAL NETWORKS B 圖資三 謝宗昊.
Adaptive Web Caching CS411 Dynamic Web-Based Systems Flying Pig Fei Teng/Long Zhao/Pallavi Shinde Computer Science Department.
ICOM 6115: Computer Systems Performance Measurement and Evaluation August 11, 2006.
Sharing Social Content from Home: A Measurement-driven Feasibility Study Massimiliano Marcon Bimal Viswanath Meeyoung Cha Krishna Gummadi NOSSDAV 2011.
By Gianluca Stringhini, Christopher Kruegel and Giovanni Vigna Presented By Awrad Mohammed Ali 1.
Server to Server Communication Redis as an enabler Orion Free
Thomas Dreibholz Institute for Experimental Mathematics University of Duisburg-Essen, Germany University of Duisburg-Essen, Institute.
Load Distribution among Replicated Web Servers: A QoS-based Approach Marco Conti, Enrico Gregori, Fabio Panzieri WISP KAIST EECSD CALab Hwang.
SocialTube: P2P-assisted Video Sharing in Online Social Networks
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Injecting Realistic Burstiness to.
Performance of Web Proxy Caching in Heterogeneous Bandwidth Environments IEEE Infocom, 1999 Anja Feldmann et.al. AT&T Research Lab 발표자 : 임 민 열, DB lab,
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part V Workload Characterization for the Web.
1 Part VII Component-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
Emir Halepovic, Jeffrey Pang, Oliver Spatscheck AT&T Labs - Research
03/03/051 Performance Engineering of Software and Distributed Systems Research Activities at IIT Bombay Varsha Apte March 3 rd, 2005.
1 COMP 431 Internet Services & Protocols HTTP Persistence & Web Caching Jasleen Kaur February 11, 2016.
Wireless Cache Invalidation Schemes with Link Adaptation and Downlink Traffic Presented by Ying Jin.
1 Internet Traffic Measurement and Modeling Carey Williamson Department of Computer Science University of Calgary.
Queuing Theory Simulation & Modeling.
Performance Evaluation of Redirection Schemes in Content Distribution Networks Jussi Kangasharju, Keith W. Ross Institut Eurecom Jim W. Roberts France.
Performance Comparison of Ad Hoc Network Routing Protocols Presented by Venkata Suresh Tamminiedi Computer Science Department Georgia State University.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VIII Web Performance Modeling (Book, Chapter 10)
PlanetSeer: Internet Path Failure Monitoring and Characterization in Wide-Area Services Ming Zhang, Chi Zhang Vivek Pai, Larry Peterson, Randy Wang Princeton.
Discover How Your Business Can Benefit from a Facebook Fanpage
Discover How Your Business Can Benefit from a Facebook Fanpage
3 | Analyzing Server, Network, and Client Health
Memory Management for Scalable Web Data Servers
Utilization of Azure CDN for the large file distribution
Who is the King of the Hill? Traffic Analysis over a 4G Network
Measurement-based Characterization of a Collection of On-line Games
CSE 550 Computer Network Design
Modeling and Evaluating Variable Bit rate Video Steaming for ax
Presentation transcript:

+ Network Level Footprints of Facebook Applications Komal Pal Gautam Bhawsar

+ Motivation Online social networks have become hugely popular Over 0.5B users But little information available on network impact of these OSNs Our area of interest – impact of third party applications on the OSN/Internet Over 81,000 apps on Facebook alone #Apps growing at an unbounded rate because of opening up of the developer platform by major OSNs Spiral growth in traffic due to open APIs Facebook – 30%, Twitter – 20X

+ Motivation Our OSN of choice- Facebook 150M monthly active users (MAU) Hope to provide guidelines to OSNs and application developers for managing traffic growth Very critical to understand the kind of infrastructure required by the OSN as well as Application to support the spiral growth.

+ Facebook and 3 rd party applications Typical OSN Framework

+ Limitations OSN platform Treated as Black Box Lack of access to proprietary information and internal design details

+ Our contributions Detailed measurement methodology Characterization of delays involved in user-3 rd party interactions through Facebook.

+ Our model Performance metric – End to end delay perceived by users. Depends on – Geographical distribution of users and their access speeds Processing speed and overhead of OSNs Bandwidth and processing speeds of Application servers

+ Our model Questions that we need answers to- Do overheads incurred by Facebook and Application constitute a significant portion of end-to-end delay? Do external developers of popular and viral applications need exorbitantly high resources to serve content to users? What are the possible provisioning strategies at OSNs like Facebook? Does Facebook segregate data according to user characteristics such as country, network or number of friends? Does it provision resources differently for 3 rd party applications, or differentiate user requests based on properties such as geographical locations?

+ Defining the delays App server Request Queuing delay (d q ) App server Request Processing Delay (d p ) OSN server Request Forwarding Delay (d f ) OSN server Response Processing Delay (d g )

+ Defining the delays Sequence of interactions between Client-OSN-Application

+ Approach Developed and launched 6 FB applications in use by millions of users monthly- Hugged, iSmile, MyAngels, Holiday Cheers (greetings based) Pound Puppies The Streets

+ Approach Our applications vs other popular applications on Facebook Application semantics : Hugged, iSmile, My Angels and Holiday Cheers are similar to 61% of the top 200 applications Delay requirements : 70% of top 200 apps utilize Facebook canvas design Engagement ratio: Hugged, iSmile and Holiday Cheers are similar to 31.6% of the top 200 apps. Applications represent a diverse mix and are representative of top 200 applications

+ Passive Measurements (at App server) Requests received from Facebook server- Page View (PV) Not Installed (NI) Inline requests (IR) PV requests constitute the major workload

+ Experiment (Active measurements) Planet Lab nodes send active probes to app server through the OSN 2xPL nodes across 32 countries 3 Facebook user accounts- X(39 friends), Y(4 friends), Z(208 friends) Used the 3 user accounts to access the 6 applications

+ Experiment (Active measurements) Measurements based on 4 experiments- Client sends HTTP GET request to OSN. Time of departure (T dep ) and request size (S client-req ) are logged App server receives request. Logs arrival time stamp App server sends response, arrival and departure time stamps and response size Client receives response. Logs time stamp of arrival (T arr ) and response size (S osn-resp )

+ Results

+ Measuring d f and d g d f : Request size (S client-req ) was varied from 0 to 50Kb d g : Response size (S OSN-resp ) was varied. Types of response : User related (FBML name, profile picture, status tags) Non-user related (random HTML/JavaScript or non-user specific FBML tags) Round trip delays used for measurement after eliminating propagation and transmission delays.

+ Results (Application server delays) Server loads follow diurnal pattern and show different growth patterns based on popularity and seasonal nature of application. Already popular applications attract more new users- exhibiting preferential attachment phenomena

+ Results (Application server delays)

+ Results (Application Server delays) Queuing delay is negligible, while processing delays correlate positively with loads and are affected by resource provisioning. d q < 20ms on average

+ Request response sizes remain stable across time, independent of load. Average response sizes remain stable for the entire measurement period. Smallest response size observed for the least popular application, The Streets (1.5-3 KB) Largest response size observed for the most popular application, Hugged (4-5 KB) Results (Application Server delays)

+ The type of interactions (i.e. API calls) from third party application servers to OSNs affect application server delays, impacting the overall user experience. Results (Application Server delays)

+ Estimating d f and d g Analysis of RT delays from PL nodes to Facebook servers in California Avg. RTT was 170ms Experiments from nodes in different countries showed similar d f and d g values.

+ Results (OSN delays) OSN Request Forwarding delays (d f ) are around 130ms for user requests of size 0-1 Kb (typical for the 6 chosen Facebook applications) Per application d f increases linearly with increase in request size. Per application d f does not vary with load (request arrival rate)

+ Results (OSN delays) Processing HTML takes less time compared to processing Java Script d g (HTML) = 0.01 ms/byte, d g (Javascript)= 0.04 ms/byte d g for FBML content targeting non-user entities is unaffected by the target’s popularity. It also remains consistent with time. d g ~ 310 ms for 250 FBML network tags, regardless of the network’s popularity, but no change with time. FBML user tag processing delays do not vary with target users’ popularity and network membership. d g is similar (avg. difference of <15ms) across different ranges of FB friends for the various FBML tags.

+ Results (OSN delays) FBML user tag processing times vary with type of FBML tag. FBML profile picture tags take the longest, whereas the FBML user status tags take the shortest times. Data caching has significant effect on FBML tag processing delays.

+ Results (OSN delays) d g increases linearly with the number of FBML tags. The increased delays show no appreciable variation across third- party applications and target user characteristics. suggests lack of parallel processing of FBML tags with individual requests

+ Results (OSN delays) d g varies with time of day but is not consistent with application usage (load). d g is a significant chunk of total time per user request to third party applications, for both realistic average workloads and hypothetical scenarios with varying size of content. The Streets : d g = 44.4% of 1.30s total time Hugged : d g = 68.8% of 2.21s total time Pound Puppies : d g = 59.9% of 1.77s total time

+ Conclusions Q: Do overheads incurred by Facebook and Application constitute a significant portion of end-to-end delay? A: Yes, delays across OSNs can dominate the overall latency experienced by users interacting with 3 rd party applications.

+ Conclusions Q: Do external developers of popular and viral applications need exorbitantly high resources to serve content to users? A : One does not need exorbitant resources to launch and maintain an extremely popular OSN application, despite its viral growth or seasonal fluctuations. Processing requirements may vary on a per-application basis but these are not very high.

+ Conclusions Q: What are the possible provisioning strategies at OSNs like Facebook? Does Facebook segregate data according to user characteristics such as country, network or number of friends? Does it provision resources differently for 3 rd party applications, or differentiate user requests based on properties such as geographical locations? A: Facebook is well provisioned, even for viral applications. Impact due to geographical location of users can be mitigated by moving data centers and application servers closer to users and/or avoiding frequent setup/teardown of HTTP connections.

+ Conclusions For the Application developer Provision for diurnal and seasonal fluctuations Limit the FBML tags Queue API calls during high activity For the OSN Move DCs closer to the users to minimize RTTs Use persistent HTTP connections, where RT propagation delays are high Parallelize FBML tag processing * Technical accuracy of the paper has been verified by high ranked members of the Facebook development team.

+ Thank You!