You probably think fast database queries are good. On top of all of these "thinks" you have about database queries - there is a certain Laravel method that, if you have seen it, you probably think you understand…

If we were to use comparison as our measure again: a HTTP request that queries the database for 5ms is better than a HTTP request that queries the database for 1.5 seconds, right?

What if I make a HTTP request and there are no logs in my slow query log, is that good?

The above code executes a very fast database query, however it executes the query in a non-stop loop for 20 seconds.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners