High Performance with Laravel Octane

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.

Type
ebook
Category
publication date
2023-01-13
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

no of pages
204
duration
408
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
approach
This book presents a novel approach for the classic PHP developer. With Laravel Octane, the request lifecycle has been totally rethought, in favor of reusing and sharing all the elements and objects that are instantiated with each client request. In addition, with the introduction of tools such as Swoole or Roadrunner, it is possible to access features such as concurrency, asynchronous task execution, and the use of shared data structures.
audience
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.
meta description
Explore tools, techniques, and practices to remove performance bottlenecks and enhance the stability of your Laravel and PHP web applications
short description
This book is for PHP/Laravel developers who are familiar with the fundamentals of the Laravel framework and want to design, develop, and release high-performance applications. The 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.
subtitle
Learn to fine-tune and optimize PHP and Laravel apps using Octane and an asynchronous approach
keywords
Laravel, Laravel Octane, PHP, OpenSwoole, Roadrunner
Product ISBN
9781801819404