Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My sql
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

Five Eloquent Mistakes That Quietly Slow Down Your Laravel App

Five Eloquent Mistakes That Quietly Slow Down Your Laravel App

Blog Summary

Eloquent makes database code read like English, which is exactly why its slowest patterns look so innocent. Five common mistakes, why each one hurts as your tables grow, and the one-line fix for every one of them.

Read more
  • 10
  • 73
  • 19

How a Database Index Works: A B-Tree in Five Minutes

How a Database Index Works: A B-Tree in Five Minutes

Blog Summary

You added an index and the query is still slow. Or you added five and now inserts crawl. Both make sense once you can picture a B-tree. Here's the phone book version, in five short minutes.

Read more
  • 132
  • 27
  • 20

Seven MySQL Indexing Mistakes That Quietly Slow Down Your App

Seven MySQL Indexing Mistakes That Quietly Slow Down Your App

Blog Summary

You added the index and the query is still slow. Here are seven indexing mistakes I keep seeing in real apps, why MySQL ignores your index in each case, and the fix for every one.

Read more
  • 64
  • 127
  • 5

Database Transactions in Laravel: When You Need Them and When You Don't

Database Transactions in Laravel: When You Need Them and When You Don't

Blog Summary

Half-saved data is worse than an error. Learn when Laravel's DB::transaction is essential, when it's overkill, how to stop race conditions, and why emails and jobs belong after commit.

Read more
  • 105
  • 31
  • 21

Laravel N+1 Queries: How to Spot Them and Kill Them for Good

Laravel N+1 Queries: How to Spot Them and Kill Them for Good

Blog Summary

Your page was fast with test data and slow in production, and the code never changed. Meet the N+1 query: where it hides in Laravel, how to find it, and the one line that stops it coming back.

Read more
  • 141
  • 106
  • 9

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close