liveBook · Manning

Sequential processing

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

How 7 Manning books explain it

Grokking Concurrency

Serial or sequential execution is execution in which tasks run one after another, with a later task waiting for the preceding task to complete.

How it is used
Establishes a one-task-at-a-time baseline for deciding when concurrency or parallel execution might help.
How deep it goes
Defines tasks and serial ordering, then works through dependent steps and scaling trade-offs.
Examples
Uses laundry loads, Tic-Tac-Toe turns, and a Python password search to distinguish necessary waiting from independent work.
What you can do after
Evaluate/understand it by identifying required task ordering and recognizing independent work that could be parallelized.

Read how Grokking Concurrency explains sequential processing →

Learn Concurrent Programming with Go

Sequential execution is the execution of operations in an ordered flow without overlapping concurrent progress.

How it is used
Explains ordered work and deliberately serialized critical sections within concurrent programs.
How deep it goes
Connects sequential regions to scalability, mutex scope, scheduling, and observed runtime, but does not develop formal execution models.
Examples
Uses construction dependencies, a narrow transport road, and Go RFC letter-frequency workers with oversized and focused mutex regions.
What you can do after
Diagnose excessive serialization and place mutexes around shared updates without blocking independent downloads.

Read how Learn Concurrent Programming with Go explains sequential processing →

Distributed Machine Learning Patterns

A workflow pattern in which dependent processing proceeds in coordinated order, with an operation waiting for required preceding work to complete.

How it is used
Orders dependent machine-learning workflow steps when downstream work requires preceding outputs.
How deep it goes
Defines blocking step order and contrasts it with concurrent synchronous and nonblocking asynchronous execution.
Examples
Uses ingestion before training and uneven model-training durations that delay selection and serving.
What you can do after
Evaluate whether dependent steps must wait or can proceed through synchronous or asynchronous execution.

Read how Distributed Machine Learning Patterns explains sequential processing →

AI Agents in Action

Sequential execution is the performance of actions or tasks one after another in a specified order.

How it is used
Structures multi-agent crews and planning agents when later actions depend on earlier results.
How deep it goes
Defines ordered execution, demonstrates CrewAI configuration, and exercises feedback and parallel comparisons without detailing execution internals.
Examples
Uses CrewAI coding crews, snake games, Wikipedia retrieval, file saving, and multistep data gathering.
What you can do after
Build sequential planning agents, configure CrewAI task order, and compare sequential behavior with parallel execution.

Read how AI Agents in Action explains sequential processing →

Grokking Simplicity

A sequential action is an action that is ordered to occur in sequence with other actions on the same execution timeline.

How it is used
Uses timeline diagrams to establish action ordering and diagnose bugs caused by multiple execution timelines.
How deep it goes
Defines sequential placement, decomposes actions, and gives a three-step diagramming process, but stops short of language-independent execution internals.
Examples
Uses atomic variable updates, left-to-right argument evaluation, and cost and shipping AJAX requests as ordering examples.
What you can do after
Diagnoses ordering bugs with timeline diagrams and evaluates when coordination can make parallel work both faster and correct.

Read how Grokking Simplicity explains sequential processing →

Build an AI Agent (From Scratch)

A sequential workflow executes agents in a fixed order, passing each agent's output context to the next agent.

How it is used
Orchestrates specialized agents through predictable, step-by-step workflows such as research, writing, and review.
How deep it goes
Explains workflow structure and run() mechanics, including input branching, context passing, and execution-state resets.
Examples
Uses researcher, writer, and editor agents to demonstrate a blog-writing pipeline.
What you can do after
Build it from scratch by implementing an Agent-compatible SequentialWorkflow with ordered execution and context handoff.

Read how Build an AI Agent (From Scratch) explains sequential processing →

Fast Python: High performance techniques for large datasets

How it is used
Frames sequential execution as the baseline for explaining why ordinary Python code may underuse available CPU resources.
How deep it goes
Defines sequential execution and contrasts its task ordering with concurrency and parallelism.
Examples
Uses an execution-model figure to contrast sequential, concurrent, and parallel task scheduling.
What you can do after
Understand and distinguish sequential execution from concurrency and parallelism by task ordering and overlap.

Read how Fast Python: High performance techniques for large datasets explains sequential processing →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.