Is your app running slow?
With this guide, you can significantly improve the performance of your Laravel/PHP applications.

introduction
About The Book
"Performance with Laravel" is a 362-page guide that teaches you how to optimize your app's performance.
- Advanced Redis 
- Advanced database indexing 
- Designing performant and reliable architectures 
- CQRS 
- Async workflows 
- Optimizing jobs and workers 
- Concurrent programming 
- Working with large datasets 
- Export and imports 
- Decreasing memory consumption 
- fpm processes 
- nginx cache 
- Database optimization techniques 
- Measuring performance 
- Fixing N+1 queries 
- HTTP-related optimizations 
All of the above by building real-world projects such as a web scraper or a complete web page analytics platform.
Advanced Redis
Redis is not a cache. It's a database. You can use it to seriously improve your app's performance and still have real-time data.
Advanced Database Indexing
The last database indexing tutorial you'll ever need.
Workflows
Async workflows, jobs, workers, and concurrent programming. Working with large datasets. Imports, exports.
System Design and Architecture
Designing and building a fully functional analytics platform such as Google Analytics.
What's inside
Table of Contents
Each chapter covers a specific topic with lots of examples. In the book, we'll build multiple real-world projects such as a web scraper, CSV exports/imports with financial transactions, or a complete web page analytics platform such as Google Analytics.Read the full Table of Contents here
Fundamentals
79 pages
- Measuring performance with 9 different tools 
- N+1 queries 
- HTTP resources 
- Pagination 
- MySQL slow query log 
- Optimizing fpm processes 
- nginx cache 
- Docker resource limits 
- Monitoring DB connections 
- Health checks 
Database indexing
58 pages
- Arrays, linked lists, binary trees 
- BST 
- Single-level indices 
- Multi-level indices 
- B-trees 
- B+ trees 
- Index access types 
- Composite indices 
- Cardinality and indices 
- Practical examples 
Workflows
80 pages
- Async workflows 
- Web scraping with jobs 
- Concurrent programming 
- Optimizing queues and workers 
- Working with large datasets 
- Exports 
- Imports 
- Generators and LazyCollections 
System design and architecture
145 pages
- Building a complete analytics platform with multiple services 
- Using 6 different architectures 
- Using multiple databases 
- CQRS 
- Advanced Redis 
- Event streams 
- Memoization 
- Database denormalization 
Get A Free Chapter
Download a 46-page sample chapter and take a look at it
Feedback
What Are People Saying
Congrats on the launch! I'm still reading the 'beta version', impressive work with a lot of detail!
— Freek Uijtdewilligen (@freek_u) May 22, 2024
Blessed to have a copy of this 🎉🎉🎉 Thank you 😊
— denknows (@muubpon) April 25, 2024
That is well explained, thanks for your effort!
— Muzafar Shah (@muzafar_shah) April 25, 2024
Spectacular
— 👑 VIMKANZO ⚡ (@VimKanzo) April 6, 2022
Thank you so much @mmartin_joo! I've found a ton of value in your previous books and other content you create, so I can't wait to read this!
— Scott (@squatto) May 21, 2024
Yeyy, just got mine!
— Fernando J. Martin (aka Pampa) (@pampawebdev) May 23, 2024
If you, like me, are truly backender, this book is a goldmine. I'll say just that.
Wanna discover? Go get a sample chapter and see for yourself. You won't get dissapointed!
Martin nailed it again 💪🏽💪🏽 https://t.co/QbMjsAhYAa
I love how real life your work is...
— Joseph (@josephkeilan) March 25, 2022
This is a well articulated gem
— Knight Yoshi (@KnightYoshi) March 31, 2022
Awesome. Thank you, looking forward to digging in!
— Daragh O'Shea (@DaraghOShea) April 25, 2024
Done! Great job man! 👍
— Robert (@robertchiribuc) May 21, 2024
I like the book, learned much! Thank you! Keep up the good work :)
— Dennis Ziolkowski 👨💻 (@DeZio91) June 8, 2024
nice article 😍
— saeed (@saeedsji) April 30, 2024
Yes I really do. I've not read a book for up to 2 hours without getting exhausted, but I read you books for more than 2 hours and I usually have to force myself to stop. Thanks a lot, with the help of your materials, my Laravel skills are going to the next level.
— Obinna Elvis O. (@obinnaelviso) July 10, 2023
Thank you so much. So excited to read the book. 🥳
— Bijaya Prasad Kuikel (@sadhakbj) April 25, 2024
Just bought it but can I pay again for a physical version?
— Travis Berry (@travisberry) May 22, 2024

system design
Premium Package
- The 362-page extended book in PDF format 
- Designing and building a complete analytics platform 
- Advanced Redis 
- CQRS 
- Event streams 
- Advanced database indexing 
- Database denormalization 
- Source code to the web scraper built in the book that makes extensive use of jobs 
- Source code to a finance app that deals with large exports and DB updates 
- Measuring performance 
- N+1 queries 
- HTTP resource-related optimizations 
- Pagination 
- Async workflows 
- Web scraping with jobs 
- Concurrent programming 
- Optimizing queues and workers 
- Working with large datasets 
- Exports 
- Imports 
- Generators & LazyCollections 
- Decreasing memory consumption 
- Optimizing fpm processes 
- nginx cache 
- Long-term updates included! Do you miss a topic from the book? Just send me a mail and I might cover it in a future update. 
- Read the full table of contents here 
Regular Price $189
Discount applies only until the 7th of June

Source code included
Plus Package
- The 217-page book in PDF format 
- Source code to the web scraper built in the book that makes extensive use of jobs 
- Source code to a finance app that deals with large exports and DB updates 
- Measuring performance 
- N+1 queries 
- HTTP resource-related optimizations 
- Pagination 
- Advanced database indexing 
- Async workflows 
- Web scraping with jobs 
- Concurrent programming 
- Optimizing queues and workers 
- Working with large datasets 
- Exports 
- Imports 
- Generators & LazyCollections 
- Decreasing memory consumption 
- Optimizing fpm processes 
- nginx cache 
- Long-term updates covering new topics are not included :( 
Regular Price $79

Only the essentials
Basic Package
- The 217-page book in PDF format 
- Measuring performance 
- N+1 queries 
- HTTP resource-related optimizations 
- Pagination 
- Advanced database indexing 
- Async workflows 
- Web scraping with jobs 
- Concurrent programming 
- Optimizing queues and workers 
- Working with large datasets 
- Exports 
- Imports 
- Generators & LazyCollections 
- Decreasing memory consumption 
- Optimizing fpm processes 
- nginx cache 
- Long-term updates covering new topics are not included :( 
Who Am I?

👋 Hey!I'm Martin Joo, a PHP developer since 2012. I'm also a content creator, blogger, and author of:
- Domain-Driven Design with Laravel 
- DevOps with Laravel 
- Microservices with Laravel 
- Laravel Concepts 
- Test-Driven APIs with Laravel and Pest 
- Laravel Eloquent Recipes 
- Proper API Design with Laravel 
- Common Mistakes in Laravel 
As you can see, I really love Laravel. I'm also sharing everything I know about development on Twitter.
Related Articles
Frequently Asked Questions
Do you offer a money-back guarantee?
Yes, for 30 days! Just reach out to me at [email protected], and you'll get your money back. I'll only ask you why didn't you like the product.
Can I upgrade from one package to another later?
Yes! Just drop me an e-mail at [email protected], and I'll create you a discount code, so you only have to pay the difference between the two packages.
Is there an epub or mobi format?
Right now, every content ships in PDF format. The reason is simple: each PDF contains a ton of code examples. These code examples look very nice in a PDF where I can use HTML to format the pages.epub and mobi kind of mess this up, so this is why I exported everything in PDF.However, if you cannot live without these formats, drop me an e-mail, and I can export a copy for you.
Published: 2024.05.21


