liveBook · Manning

Cloud computing

As explained in Fast Python: High performance techniques for large datasets

Cloud computing is the on-demand delivery of computing resources and services over a network from remotely managed infrastructure.

Cloud computing uses externally maintained, commonly virtual infrastructure to provide computing and storage. Serverless arrangements can hide servers entirely. section 1.2.3

For performance-sensitive Python workloads, cloud is an execution and cost context, not simply a way to add machines or network storage. Proprietary resource extensions and APIs affect performance, virtual machines can make CPU-level tuning less predictable, and elapsed time directly affects cost. section 1.2.3

Account for these system-level implications:

  • Virtualization can make cache-locality optimizations uncertain because another virtual machine may preempt the cache. section 1.2.3
  • Proprietary cloud compute and storage solutions have specific APIs and behaviors, so their performance consequences may need separate consideration. section 1.2.3
  • Traditional cluster concerns still apply, but some cloud-specific problems require separate treatment. section 1.2.3
Figure 1.4 Underlying hardware architectures must be taken into account when choosing high-performance coding solutions.

Relate cloud architecture choices to the broader principle that underlying hardware shapes high-performance coding decisions. section 1.4

How Fast Python: High performance techniques for large datasets covers it

How deep it goes
Surveys virtualization, proprietary resource interfaces, cache uncertainty, and cost implications without developing a cloud-specific implementation.
Examples
Uses serverless computing and virtual-machine cache preemption to illustrate hidden infrastructure and uncertain CPU optimization.
What you can do after
Evaluate architecture tradeoffs to choose performance strategies suited to available resources and goals.
How it connects
Connects cloud computing to virtual machines, serverless computing, on-premises clusters, CPU cache locality, and compute and storage resources.

Also explained in

Compare how 10 books explain cloud computing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fast Python: High performance techniques for large datasets. The section links point to the parts of the book it draws on.