Articles | Mohamed Said      [Skip to content](#main)  [ ![](https://cdn.msaied.com/01KT78WE565VEMM3PSNQAAB0MH.png) Mohamed SaidLaravel Backend Engineer ](https://msaied.com) - [Home](https://msaied.com)
- [Projects](https://msaied.com/projects)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [About](https://msaied.com#about)

           [  Contact](https://msaied.com#contact) Menu 

Menu
----

Close 

 - [HomeStart here](https://msaied.com)
- [ProjectsCase studies](https://msaied.com/projects)
- [ArticlesEngineering notes](https://msaied.com/articles)
- [CertificatesCredentials](https://msaied.com/certificates)
- [AboutHow I work](https://msaied.com#about)
- [ContactGet in touch](https://msaied.com#contact)

  [Start a conversation](https://msaied.com#contact) [WhatsApp](https://wa.me/201094619204) [Email](mailto:hello@msaied.com) 

  1. [Home](https://msaied.com)
2. /
3. Articles

  Engineering library
====================

 40 articles by Mohamed Said on Laravel, PHP, databases, APIs and infrastructure, written from production work.

 Search articles ⌕×Search 

    Topic hubs
----------

←→

- [AI53 articles](https://msaied.com/articles?category=ai&search=performance&sort=new)
- [Composer Pacakge85 articles](https://msaied.com/articles?category=composer-pacakge&search=performance&sort=new)
- [Filament31 articles](https://msaied.com/articles?category=filament&search=performance&sort=new)
- [Laravel292 articles](https://msaied.com/articles?category=laravel&search=performance&sort=new)
- [Livewire16 articles](https://msaied.com/articles?category=livewire&search=performance&sort=new)
- [Open Source48 articles](https://msaied.com/articles?category=open-source&search=performance&sort=new)
- [PHP34 articles](https://msaied.com/articles?category=php&search=performance&sort=new)
- [Tips &amp; Tricks37 articles](https://msaied.com/articles?category=tips-tricks&search=performance&sort=new)

  Topics
------

 [All topics](https://msaied.com/articles?search=performance&sort=new) [AI 53](https://msaied.com/articles?category=ai&search=performance&sort=new) [Composer Pacakge 85](https://msaied.com/articles?category=composer-pacakge&search=performance&sort=new) [Filament 31](https://msaied.com/articles?category=filament&search=performance&sort=new) [Laravel 292](https://msaied.com/articles?category=laravel&search=performance&sort=new) [Livewire 16](https://msaied.com/articles?category=livewire&search=performance&sort=new) [Open Source 48](https://msaied.com/articles?category=open-source&search=performance&sort=new) [PHP 34](https://msaied.com/articles?category=php&search=performance&sort=new) [Tips &amp; Tricks 37](https://msaied.com/articles?category=tips-tricks&search=performance&sort=new)    40 articles
------------

Topics    Sort articles Newest first  Oldest first  Sort  

 [Search: performance ×Remove search](https://msaied.com/articles?sort=new) [ Clear filters](https://msaied.com/articles) 

  [![](https://cdn.msaied.com/536/3aab48ef4a4eaa26a3267637dc2ec8c7.png)](https://msaied.com/articles/cursor-pagination-and-lazy-collections-at-scale-in-laravel)11 Aug 2026·3 min read 

### [Cursor Pagination and Lazy Collections at Scale in Laravel](https://msaied.com/articles/cursor-pagination-and-lazy-collections-at-scale-in-laravel) 

 Offset pagination breaks under large datasets. Learn how Laravel's cursor pagination and lazy collections let you iterate millions of rows without blowing memory or killing query performance.

   [![](https://cdn.msaied.com/529/5d6560d5f6f0a2cdc483fbfecc24707d.png)](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-bloat-2)9 Aug 2026·4 min read 

### [PostgreSQL JSONB in Laravel: Indexing, Querying, and Casting Without the Bloat](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-bloat-2) 

 JSONB columns let you store flexible data without sacrificing query performance. Learn how to index, query, and cast JSONB in Laravel using real Eloquent patterns that stay fast at scale.

   [![](https://cdn.msaied.com/528/3c1e1dba1e2f4ca6b8686cf670dcd3b8.png)](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-bloat-1)9 Aug 2026·3 min read 

### [PostgreSQL JSONB in Laravel: Indexing, Querying, and Casting Without the Bloat](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-bloat-1) 

 JSONB columns give you schema flexibility without sacrificing query performance. Learn how to index, query, and cast JSONB data in Laravel using real Eloquent patterns and raw PostgreSQL power.

   [![](https://cdn.msaied.com/527/ccaba2b97bd9c80bd87c9e4886481cb6.png)](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-bloat)9 Aug 2026·4 min read 

### [PostgreSQL JSONB in Laravel: Indexing, Querying, and Casting Without the Bloat](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-bloat) 

 JSONB columns unlock flexible schemas without sacrificing query performance. Learn how to index, query, and cast PostgreSQL JSONB data in Laravel using real Eloquent patterns that stay fast at scale.

   [![](https://cdn.msaied.com/526/bc43aae3afe723f9a29f47820735edf5.png)](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-chaos-2)9 Aug 2026·3 min read 

### [PostgreSQL JSONB in Laravel: Indexing, Querying, and Casting Without the Chaos](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-chaos-2) 

 JSONB columns unlock flexible schemas, but without the right indexes and Eloquent integration they become a performance trap. Here is how to use them correctly in production Laravel apps.

   [![](https://cdn.msaied.com/523/a12bd8c82544aafcd6de50ff8c076141.png)](https://msaied.com/articles/eloquent-query-optimization-slaying-n1-problems-at-scale)8 Aug 2026·4 min read 

### [Eloquent Query Optimization: Slaying N+1 Problems at Scale](https://msaied.com/articles/eloquent-query-optimization-slaying-n1-problems-at-scale) 

 N+1 queries silently kill Laravel app performance. This guide digs into eager loading strategies, query deduplication, and Eloquent internals to help you write queries that stay fast as data grows.

   [![](https://cdn.msaied.com/518/48e5a4da1b38d6cf27a0117baa547e1b.png)](https://msaied.com/articles/filament-v412-v57-major-performance-improvements-and-security-patches)6 Aug 2026·1 min read 

### [Filament v4.12 &amp; v5.7: Major Performance Improvements and Security Patches](https://msaied.com/articles/filament-v412-v57-major-performance-improvements-and-security-patches) 

 Filament v4.12.6 and v5.7.6 ship massive rendering speed gains—up to 92% faster form fields—alongside security patches for several CVEs, new Query Builder limits, CSV injection protection, and quality-of-life additions.

 [Laravel](https://msaied.com/articles?category=laravel) [Filament](https://msaied.com/articles?category=filament) 

   [![](https://cdn.msaied.com/479/d7c54bd7a42ee57610a29f19a2c5e0fa.png)](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-overhead)28 Jul 2026·4 min read 

### [PostgreSQL JSONB in Laravel: Indexing, Querying, and Casting Without the Overhead](https://msaied.com/articles/postgresql-jsonb-in-laravel-indexing-querying-and-casting-without-the-overhead) 

 JSONB columns unlock flexible schemas, but misused they become performance sinkholes. This guide covers GIN indexes, containment operators, Eloquent casts, and query patterns that keep PostgreSQL fast.

   [![](https://cdn.msaied.com/477/5bc44fc7911037277f84b4f08a208ce1.png)](https://msaied.com/articles/laravel-performance-http-response-caching-cache-tags-and-stale-while-revalidate)27 Jul 2026·3 min read 

### [Laravel Performance: HTTP Response Caching, Cache Tags, and Stale-While-Revalidate](https://msaied.com/articles/laravel-performance-http-response-caching-cache-tags-and-stale-while-revalidate) 

 Go beyond simple cache()-&gt;remember() calls. Learn how to combine HTTP response caching, tagged cache invalidation, and stale-while-revalidate semantics to serve fast, consistent responses at scale.

   [← Newer](https://msaied.com/articles?search=performance&page=1)1. [1](https://msaied.com/articles?search=performance&page=1)
2. 2
3. [3](https://msaied.com/articles?search=performance&page=3)
4. [4](https://msaied.com/articles?search=performance&page=4)
5. [5](https://msaied.com/articles?search=performance&page=5)

 2 / 5 [Older →](https://msaied.com/articles?search=performance&page=3)   

  Have a technical challenge?
----------------------------

Tell me what you’re building. I reply within two working days.

 [Discuss your project ↗](https://msaied.com#contact) 

Topics
------

Close 

 [All topics](https://msaied.com/articles) [AI (53) ](https://msaied.com/articles?category=ai&search=performance&sort=new) [Composer Pacakge (85) ](https://msaied.com/articles?category=composer-pacakge&search=performance&sort=new) [Filament (31) ](https://msaied.com/articles?category=filament&search=performance&sort=new) [Laravel (292) ](https://msaied.com/articles?category=laravel&search=performance&sort=new) [Livewire (16) ](https://msaied.com/articles?category=livewire&search=performance&sort=new) [Open Source (48) ](https://msaied.com/articles?category=open-source&search=performance&sort=new) [PHP (34) ](https://msaied.com/articles?category=php&search=performance&sort=new) [Tips &amp; Tricks (37) ](https://msaied.com/articles?category=tips-tricks&search=performance&sort=new)  

  © 2026 Mohamed Said · Built with Laravel, meant to last.Senior Backend Engineer specializing in Laravel, scalable SaaS platforms, APIs, and cloud infrastructure. I build secure, high-performance web applications that help businesses grow.

 - [Home](https://msaied.com)
- [Articles](https://msaied.com/articles)
- [Certificates](https://msaied.com/certificates)
- [GitHub](https://github.com/EG-Mohamed)
- [LinkedIn](https://www.linkedin.com/in/msaiedm/)
- [WhatsApp](https://wa.me/201094619204)
- [Email Address](mailto:hello@msaied.com)
- [My CV](https://drive.google.com/file/u/0/d/1MF20IPRJyzfy32mhEutjL5EpSls0w2Q8/view)
- [Sitemap](https://msaied.com/sitemap.xml)
