# The end of polling: why and how to transform a REST API into a Data Streaming API?

- Institution: CERN
- Department: Conferences
- Speaker: Audrey Neveu
- Year: 2017
- Language: English
- Source: [CERN](https://videos.cern.ch/record/3016136)
- Licence: [CERN](http://copyright.web.cern.ch)
- Who can watch: Teens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

We know interactivity is the key to keep our user's interest alive but we can't reduce animation to UI anymore. Twitter, Waze, Slack… users are used to have real-time data in applications they love. But how can you turn your static API into a stream of data? By pulling? Pushing? Webhook-ing?

When talking about data streaming, we often think about WebSockets. But have you ever heard of Server-Sent Events?

In this tools-in-action we will compare those technologies to understand which one you should opt for depending on your usecase, and I'll show you how we have been reducing the amount of data to transfer even further with JSON-Patch.

And because real-time data is not only needed by web (and because it's much more fun), I'll show you how we can make a drone dance on streamed APIs..

0:00:00 Slide 1

0:00:49 Slide 2

0:01:06 Slide 3

0:01:26 Slide 4

0:01:42 Slide 5

0:01:58 Slide 6

0:02:07 Slide 7

0:02:22 Slide 8

0:02:34 Slide 9

0:03:17 Slide 10

0:03:29 Slide 11

0:03:53 Slide 12

0:04:01 Slide 13

0:04:09 Slide 14

0:04:16 Slide 15

0:04:21 Slide 16

0:05:03 Slide 17

0:05:23 Slide 18

0:05:27 Slide 19

0:05:33 Slide 20

0:05:42 Slide 21

0:05:52 Slide 22

0:05:57 Slide 23

0:06:02 Slide 24

0:06:09 Slide 25

0:06:28 Slide 26

0:06:44 Slide 27

0:06:56 Slide 28

0:07:01 Slide 29

0:07:22 Slide 30

0:08:39 Slide 31

0:09:04 Slide 32

0:09:10 Slide 33

0:09:16 Slide 34

0:09:27 Slide 35

0:09:35 Slide 36

0:09:43 Slide 37

0:09:47 Slide 38

0:09:51 Slide 39

0:09:55 Slide 40

0:10:07 Slide 41

0:10:16 Slide 42

0:10:24 Slide 43

0:10:35 Slide 44

0:11:47 Slide 45

0:14:14 Slide 46

0:15:19 Slide 47

0:15:38 Slide 48

0:15:44 Slide 49

0:15:53 Slide 50

0:16:13 Slide 51

0:16:28 Slide 52

0:16:37 Slide 53

0:16:46 Slide 54

0:17:13 Slide 55

0:17:35 Slide 56

0:17:47 Slide 57

0:18:11 Slide 58

0:18:15 Slide 59

0:19:13 Slide 60

0:20:01 Slide 61

0:20:26 Slide 62

0:20:36 Slide 63

0:21:02 Slide 64

0:21:15 Slide 65

0:21:31 Slide 66

0:21:52 Slide 67…

## Lectures

1. [The end of polling: why and how to transform a REST API into a Data Streaming API?](https://invisiblenetwork.ai/learn/cern/3016136/0104ce37f63a), 58 min (CERN's player)
