Szczegóły ebooka

Rust Web Programming. A hands-on guide to developing, packaging, and deploying fully functional Rust web applications - Second Edition

Rust Web Programming. A hands-on guide to developing, packaging, and deploying fully functional Rust web applications - Second Edition

Maxwell Flitton

Ebook
Are safety and high performance a big concern for you while developing web applications?
With this practical Rust book, you’ll discover how you can implement Rust on the web to achieve the desired performance and security as you learn techniques and tooling to build fully operational web apps.
In this second edition, you’ll get hands-on with implementing emerging Rust web frameworks, including Actix, Rocket, and Hyper. It also features HTTPS configuration on AWS when deploying a web application and introduces you to Terraform for automating the building of web infrastructure on AWS. What’s more, this edition also covers advanced async topics. Built on the Tokio async runtime, this explores TCP and framing, implementing async systems with the actor framework, and queuing tasks on Redis to be consumed by a number of worker nodes. Finally, you’ll go over best practices for packaging Rust servers in distroless Rust Docker images with database drivers, so your servers are a total size of 50Mb each.
By the end of this book, you’ll have confidence in your skills to build robust, functional, and scalable web applications from scratch.
  • 1. A Quick Introduction to Rust
  • 2. Designing Your Web Application in Rust
  • 3. Handling HTTP Requests
  • 4. Processing HTTP Requests
  • 5. Displaying Content in the Browser
  • 6. Data persistence with PostgreSQL
  • 7. Managing User Sessions
  • 8. Building RESTful Services
  • 9. Testing Our Application Endpoints and Components
  • 10. Deploying Our Application on AWS
  • 11. Configuring HTTPS with NGINX on AWS
  • 12. Recreating Our Application in Rocket
  • 13. Best Practices for a Clean Web App Repository
  • 14. Exploring the Tokio Framework
  • 15. Accepting TCP Traffic with Tokio
  • 16. Building Protocols on Top of TCP
  • 17. Implementing Actors and Async with the Hyper Framework
  • 18. Queuing Tasks with Redis
  • Tytuł: Rust Web Programming. A hands-on guide to developing, packaging, and deploying fully functional Rust web applications - Second Edition
  • Autor: Maxwell Flitton
  • Tytuł oryginału: Rust Web Programming. A hands-on guide to developing, packaging, and deploying fully functional Rust web applications - Second Edition
  • ISBN: 9781803236650, 9781803236650
  • Data wydania: 2023-01-27
  • Format: Ebook
  • Identyfikator pozycji: e_39sx
  • Wydawca: Packt Publishing