liveBook · Manning

Sequential processing

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

The execution of operations one after another in a defined order, without overlapping their progress.

Sequential processing executes tasks one after another in a defined order, without interruption. In Python, it serves as a baseline for considering ways to reduce waits or use more CPU resources. section 3.0

A sequential solution is not always the best route to performance, but it can still be useful when designing an architecture. section 3.6

Understanding sequential, concurrent, and parallel models. Sequential execution occurs when all tasks are executed in sequence and never interrupted. Concurrent execution with no parallelism adds the possibility of a task being interrupted by another and later resumed. Parallelism occurs when several tasks are run at the same time. Even with parallelism, it is quite common for preemption to still occur as the number of processors/cores may not be enough for all tasks. A dream scenario is when there are more processors than tasks: this allows parallel execution of all tasks without the need for any preemption.

Compare sequential execution with concurrent and parallel models. section 3.0

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

How deep it goes
Defines sequential execution and distinguishes it from concurrent and parallel execution.
What you can do after
Understand how sequential execution differs from concurrent and parallel execution.
How it connects
Connects sequential processing to concurrency, parallelism, asynchronous programming, and multiprocessing.

Also explained in

Compare how 7 books explain sequential processing →

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.