This repository has been archived by the owner on Feb 10, 2022. It is now read-only.
forked from ploum/lingi2401
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7. decentralisation and standardisation.html
417 lines (251 loc) · 7.78 KB
/
7. decentralisation and standardisation.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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!DOCTYPE html>
<html>
<head>
<title>LINGI2401 - 7. decentralisation and standardisation</title>
<meta charset="utf-8">
<style>
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body { font-family: 'Droid Serif'; }
h1, h2, h3 {
font-family: 'Yanone Kaffeesatz';
font-weight: normal;
}
.remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; }
</style>
</head>
<body>
<textarea id="source">
TODO: bitorrent, Tor. XKCD comic. Spam picture.
class: center, middle
# LINGI 2401 : Open Source strategy for software development
Lionel Dricot
lionel.dricot@uclouvain.be
lionel@ploum.net
@ploum - @ploum@mamot.fr
???
---
class: center, middle
# One thing you learned from last week
???
Everybody should have a different one
---
class: center, middle
#Calendar
What about turning your reports early to do some peer-review?
---
class: center, middle
# What is interoperability?
---
class: center, middle
#Interoperability:
In time and in space
---
class: center, middle
#Interoperability:
- Hardware
- Operating System
- Client
- Language
---
class: center, middle
*"Be liberal in what you accept, conservative in what you send."*
(Jon Postel)
---
class: center, middle
#Interoperability through reverse-engineering
---
class: center, middle
*"Interoperability implies Open standards"*
(Wikipedia)
---
class: center, middle
#Different level of interoperability:
1. Active obfuscation
2. Closed source implementation without obfuscation
3. Documentation of the format
4. Documentation and open source reference implementation
5. A diverse group working to standardise the format.
6. A standard recognised by a standardisation organisation (ISO, OASIS, …)
---
class: center, middle
background-image: url(https://github.com/ploum/lingi2401/raw/master/images/winmail.jpg)
---
class: center, middle
#Standardisation is great but usage is more important
???
This is often forgotten in the Open Source community
https://ploum.net/winmail-dat-syndrome/
---
class: center, middle
#De-facto standard
either non-standardised format (word 97) or bad implementation of an existing standard (Outlook emails)
---
class: center, middle
#Best standards does not always win
---
class: center
background-image: url(https://github.com/ploum/lingi2401/raw/master/images/betamax.jpg)
#VHS vs Betamax
???
https://en.wikipedia.org/wiki/Videotape_format_war
---
class: center, middle
#Open Source & Interoperability
- Open source cannot work with closed format because implementing them is already a form of documentation.
- Open source is good for interoperability.
- Interoperability needs open source, at least for a reference implementation.
---
class: center, middle
#Some standards:
---
class: center, middle
#What is decentralisation?
???
Let's take the time to design a decentralised system.
---
class: center, middle
*"Decentralized system: A distributed system in which multiple authorities control different components and no single authority is fully trusted by all others."*
(Carmela Troncoso, Marios Isaakidis, George Danezis, Harry Halpin 2017)
???
https://arxiv.org/abs/1704.08065
---
class: center
background-image: url(https://github.com/ploum/lingi2401/raw/master/images/decentralised.png)
#Centralised, federated, distributed
???
There's no clear consensus about the term "decentralised" which was initially used (baran 64) to describe what is now called "federated". Now, decentralised seems mostly used as an umbrella term for both federated and distributed.
http://networkcultures.org/unlikeus/resources/articles/what-is-a-federated-network/
Baran 64 : www.rand.org/content/dam/rand/pubs/research_memoranda/2006/RM3764.pdf
---
class: center, middle
#Decentralisation is a permanently evolving consensus
The consensus is called "protocol"
---
class: center, middle
#Why is decentralisation hard?
---
class: center, middle
#Why is decentralisation hard?
- because you cannot trust other members of the network.
- because you have to agree with them on the protocol
---
class: center, middle
#Decentralisation usually means a standardised protocol
---
class: center, middle
#How to break a decentralised network
- Disagree with the protocol -> fork
- Pretend to agree but do not respect the protocol
- Respect the protocol but abuse the system (spam)
---
class: center, middle
#Benefits of decentralisation?
---
class: center, middle
#Benefits of decentralisation?
1. Better resilience of the overal system (survivability)
2. Privacy and security (distributed trust)
---
class: center, middle
#Problems of decentralisation?
---
class: center, middle
#Problems of decentralisation
1. Agreements on protocol changes
2. Upgrading nodes of the network
3. Spam
4. Complexity (implementation)
5. Complexity (UX)
6. Social acceptance of problems
7. Natural tendancy to recentralise (everyone on the same instance)
???
5. is usually overlooked by most technical programmers.
6. is completely forgotten in the free software community (see winmail.dat syndrom)
7. is not understood by free software activists.
---
class: center, middle
#The choice problem
- Free software: you should have the choice
- Normal person: but if I have choice, I could be wrong
---
class: center, middle
#Costs vs benefits
???
That's not a lot of advantages. That's make decentralisation even harder. But maybe those advantages worth it.
---
class: center, middle
*"Nobody was ever fired for choosing Microsoft"*
---
class: center, middle
*"Nobody cares about survivability of others. If it fails for you, you want to be sure it fails for the others too."*
---
class: center, middle
Most decentralised network still have centralised parts (like routes, directories (see XMPP))
---
class: center, middle
#Example 1: Mail
- spam problem (and no clear line between "true spam" and "valid mails")
- standard problem (winmail.dat)
- not privacy oriented
- no identity mechanism
- non-evolution of the protocol
---
class: center, middle
#Example 2: XMPP
- Slow evolution (example of XEP-0084)
- Stabilty of servers
- Confusing UX (Jabber address vs email addresses)
- The great 2013 Google divide
???
It tooks XMPP years to have user avatars (XEP-0084) and, worst, the most popular XMPP client at the time (Psi) was using something else.
---
class: center, middle
#Example 3: Mastodon
- Tendancy to centralisation of a few servers
- Already some spam servers
- Hard to mention users from other servers (but good UX)
- Hard to explain that address are @ploum@mamot.fr and you have to choose a server
- Focus on being tolerant but how could it ever be enforced?
???
Mastodon is still young and is a very interesting project to follow.
---
class: center, middle
#Example 4: Diaspora
- Developed as a crowdfunded decentralised Facebook
- Development mostly stalled
---
class: center, middle
#Some decentralised network widely used:
- Emails
- WWW (was not always the case, example AOL)
- SMS
and… that's mostly it. Anything else?
---
class: center, middle
#Recentralisation
- Emails is now mainly centralised to Gmail, Outlook (hotmail) and Yahoo.
- WWW is now mainly centralised to Google, Facebook, Amazon S3.
- SMS?
???
Example of OVH failing.
SMS is also quite centralised.
---
class: center, middle
#The future…
Blockchain
---
class: center, middle
…but even bitcoin mining is quite centralised those days
---
class: center, middle
# Discussion time
</textarea>
<script src="https://remarkjs.com/downloads/remark-latest.min.js">
</script>
<script>
var slideshow = remark.create();
</script>
</body>
</html>