Back

đź’ˇNew on Filament Mastery: Build a Laravel Filament Multi-Tenant Panel! Perfect for SaaS.

🛠️https://filamentmastery.com/articles/building-a-laravel-filament-multi-tenant-panel

#Laravel #filamentphp #filamentmastery #multitenancy #saas

3 • •

339

•
  • No matching results...
  • Searching...

/ 1000

I was impressed by Filament and disappointed at the same time. Yes, it's good and easy to use on a cosmological scale, but it is also slow as hell, since it renders and loads almost the entire page almost everytime. Even on dev with <10 DB records, it is slow, imagine how it will look like with >100K.

Of course, I could do something wrong, but I suspect that much can't be done there for the sake of optimization, due to how Livewire works :(

2 • •

86

•

With caching, and efficient component splitting, Livewire's slowdowns are largely manageable. In my case, I also use partitioned tables in PostgreSQL and I have business applications with hundreds of thousands of records and haven’t experienced any slowness thanks to these approaches :)

1 • •

127

•

Can you tell more about component splitting? Since much can't be done in Filament, since all components have already been pre-defined out of the box...

Caching - yeah, sure, but in that case you will eliminate DB query time, that is kinda low already, even with MySQL

• •

111

•

The secret is php artisan filament:optimize

• •

50

•

Will definitely check that out!

• •

6

•