SamKnows is now part of Cisco | Learn more

Social media tests

This test measures the round-trip latency and reachability of a selection of major social media services, taking into account different endpoints that the social media service may use for different content types.

A single social media site can use a variety of endpoints for different content types (e.g. audio, video) and different activities (downloading and uploading). For example, Facebook uses a different set of servers when allowing users to download videos versus upload videos. This test captures round-trip latency to all of the supported combinations.

The following table summarises the different platforms and media types that our test supports:

ServiceDownload TextDownload ImageDownload VideoDownload AudioUpload TextUpload ImageUpload VideoUpload Audio
Facebook AppYesYesYesNoYesYesYesNo
Facebook MessengerYesYesYesYesYesYesYesYes
Instagram AppNoYesYesNoNoYesYesNo
Instagram MessengerYesYesYesYesYesYesYesYes
WhatsAppYesYesYesYesYesYesYesYes
SnapchatYesYesYesYesYesYesYesYes
TwitterYesYesYesNoYesYesYesNo

Lack of support for a particular combination is due to the social media service itself not supporting certain content types. For example, the main Facebook app does not support downloading or uploading audio clips (but the Messenger app does).

Note that we have split Instagram into two separate apps, even though they are delivered to the user as a single smartphone app. This is due to the private messaging feature within the Instagram app supporting different functionality that the main part of the app does not. Moreover, the private messaging feature of the Instagram app uses different endpoints to the main part of the app.

For each social media service we determined the endpoints to test against by performing a traffic analysis of how their Android and iOS apps behaved. All apps, with the exception of Facebook and Instagram, use a static set of endpoints. For example, Twitter uses api.twitter.com for most operations. Of course, this does not prevent Twitter from geographically load balancing api.twitter.com via any cast or DNS based load balancing, but all clients use this single hostname. Facebook and Instagram make use of the Facebook "FNA" caches for retrieval of image and video content. Facebook FNA caches are the on-premises caches that Facebook provides to large ISPs, much like Google does with GGCs or Netflix does with OCAs. The Facebook FNA cache to be used is determined dynamically by the latency measurement client.

Additionally, the latency measurement mechanism can vary for some social media sites too. All services, with the exception of Snapchat, currently use ICMP to measure round trip latency. For Snapchat we instead use HTTP time-to-first-byte because they front all of their API servers (currently hosted in the US) with Amazon's CloudFront reverse proxy, which is distributed globally. To just measure round trip time to their CloudFront hostname would misrepresent the end-to-end latency that a user really experiences.

The social media test fully supports IPv4 and IPv6. It may optionally be run with DNS resolution performed over DNS-over-HTTPS or DNS-over-TLS, instead of using the default system resolver.

Example

While comparing different social media services in our study Measuring Broadband New Zealand, we discovered that latency to Snapchat's image servers - which are hosted in the United States - are around four tenths of a second on average. This would introduce noticeably slower performance compared to other chat services such as Whatsapp or Facebook/Instagram Messenger.

This charts shows the average latency in New Zealand to endpoints which serve either image or text content for different social media services

Available social media tests

Facebook

Facebook is a social media and social networking service founded in 2004 by Mark Zuckerberg. As of 2020, Facebook claims 2.8 billion monthly active users, and ranks seventh in global internet usage.

Facebook Messenger

Facebook Messenger is an instant messaging app and platform developed by Facebook. Users can send messages and exchange photos, videos, stickers, audio, and files. The service also supports voice and video calling.

Instagram

A photo and video sharing social networking service owned by Facebook with over 1 billion users. Posts can be shared publicly or with pre-approved followers.

Instagram Messenger

Instagram's Messenger application allows cross-app messaging with Facebook.

WhatsApp

A cross-platform instant messaging (IM) and voice-over-IP (VoIP) service owned by Facebook. It allows users to send text messages and voice messages, make voice and video calls, and share images, documents, user locations, and other content. It has over 2 billion users worldwide.

Snapchat

An instant messaging app and service. One of the principal features of Snapchat is that pictures and messages are usually only available for a short time. On average more than four billion Snaps are sent each day.

Twitter

Twitter is a microblogging and social networking service where users post and interact with messages known as "tweets". As of 2019, Twitter has more than 330 million monthly active users.