Computation and Storage in the Cloud: Understanding the Trade-Offs