Data streaming

Post on 15-Apr-2017

39 views 1 download

Transcript of Data streaming

DATA STREAMING

Önər Əlili

Maja Gulan

What if the internet connection itself is slow?

Countries with the fastest and the slowest internet connection

World broadband speeds

Internet in Africa

■ The Internet in Africa is limited by a lower penetration rate when compared to the rest of the world.

■ Moreover, Africa itself exhibits an inner digital divide, with most Internet activity and infrastructure concentrated in South Africa, Morocco, Egypt as well as smaller economies like Mauritius and Seychelles.

■ In the 2000s, mobile telephone service in Africa has been booming, and mobile telephone use is now substantially more widespread than fixed line telephony.

Usual common Internet problems

■connection dropping■data lost■low bandwidth■Low speed of service on most mobile devices

Data streaming

■ Data streaming is the process of transferring a stream of data from one place to another, to a sender and recipient or through some network trajectory. Data streaming is applied in multiple ways with various protocols and tools that help provide security, efficient delivery and other data results.

■ Data streaming methods are central to technologies like the Internet, 3G and 4G wireless systems for mobile devices, as well as data handling for business processes in corporate networks. Administrators typically employ precise methods and processes to monitor data streaming and ensure effectiveness and maximum security.

JSON■JSON is short for JavaScript Object

Notation, and is a way to store information in an organized, easy-to-access manner. In a nutshell, it gives us a human-readable collection of data that we can access in a really logical manner.

■It is widely used for data transfer from server to client

Why Does JSON Matter?

■ With the rise of AJAX-powered sites, it's becoming more and more important for sites to be able to load data quickly and asynchronously, or in the background without delaying page rendering. Switching up the contents of a certain element within our layouts without requiring a page refresh adds a "wow" factor to our applications, not to mention the added convenience for our users.

■ Because of the popularity and ease of social media, many sites rely on the content provided by sites such as Twitter, Flickr, and others.

Data transfer traditional way

Our client makes a

request for a page-worth of

data

Server

Client

Data transfer traditional way

Server

Client

Data transfer traditional way

Server

Client

Data transfer traditional way

Server

Client

Client

Data transfer traditional way

Server

Client

Data transfer traditional way

Server

Without streaming nothing is shown until

everything is downloaded

Data streaming

Server

Client

Data streaming

Server

Client

Data streaming

Server

Client

Because it uses a

streaming parser the

webapp can render

progressively

Data streaming

Server

Client

Data streaming

Server

Client

Data streaming

Server

Client

Data streaming

Server

Client

DEMO