High Performance with Laravel Octane: Learn to fine-tune and optimize PHP and Laravel apps using Octane and an asynchronous approach
暫譯: 使用 Laravel Octane 提升效能:學習如何透過 Octane 和非同步方法微調及優化 PHP 和 Laravel 應用程式
Butti, Roberto
- 出版商: Packt Publishing
- 出版日期: 2023-01-13
- 售價: $1,600
- 貴賓價: 9.5 折 $1,520
- 語言: 英文
- 頁數: 204
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1801819408
- ISBN-13: 9781801819404
-
相關分類:
Laravel、PHP
海外代購書籍(需單獨結帳)
相關主題
商品描述
Explore tools, techniques, and practices to remove performance bottlenecks and enhance the stability of your Laravel and PHP web applications
Key Features
- Get a complete view of what it takes to design and build a high-performing application with Octane
- Reuse objects across requests and execute application logic asynchronously
- Learn key elements to design and build a performance-optimized and production-ready application
Book Description
Laravel Octane is a very powerful component in the Laravel ecosystem that can help you achieve remarkable app performance. With Laravel Octane, you will find tools (queues, cache, and tables) that facilitate a new asynchronous approach for improving application performance.
This book highlights how Laravel Octane works, what steps to take in designing an application from the start, what tools you have at your disposal, and how to set up production environments. It provides complete coverage of the strategies, tools, and best practices to make your apps scalable and performant. This is especially important as optimization is usually the overlooked part in the application development lifecycle. You will explore the asynchronous approach in Laravel and be able to release high-performing applications that have a positive impact on the end-user experience.
By the end of this book, you will find yourself designing, developing, and releasing high-performance applications.
What you will learn
- Understand the dynamics of the request life cycle in a classic Laravel application
- Explore possibilities with OpenSwoole and Roadrunner and choose the best solution for your application
- Analyze the potential bottlenecks of a classic web application
- Configure Laravel Octane with Roadrunner and OpenSwoole
- Implement functionality using asynchronous mechanisms and run tasks in parallel in the Laravel app
- Prepare the production environment to host Laravel Octane and its dependencies
- Understand the pros and cons of applying potential enhancements to your Laravel app
Who this book is for
The book is for existing Laravel developers who want to improve their software architecture, from a basic or standard architecture to a more scalable and performant one. Basic knowledge of Laravel fundamentals is required.
商品描述(中文翻譯)
探索工具、技術和實踐,以消除性能瓶頸並增強您的 Laravel 和 PHP 網頁應用程式的穩定性
主要特點
- 獲得設計和構建高效能應用程式所需的完整視圖,使用 Octane
- 在請求之間重用物件並異步執行應用程式邏輯
- 學習設計和構建性能優化及可投入生產的應用程式的關鍵要素
書籍描述
Laravel Octane 是 Laravel 生態系統中一個非常強大的組件,可以幫助您實現卓越的應用程式性能。使用 Laravel Octane,您將找到工具(佇列、快取和資料表),這些工具促進了一種新的異步方法來改善應用程式性能。
本書強調了 Laravel Octane 的運作方式、從一開始設計應用程式所需採取的步驟、您可以使用的工具以及如何設置生產環境。它全面涵蓋了使您的應用程式可擴展和高效能的策略、工具和最佳實踐。這一點尤其重要,因為優化通常是應用程式開發生命週期中被忽視的部分。您將探索 Laravel 中的異步方法,並能夠釋放出對最終用戶體驗產生積極影響的高效能應用程式。
在本書結束時,您將能夠設計、開發和釋放高效能的應用程式。
您將學到的內容
- 理解經典 Laravel 應用程式中請求生命週期的動態
- 探索 OpenSwoole 和 Roadrunner 的可能性,並選擇最適合您應用程式的解決方案
- 分析經典網頁應用程式的潛在瓶頸
- 使用 Roadrunner 和 OpenSwoole 配置 Laravel Octane
- 使用異步機制實現功能,並在 Laravel 應用程式中並行運行任務
- 準備生產環境以托管 Laravel Octane 及其依賴項
- 理解對您的 Laravel 應用程式應用潛在增強的利弊
本書適合對象
本書適合希望改善其軟體架構的現有 Laravel 開發人員,從基本或標準架構轉變為更可擴展和高效能的架構。需要具備 Laravel 基礎知識。
目錄大綱
1. Understanding the Laravel Web Application Architecture
2. Configuring the RoadRunner Application Server
3. Configuring the Swoole Application Server
4. Building a Laravel Octane Application
5. Reducing Latency and Managing Data with an Asynchronous Approach
6. Using Queues to Apply the Asynchronous Approach in Your Application
7. Configuring the Laravel Octane Application for the Production Environment
目錄大綱(中文翻譯)
1. Understanding the Laravel Web Application Architecture
2. Configuring the RoadRunner Application Server
3. Configuring the Swoole Application Server
4. Building a Laravel Octane Application
5. Reducing Latency and Managing Data with an Asynchronous Approach
6. Using Queues to Apply the Asynchronous Approach in Your Application
7. Configuring the Laravel Octane Application for the Production Environment