Rust Servers, Services, and Apps

Eshwarla, Prabhu

  • 出版商: Manning
  • 出版日期: 2023-12-07
  • 定價: $2,100
  • 售價: 9.5$1,995
  • 貴賓價: 9.0$1,890
  • 語言: 英文
  • 頁數: 325
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1617298603
  • ISBN-13: 9781617298608
  • 相關分類: Rust 語言
  • 立即出貨




Deliver fast, reliable, and maintainable applications by building backend servers, services, and frontends all in nothing but Rust.

In Rust Servers, Services, and Apps, you’ll learn:

  • Developing database-backed web services in Rust
  • Building and securing RESTful APIs
  • Writing server-side web applications in Rust
  • Measuring and benchmarking web service performance
  • Packaging and deploying web services
  • Full-stack Rust applications

The blazingly fast, safe, and efficient Rust language has been voted “most loved” for multiple consecutive years on the StackOverflow survey. Rust Server, Services, and Apps shows you why! Inside, you’ll build web servers, RESTful services, server-rendered apps, and client frontends just using Rust. You’ll learn to write code with small and predictable resource footprints, and build high-performing applications with unmatched safety and reliability.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology

Build speedy, stable, and safe web servers in Rust! With a unique approach to memory management and concurrency, Rust excels at getting the low-level details right so your applications run fast and flawlessly. And Rust’s incredible compiler helps you avoid expensive mistakes when you’re deploying web services and other core components in production.

About the book

Rust Servers, Services, and Apps shows you how to create modern distributed web apps using the Rust language. You’ll start with the basics: building a simple HTTP server and a RESTful web service. Then, you’ll make them production ready by adding security, database interactivity, and error handling. Finally, you’ll tackle a digital storefront service, create a single page app, and dig into asynchronous programming. All examples are fully illustrated and include annotated code you can easily adapt to your own projects.

What's inside

  • Craft resilient and secure RESTful APIs
  • Package and deploy web services
  • Refactor fearlessly thanks to Rust’s guaranteed safety
  • Slash costs with Rust’s runtime and compile-time optimizations
  • Asynchronous programming with Rust


Prabhu Eshwarla has spent over 25 years in the software industry, including time at Hewlett Packard. He specializes in distributed software systems including web development, backend servers, and system tools using open source technologies. He is currently working on web3 technologies.


Prabhu Eshwarla在軟體產業已經有超過25年的經驗,包括在惠普公司的工作。他專注於分散式軟體系統,包括網頁開發、後端伺服器和使用開源技術的系統工具。他目前正在從事web3技術的工作。


1 Why Rust for web applications?
2 Writing a basic web server from scratch
3 Building a RESTful web service
4 Performing database operations
5 Handling errors
6 Evolving the APIs and fearless refactoring
7 Introducing server-side web apps in Rust
8 Working with templates for tutor registration
9 Working with forms for course maintenance
10 Understanding async Rust
11 Building a P2P node with async Rust
12 Deploying web services with Docker