Leanpub Header

Skip to main content

Filters

Category: "Performance Engineering"

Performance Engineering

  1. vLLM and the Engineering of Fast LLM Inference
    vLLM and the Engineering of Fast LLM Inference
    A Systems Guide to High-Performance Large Language Model Serving
    Steve Publications

    Building fast LLM inference is about far more than turning the right knobs. This book takes you inside vLLM and the systems behind it, showing how memory, scheduling, GPUs and distributed serving shape real-world performance. Learn how to measure what matters, find bottlenecks and build inference infrastructure that scales without wasting money.

  2. Linux Performance Engineering & Server Benchmarking
    Linux Performance Engineering & Server Benchmarking
    From Kernel Internals to Production Optimization
    Steve Publications

    Go beyond basic Linux tuning and learn how performance really works under the hood. Explore kernel internals, hardware behavior, benchmarking and production optimization with practical tools, real trade-offs and copy-paste-ready examples. Build the skills to diagnose bottlenecks and solve performance problems with confidence.

  3. AI-Driven Database Query Optimization
    AI-Driven Database Query Optimization
    From Cost Models to Neural Optimizers — A Practical Engineering Guide
    Steve Publications

    What happens when AI starts making the decisions behind your database queries? This practical guide explores how modern optimizers work, then shows how machine learning and reinforcement learning can improve them. Learn to build, test and deploy AI-driven optimization systems that deliver real performance gains.

  4. High-Performance .NET: From JIT to Hardware
    High-Performance .NET: From JIT to Hardware
    A Systems-Level Guide to Writing Fast .NET Applications
    Steve Publications

    Go beyond writing code that works. Learn what really happens inside .NET, from C# and the JIT to memory, CPU execution and the operating system. This practical guide shows experienced developers how to measure performance, find real bottlenecks and make targeted improvements that hold up in production.

  5. Building High-Performance Compression Systems
    Building High-Performance Compression Systems
    bzip3 and Beyond
    Steve Publications

    What really makes a compression system fast, efficient and effective? Using bzip3 as a practical case study, this book breaks down the building blocks behind modern compression, from data transforms and match finding to entropy coding and parallel processing. Learn how to design, implement and tune compression systems for real-world performance.

  6. PostgreSQL Under Load: Connections, Transactions, MVCC and Concurrency
    PostgreSQL Under Load: Connections, Transactions, MVCC and Concurrency
    A definitive guide to operating PostgreSQL reliably under real-world production workloads.
    Steve Publications

    PostgreSQL Under Load shows what really happens when production gets busy. Learn how connections, transactions, MVCC, locks, WAL and autovacuum interact under pressure, then use that knowledge to diagnose incidents, tune PostgreSQL and build systems that stay reliable when concurrency spikes.

  7. Building High-Performance LLM Inference Engines in C
    Building High-Performance LLM Inference Engines in C
    From Transformer Fundamentals to a Complete SafeTensors Inference Runtime
    Steve Publications

    Build a real LLM inference engine from the ground up in portable C. Learn how transformers work, load SafeTensors weights, implement KV caching and optimize inference on the CPU. By the end, you will run TinyLlama locally and generate text with a complete working runtime.

  8. Running LLMs on Tiny Hardware
    Running LLMs on Tiny Hardware
    A Systems Engineer's Guide to Edge Inference on Resource-Constrained Devices
    Steve Publications

    What does it take to run an LLM on hardware that barely has enough memory to breathe? This practical guide takes you from transformer math and model compression to inference runtimes, benchmarking and real-world deployment, with hands-on case studies for building fully offline LLM systems on tiny devices.

  9. Building Your LLM Twin
    Building Your LLM Twin
    A Production-Grade Guide to Engineering Large Language Models from Concept to Deployment
    Steve Publications

    What if you could build an AI that writes just like you? In Building Your LLM Twin, you'll follow a hands-on journey from raw writing data to a fully deployed AI that captures your unique voice. Learn to build, fine-tune and scale real-world LLM systems with practical code, proven techniques and the tools to take your project from concept to production.

  10. EF Core Performance Cookbook

    Kill N+1 queries, read EXPLAIN-friendly EF patterns, and ship faster ASP.NET APIs with a dense EF Core performance cookbook.

  11. Concurrent Programming in Java
    Concurrent Programming in Java
    From Traditional Threads to Project Loom
    Florin Radu

    Master the ideas behind Java concurrency, from threads, race conditions, and synchronization to CompletableFuture, virtual threads, and structured concurrency. With practical patterns, runnable examples, and a companion GitHub repository, this book helps you move from understanding concurrency to applying it in real programs.

  12. DuckDB and the Rise of Embedded Analytical Databases
    DuckDB and the Rise of Embedded Analytical Databases
    A Comprehensive Guide to High-Performance Local Analytics
    Steve Publications

    DuckDB is changing how developers think about analytics. This practical guide takes you from its architecture and SQL capabilities to performance tuning, cloud storage and production deployments. Learn how DuckDB works, where it shines and how to build fast, flexible analytical systems around it.

  13. Next Generation Python
    Next Generation Python
    Free-Threading, Rust Extensions, and High-Performance Python
    Steve Publications

    Python is entering a new performance era. Explore free-threaded execution, Rust extensions and modern tools for building faster, more scalable Python systems. Learn how CPython is changing, when Rust makes sense and how to turn these ideas into production-ready software.

  14. Software Performance Engineering in 2026
    Software Performance Engineering in 2026
    A Practical Guide to Building Fast, Scalable Systems from Hardware to Distributed Architecture
    Steve Publications

    Why is your system slow, and how do you know what to fix? This practical guide takes you from CPU and memory behavior to databases, networks and distributed systems. Learn how to profile, benchmark and diagnose real performance problems with working examples across modern languages and tools.