algorithms for and against the cloud - tik...algorithms interact in two main ways with the cloud....

146
ETH Zurich – Distributed Computing Group Roger Wattenhofer Algorithms for and against the Cloud

Upload: others

Post on 26-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

ETH Zurich – Distributed Computing Group

Roger Wattenhofer

Algorithms for and against

the Cloud

Page 2: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

PODC

SODA

STOCFOCS

ICALPSPAA

EC

SenSysOSDI

Mobicom

AAAI

SIGCOMM

HotNets

Disclaimer

Page 3: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithms for the Cloud

Page 4: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithms for the Cloud

Infrastructure

Page 5: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithms for the Cloud

just perfect

Page 6: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithms for the Cloud

Infrastructure

Page 7: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 8: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 9: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 10: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 11: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 12: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Find balanced separator of minimum size 𝐾.

Page 13: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Find balanced separator of minimum size 𝐾.

Page 14: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Find balanced separator of minimum size 𝐾.

Page 15: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Our result: almost linear time algorithm for small 𝐾.

[Brandt, W., 2017]

Find balanced separator of minimum size 𝐾.

Page 16: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

[Brandt, W., 2017]

…in a boring way

Find balanced separator of minimum size 𝐾.

Our result: almost linear time algorithm for small 𝐾.

Page 17: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithms for the Cloud

just perfect

Page 18: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

GPS for the Cloud

Page 19: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Just record 1ms of raw data

Page 20: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Coarse Time Navigation

Exhaustive Search in Area

Page 21: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Also Robust to GPS Spoofing

Page 22: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithms for the Cloud

just perfect

Page 23: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

$100B Revenue

¾ Online

Page 24: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Match Players Fast Waiting is Boooooring

Match Players Well

Similar Rating, Location, etc.

Online Two Player Games

Page 25: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Min-Cost Perfect Matching With Delays (MPMD)

Page 26: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

Page 27: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

Page 28: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

Page 29: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

Page 30: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

time cost

space cost

Page 31: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

time cost

space cost

Page 32: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

time cost

space cost

Page 33: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

time cost

space cost

Page 34: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Haste Makes Waste!

Page 35: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

time cost

space cost

Page 36: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

Page 37: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

Page 38: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

MPMD Example

time

rating (space)

algorithm cost

optimal cost

Page 39: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 40: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

[Wang et al., 2018]…

Page 41: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

The 𝑂(log 𝑛) Algorithm

Page 42: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Approximate Metric by Tree

Leaves = Nodes in Metric Space

[Fakcharoenphol, Rao, Talwar 2004], [Bansal, Buchbinder, Gupta, Naor 2015]

Height = 𝑂(log𝑛)E[Distortion] = 𝑂(log𝑛)

𝑤

Page 43: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 44: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 45: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

= 𝑤

Page 46: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 47: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 48: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 49: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 50: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 51: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 52: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithm

Page 53: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

Page 54: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

Page 55: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

Page 56: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

Total space cost = σ

Page 57: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

Page 58: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

Page 59: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

For each pair at least one timer running

Total time cost ≤ 2σ

Page 60: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Total Algorithm Cost = 𝑂(σ )

Page 61: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

What about OPT?

Page 62: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

Page 63: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 64: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 65: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 66: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

timeALG

OPT

or

Page 67: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

timeALG

OPT

or

cost = cost

Page 68: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Done?

Page 69: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Just One Little Thing…

Page 70: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 71: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 72: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 73: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 74: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 75: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 76: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 77: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 78: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Proof

timeALG

OPT

Page 79: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

OPT has an easy time…

Page 80: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

… but only every other phase!

Page 81: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Total OPT Cost = 𝛺(σ )

Page 82: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Where is the log 𝑛 coming from?

Height = 𝑂(log𝑛) for timeE[Distortion] = 𝑂(log 𝑛) for space

Page 83: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 84: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Algorithms against the Cloud

Page 85: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 86: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 87: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

2008

Page 88: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Blockchain

Page 89: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 90: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Blockchain Basics

Page 91: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Transaction

Page 92: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Transaction

Page 93: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Transaction

Page 94: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Transaction

Page 95: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Block

Page 96: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Blockchain

Page 97: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Blockchain is Replicated

Page 98: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Distributed Systems & Cryptography

(1982) (1976)

Blockchain

Page 99: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Distributed Systems & Cryptography

Fault-Tolerance & Digital Signatures

Blockchain

Page 100: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Rule of Thumb

Blockchains* may disrupt your business if you use signatures.

*or blockchain-like tech

Page 101: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Blockchain Variants

Page 102: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 103: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Permissionless / Open

Page 104: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Permissioned / Closed

Page 105: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Multiple Participants?

Writers Known?

No Blockchain(use DB/Cloud)

PermissionlessBlockchain

Permissioned Blockchain

yes

yes

no

no

Page 106: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

The Seven Blockchain Dimensions

Persistence

Pri

vacy

Energy

Page 107: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Persistence

Database

Provable

Correct

Byzantine

Fault-Tolerance

Blockchain

Immutable Crash

Page 108: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

1 hour

1 minute

Speed

Blockchain

10 tx/s

10m tx/s

Throughput

1 second

10k tx/s

Page 109: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

10 nodes

100 nodes

Scalability

Blockchain

1000 nodes

Page 110: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Energy Consumption

Page 111: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the
Page 112: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Market / Energy Value ≈ 12 GW$1M/h $0.08/kWh

Economic Incentives

Page 113: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Hashrate ∙ Energy/Hash ≈ 1.3 GW13 ∙ 109 GH/s 0.1 J/GH

Proof of Work

Page 114: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

The Seven Blockchain Dimensions

Persistence

Pri

vacy

Energy

Page 115: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

What About Privacy?

Page 116: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

It’s Complicated.

Page 117: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Anonymity/Public Identity/Private

Privacy

Page 118: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Research Issues

Persistence

Pri

vacy

Energy

Solution to “many” problems: “Layer 2”

Plus: crypto, language (smart contracts), game theory, measurements, …

Page 119: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

eMoney

Page 120: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Permissioned Blockchain

&

Payment Network

Page 121: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Permissioned Blockchain

Page 122: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Payment Network

Page 123: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Bitcoin

Anonymity

Open/Anarchic

Blockchain

Eventual Consistency

Proof-of-Work

eMoney

Accountability

Closed/Private

Paxos, PBFT, …

Strong Consistency

Central Banks

Page 124: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

eVoting

Page 125: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

What’s Wrong with Paper?

Page 126: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Cost

Page 127: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Verifiability

Page 128: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Identity Swapper

Identity Mixer

Anonymity

Page 129: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Election Help

Page 130: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Democracy Beyond Yes or No

2025

Wie viel sollen die SRG-Gebühren pro Jahr kosten? 42.-

Page 131: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Don’t bring a Blockchain

to a Gunfight

Page 132: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

So what’s new, really?

Page 133: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

137

Classical Adversary

timing

crashes

omission

Byzantine

Hello World!

Now solve

consensus

Page 134: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

138

meltdown

spectre

re-entrancy

rowhammer

Здравствуйте!

Now hold

an election

Modern Adversary

Page 135: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Hype … and Criticism

“First practical solution to a longstanding problem in computer science, Byzantine Generals.”

“Satoshi solved a problem that academic computer scientists thought was impossible”

“Bitcoin is digital gold, it will put us back onto a sound monetary policy”

“Bitcoin will end wars”

“A non-deliberate Ponzi scheme”

“It’s yet another eventually consistent database”

“Flawed technology, inherently limited in scale and performance”

“Unlikely to impact the finance sector”

Page 136: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Cloud vs. Blockchain

Would you rather fight…?

Page 137: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Cloud vs. Blockchain

Would you rather trust…?

miner

relay

developeruser

hodler

big corporation

Page 138: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Cloud vs. Blockchain

Thanks to lots of hardware…

Page 139: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

“We at big corp will run your blockchain in our cloud!”

Page 140: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

What’s this?

Page 141: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

A Blockchain?

Page 142: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

A Cloud?

Page 143: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

A Distributed System!

Page 144: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Summary

Page 145: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Thank You!Questions & Comments?

www.disco.ethz.ch

Thanks to my co-authorsVertex Separators: Sebastian BrandtOnline With Delay: Yuval Emek, Shay KuttenCloud GPS: Manuel Eichelberger

Page 146: Algorithms for and against the Cloud - TIK...Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the

Abstract:

Algorithms interact in two main ways with the cloud. There exist algorithms which are tailored for the cloud, for which the cloud is the perfect environment. Moreover, the cloud may also benefit from optimization algorithms, algorithms that make the cloud more efficient. The AlgoCloud program features papers which roughly fit one of the two, and I will also give a few examples in the first part of my talk. Apart from these algorithms for the cloud, I will also talk about algorithms against the cloud. Recently, blockchains are hyped to be a cloud competitor, sometimes even a cloud killer. In the second part of my talk we will discuss whether there is some truth to whether blockchains are going to threaten the successful cloud paradigm.