Using Laravel, I created an app to summarize and chat with YouTube videos. Check it out!
Benjamin Crozat
Databases

Fast database queries are not always better

Benjamin Crozat
Published on Sep 2, 2023 0 comments Edit on GitHub

Tim MacDonald sheds new light on a commonly held belief in web development circles – that fast database queries are always good, and slow queries bad. MacDonald, an experienced developer, admitted to contributing to this confusion by failing to clearly explain a certain Laravel method.

In an interesting spin, he suggests that fast queries could actually slow down HTTP requests if they’re happening in mass in a single interaction. He then goes on to demonstrate a feature in Laravel that neatly tracks such cumulative query time, thus helping optimize resource usage.

Intrigued? Give Tim’s article a read!

Learn more on timacdonald.me

Wait, there's more!

Be the first to comment!

Get help or share something of value with other readers!

Great deals for enterprise developers
  • ZoneWatcher
    Get instant alerts on DNS changes across all major providers, before your customers notice.
    25% off for 12 months using the promo code CROZAT.
    Try ZoneWatcher for free
  • Quickly build highly customizable admin panels for Laravel projects.
    20% off on the pro version using the promo code CROZAT.
    Try Backpack for free
  • Summarize and talk to YouTube videos. Bypass ads, sponsors, chit-chat, and get to the point.
    Try Nobinge →
  • Monitor the health of your apps: downtimes, certificates, broken links, and more.
    20% off the first 3 months using the promo code CROZAT.
    Try Oh Dear for free
  • Keep the customers coming; monitor your Google rankings.
    30% off your first month using the promo code WELCOME30
    Try Wincher for free →
The latest community links
- / -