Book description
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.
Table of contents
- High Performance with Laravel Octane
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1: The Architecture
- Chapter 1: Understanding the Laravel Web Application Architecture
- Part 2: The Application Server
- Chapter 2: Configuring the RoadRunner Application Server
- Chapter 3: Configuring the Swoole Application Server
- Part 3: Laravel Octane – a Complete Tour
- Chapter 4: Building a Laravel Octane Application
- Chapter 5: Reducing Latency and Managing Data with an Asynchronous Approach
- Part 4: Speeding Up
- Chapter 6: Using Queues to Apply the Asynchronous Approach in Your Application
- Chapter 7: Configuring the Laravel Octane Application for the Production Environment
- Index
- Other Books You May Enjoy
Product information
- Title: High Performance with Laravel Octane
- Author(s):
- Release date: January 2023
- Publisher(s): Packt Publishing
- ISBN: 9781801819404
You might also like
book
Domain-Driven Laravel: Learn to Implement Domain-Driven Design Using Laravel
Map concepts and ideas in domain-driven design (DDD) and transpose them into clean, testable, and quality …
book
Beginning Laravel: Build Websites with Laravel 5.8
Develop cutting-edge websites and applications using the new features of Laravel 5.8. This book starts with …
book
Design Patterns in PHP and Laravel
Learn each of the original gang of four design patterns, and how they are relevant to …
book
Building Real-Time Marvels with Laravel: Create Dynamic and Interactive Web Applications
Dive into the diverse facets of the Laravel ecosystem. This comprehensive guide will put you on …