Persistent connection
A persistent connection is a communication link kept open for reuse across multiple messages or operations, rather than reestablished for each exchange.
Build Your Own Robot: Using Python, CRICKIT, and Raspberry Pi
A persistent connection is a network connection that remains open so multiple requests can be transmitted without establishing a new connection for each request.
- How it is used
- Improves remote robot web-service calls by reusing one connection for repeated movement requests.
- How deep it goes
- Implements reusable HTTPConnection request functions and a 100-sample timing procedure, while deferring lower-level protocol detail.
- Examples
- Demonstrates spin-right and spin-left calls at three speeds, then times repeated noop calls.
- What you can do after
- Apply it via Python's HTTPConnection to send repeated robot-service requests and measure their latency.
Practical Automation with PowerShell: Effective scripting from the console to the cloud
A persistent connection is a remote connection established before command execution and maintained until it is explicitly closed.
- How it is used
- Uses remote sessions to execute automation across multiple devices with lower elapsed time and better failure isolation.
- How deep it goes
- Explains setup, parallel execution, failure handling, resource trade-offs, and the default 32-connection limit.
- Examples
- Uses 20-server checks, 30-second scripts, five-minute execution comparisons, and failed-device scenarios.
- What you can do after
- Operate parallel remote automation while managing failed sessions and connection-related resource limits.
Related concepts
- sessionincludes · A session is a bounded interaction context associated with a user, client, or process that may maintain state across related operations or requests.
- connection reuseused by · Connection reuse is the practice of sending multiple network requests over an already established connection.
- GKE Connectproduced by · GKE Connect is an Anthos component that connects external Kubernetes clusters to Google Cloud for centralized registration and management.
- Blazorused by · Blazor is a .NET web UI framework for building interactive web applications with .NET and Razor components.
- eventused by · An event is an occurrence, change, or associated record or notification recognized as significant within a system or context.
- Blazor Serverused by · Blazor Server is a Blazor hosting model in which component execution and event handling occur on the server while UI updates are sent to the browser.
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.

