Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My performance
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

Big O Notation for Working Developers: Finding the Loop That Doesn't Scale

Big O Notation for Working Developers: Finding the Loop That Doesn't Scale

Blog Summary

Big O isn't interview trivia. It's the reason code that handles 200 rows times out at 20,000. Here's a practical guide with real examples: hidden nested loops, database indexes, N+1 queries, and when it doesn't matter.

Read more
  • 53
  • 34
  • 12

What Happens Inside a PHP Request: From Apache to Your Laravel Controller

What Happens Inside a PHP Request: From Apache to Your Laravel Controller

Blog Summary

Your controller is the last stop on a surprisingly long trip. Follow one request from Apache through PHP-FPM, Laravel's bootstrap, middleware and the router, and see why PHP rebuilds everything every time and how OPcache saves it.

Read more
  • 117
  • 80
  • 9

How the Browser Turns HTML Into Pixels (and Why Your Page Still Feels Slow)

How the Browser Turns HTML Into Pixels (and Why Your Page Still Feels Slow)

Blog Summary

Your API answered fast, but the page still stutters. Walk the browser's rendering pipeline from DOM and CSSOM to layout, paint and composite, and learn which changes make it do expensive work.

Read more
  • 56
  • 125
  • 20

Caching Explained: From the Browser Cache to Redis, Layer by Layer

Caching Explained: From the Browser Cache to Redis, Layer by Layer

Blog Summary

The fastest request is the one that never reaches your server. Here's every cache layer a request passes through, from the browser to Redis, plus the two problems that make caching hard: invalidation and the cache stampede.

Read more
  • 129
  • 136
  • 15

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
  • 123
  • 147
  • 6

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
  • 25
  • 71
  • 23

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