Skip to content

User Guide

The Pyvider RPC Plugin User Guide provides comprehensive documentation for building production-ready RPC plugins with Python. Whether you're new to RPC development or an experienced developer, this guide covers everything from basic concepts to advanced deployment patterns.

๐Ÿค– AI-Generated Content

This documentation was generated with AI assistance and is still being audited. Some, or potentially a lot, of this information may be inaccurate. Learn more.

What's Covered

This guide is organized into focused sections that build upon each other:

๐ŸŽฏ Core Concepts

Understanding the fundamental architecture, transports, protocols, and security model that powers pyvider-rpcplugin.

๐Ÿ–ฅ๏ธ Server Development

Learn to build robust plugin servers with service implementation, transport configuration, async patterns, and health monitoring.

๐Ÿ“ฑ Client Development

Master client development including connection management, error handling, retry logic, and direct connections.

๐Ÿ” Security

Comprehensive security coverage including mTLS configuration, certificate management, magic cookies, and process isolation.

โš™๏ธ Configuration

Production-ready configuration management with environment variables, deployment setups, rate limiting, and logging.

๐Ÿš€ Advanced Topics

Advanced patterns including custom protocols, performance tuning, middleware development, and plugin lifecycle management.

  • Core Concepts


    RPC architecture, transports, protocols, handshake process, and security model

    Learn Concepts

  • Server Development


    Build robust plugin servers with async patterns and health monitoring

    Build Servers

  • Client Development


    Create reliable clients with connection management and retry logic

    Build Clients

  • Security


    Implement mTLS, manage certificates, and ensure secure communication

    Secure Plugins

  • Configuration


    Production configuration, environment setup, and deployment patterns

    Configure Apps

  • Advanced Topics


    Custom protocols, performance tuning, middleware, and lifecycle management

    Advanced Patterns

Learning Approach

For Beginners

If you're new to RPC development, start with: 1. Core Concepts - Understand the foundation 2. Server Development - Build your first server
3. Client Development - Create a client to connect 4. Security - Add production-grade security

For Experienced Developers

If you have RPC experience, you might want to: 1. Skim Core Concepts for pyvider-specific patterns 2. Jump to Advanced Topics for sophisticated use cases 3. Reference Configuration for production deployment 4. Explore custom Protocols and Middleware

Design Philosophy

Pyvider RPC Plugin follows these core principles:

๐ŸŽฏ Simplicity First

Complex RPC operations should be simple to implement. The framework handles the complexity so you can focus on your business logic.

๐Ÿ”’ Security by Default

Security features like mTLS and process isolation are built-in and enabled by default, not bolt-on additions.

โšก Performance Oriented

Async-first design with efficient transports and serialization for high-throughput, low-latency communication.

๐Ÿ› ๏ธ Developer Experience

Comprehensive type safety, clear error messages, and extensive documentation make development productive and enjoyable.

๐Ÿ—๏ธ Production Ready

Built-in monitoring, logging, rate limiting, and deployment patterns for enterprise environments.

Ready to dive in? Start with Core Concepts or jump to a specific topic that interests you!