05. Cloud Computing, Performance - Cost and Complexity

Matrix Multiplication

Product of matrix MM with vector vv:

(Mv)i=jmijvj (Mv)_i = \sum_j{m_{ij}v_j}

Matrices and vectors are stored in sparse form:

Vector Fits in Memory

If the vector fits in memory, but the matrix does not:

Vector Doesn’t Fit in Memory

Matrix-Matrix Multiplication

Repeat matrix-vector multiplication across each column in the second matrix.

Cloud Computing

A platform: a collection of integrated and networked hardware, software and internet infrastructure.

Tiers:

Virtualization

Multiple VMs running on a single physical machines: sandboxes user code to ensure it is completely isolated from any other user code.

Cloud advantages:

Disadvantages: