-
Notifications
You must be signed in to change notification settings - Fork 1
/
convene.html
306 lines (268 loc) · 14.1 KB
/
convene.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Preserving High-Fidelity Web Content: Webrecorder and Emulation</title>
<meta name="description" content="Webrecorder Interoperability">
<meta name="author" content="Ilya Kreymer, Mark Beasley">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/white.css" id="theme">
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
<style>
.red-right {
color: red;
float: right;
display: inline
}
.clear-both {
clear: both;
}
.footer-links {
display: inline-block;
margin-left: 20px;
vertical-align: middle;
line-height: 1.5em;
font-family: sans-serif;
font-weight: bold;
}
.scale-diag {
width: 45%;
height: 45%
}
.tbl td {
text-align: center !important;
font-size: 80%;
}
.reveal pre {
line-height: 0.9em;
box-shadow: none;
}
</style>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<h3>Preserving High-Fidelity Web Content</h3>
<h4>Web Recording and Emulation</h4>
<p>Ilya Kreymer</p>
<p>Lead Developer, Webrecorder</p>
<p>
<img src="img/rhizome-logo-2.png" style="border:0; box-shadow:none;">
</p>
</section>
<section>
<h3>Web Archiving is<br/>Network Traffic Preservation</h3>
<ul>
<li class="fragment">Preserve full HTTP protocol transmission</li>
<li class="fragment">Store full request->response <i>conversations</i></li>
<li class="fragment">HTTP transmission stored sequentially</li>
<li class="fragment">Standardized ISO WARC format</li>
</ul>
</section>
<section>
<h3>Classic Web Archiving Approach</h3>
<ul>
<li class="fragment">Crawling, or <i>harvesting</i> of URLs</li>
<li class="fragment">Crawling policy dictated by complex rules, seeds</li>
<li class="fragment">Great for <i>classic web</i>, static documents w/ hyperlinks</li>
<li class="fragment">Different toolchain for crawling and access</li>
</ul>
</section>
<section>
<h3>Problems with Classic Approach</h3>
<ul>
<li class="fragment">Crawlers don't run Javascript</li>
<li class="fragment">Crawlers miss dynamic JS-created content</li>
<li class="fragment">Crawlers can't respond to user interaction</li>
<li class="fragment">Crawlers often treat URLs as files to be downloaded</li>
</ul>
</section>
<section>
<h3>URLs are not files!</h3>
<ul>
<li class="fragment">Preserving a URL is preserving one request/response</li>
<li class="fragment"><b>Same</b> URL can represent <b>different</b> content
<ul class="fragment">
<li>Personalized news.google.com, any social media</li>
</ul></li>
<li class="fragment"><b>Different</b> URLs can represent the <b>same</b> content!
<ul class="fragment">
<li>URLs with <i>cache-busting</i> params</li>
</ul></li>
<li class="fragment">URLs may be context dependent</li>
<li class="fragment">Must <b>record</b> URLs in the users' context</li>
</ul>
</section>
<section>
<section data-transition="none">
<h3>Symmetrical Archiving</h3>
<p>Unified architecture to <b>record</b> and <b>replay</b></p>
<p><b>Replay</b> Mode:
<img src="img/WR-play.png" style="margin-top: -150px"></p>
</section>
<section data-transition="none">
<h3>Symmetrical Archiving</h3>
<p>Unified architecture to <b>record</b> and <b>replay</b></p>
<p><b>Record</b> Mode:<br/>
<img src="img/WR-rec.png" style="margin-top: -150px"></p>
</section>
<section data-transition="none">
<h3>Symmetrical Archiving</h3>
<p>Unified architecture to <b>record</b> and <b>replay</b></p>
<p>Using <b>Remote Browsers</b>:
<img src="img/WR-remote.png" style="margin-top: -150px"></p>
</section>
</section>
<section>
<h3>Remote Browsers</h3>
<ul>
<li class="fragment">Browser running in remote emulator or container</li>
<li class="fragment">Introduced with <a href="http://oldweb.today/">oldweb.today</a></li>
<li class="fragment">Example: <a href="http://oldweb.today/nswin/20010330020339/http://www.leegte.org/works/online/composition_blue/index.htm">Scrollbar Composition</a></li>
<li class="fragment">Preserve Fixed Browser Environments</li>
<li class="fragment">Example: <a href="http://webrecorder.io/$record/temp/java/$br:firefox:49/http://www.math.rutgers.edu/~sontag/336/brownian-applet.html">Java Applet</a></li>
<li class="fragment">Another example: <a href="https://webrecorder.io/$record/temp/java/$br:firefox:49/http://archive.rhizome.org/artbase/1722/eicon.html">Every Icon</a></li>
</ul>
</section>
<section>
<h3>Web Archive Replay</h3>
<ul>
<li class="fragment">Network Traffic Replay</li>
<li class="fragment">Must find "best response" for each request</li>
<li class="fragment">Simplest case: exact URL match
<pre><ol>
<li class="fragment">Request for <b>http://example.com/</b></li>
<li class="fragment">Find 1 exact match for <b>http://example.com/</b></li>
<li class="fragment">Send Archived Response for <b>http://example.com/</b></li>
</ol>
</pre>
</li>
</ul>
</section>
<section>
<h3>Web Archive Replay</h3>
<ul>
<li class="fragment">Fuzzy matching:</li>
<pre><ol>
<li class="fragment">Request for <b>http://example.com/some/path?_=1234</b></li>
<li class="fragment">No Match for <b>http://example.com/some/path?_=1234</b></li>
<li class="fragment">Apply prefix matching, match ignoring query param</li>
<li class="fragment">Found match for <b>http://example.com/some/path?_=5678</b></li>
<li class="fragment">Return capture of <b>http://example.com/some/path?_=5678</b></li>
</ol></pre>
</li>
<li class="fragment">Return a response from different URL response!</li>
</ul>
</section>
<section>
<h3>Web Archive Replay Fuzzy Matching</h3>
<ul>
<li class="fragment">More difficult cases:</li>
<li class="fragment">Match some query arguments, ignore others</li>
<li class="fragment">Match by HTTP payload (POST, PUT)</li>
<li class="fragment">Match by header, custom format</li>
<li class="fragment">No single solution, need context-dependent rules</li>
</ul>
</section>
<section>
<h3>Challenges Ahead: Video</h3>
<ul>
<li class="fragment">Adaptive streaming formats (DASH, HLS)</li>
<li class="fragment">One video is not one URL</li>
<li class="fragment">Video consists of multiple chunks</li>
<li class="fragment">Each chunk may be one of several URLs</li>
<li class="fragment"><a href="https://webrecorder.io/demo/bbc-video/">Example: BBC Video</a></li>
<li class="fragment"><a href="https://webrecorder.io/demo/housesitin">Example: Live Stream</a></li>
</ul>
</section>
<section>
<h3>Challenges Ahead: Mobile</h3>
<ul>
<li class="fragment">Mobile Web Content</li>
<li class="fragment">Mobile Apps</li>
<li class="fragment"><a href="https://techcrunch.com/2017/04/03/statcounter-android-windows/">Report: Android overtakes Windows as the internet’s most used operating system</a> <small style="vertical-align: bottom">(TechCrunch)</small></li>
<li class="fragment">Can't ignore the mobile web platform!</li>
</ul>
</section>
<section>
<section data-transition="none">
<h3>Symmetrical Archiving</h3>
<p>Unified architecture to <b>record</b> and <b>replay</b></p>
<p>Using <b>Remote Browsers</b>:
<img src="img/WR-remote.png" style="margin-top: -150px"></p>
</section>
<section data-transition="none">
<h3>Symmetrical Archiving</h3>
<p>Unified architecture to <b>record</b> and <b>replay</b></p>
<p>Using <b>Remote Android Emulator!</b>
<img src="img/WR-android.png" style="margin-top: -150px"></p>
</section>
</section>
<section>
<h3>Demo: Web Archive + Android Emulator</h3>
<ul>
<li class="fragment">Record / Replay Mobile Web Traffic to WARC</li>
<li class="fragment">Record / Replay Mobile App Traffic to WARC?</li>
<li class="fragment">Emulators are not just for old software</li>
<li class="fragment">Network request/response matching can be challenging</li>
</ul>
</section>
<section>
<h3>Thank you!</h3>
<br/>
<h4>Questions?</h4>
</section>
</div>
</div>
<!-- Footer -->
<div style="position:absolute; bottom:1%; left:2%; width:100%; vertical-align: middle">
<img style="vertical-align: middle; width: 48px; height: 48px" src="img/wr-logo.png">
<img style="vertical-align: middle" width="18%" src="img/wr-text.png">
<span class="footer-links">
<a href="https://webrecorder.io/" target="_blank">webrecorder.io</a><br/>
<a href="http://rhizome.org/" target="_blank">rhizome.org</a>
</span>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
margin: 0.05,
transition: 'slide', // none/fade/slide/convex/concave/zoom
// Optional reveal.js plugins
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true },
{ src: 'plugin/notes/notes.js', async: true }
]
});
</script>
</body>
</html>
g