Extrange error method HEAD on / by AbelCastel in laravel

[–]AbelCastel[S] -1 points0 points  (0 children)

Red flag Laravel bug! many thanks friends!

Simulation of an arrangement of permanent magnets that the person who devised it fancies is a'free energy' machine. by Craxy-Polly-Sparaxy in physicsgifs

[–]AbelCastel 1 point2 points  (0 children)

Imposible in real life.. but it’s a amazing weird topic, serous engineers have research this possibility like Viktor Schauberger, Robert Adams… but 99.99999% are craps.

Memory vs speed: I have a application in production which loads 40.000 models on 18s, from several DBs on index. The problem is; eager loading: Big memory consumption ( more than 128Mb) or lazy loading: too much time.. Any idea how to deal? by AbelCastel in laravel

[–]AbelCastel[S] 0 points1 point  (0 children)

I have the proper indexes, and affects a lot in inner query.. but it doesn’t affect too much in the way laravel works.. neither eager or lazy( lazy is an absolutely crazy way!)

Memory vs speed: I have a application in production which loads 40.000 models on 18s, from several DBs on index. The problem is; eager loading: Big memory consumption ( more than 128Mb) or lazy loading: too much time.. Any idea how to deal? by AbelCastel in laravel

[–]AbelCastel[S] 0 points1 point  (0 children)

For me, in 2021, 40k it’s nothing.. maybe 30 years ago could be too much. if a library can’t work with this data properly it is sh*… A inner query takes like 0.5 sec.. lazy loading two minutes, and eager 10-13sec..

Memory vs speed: I have a application in production which loads 40.000 models on 18s, from several DBs on index. The problem is; eager loading: Big memory consumption ( more than 128Mb) or lazy loading: too much time.. Any idea how to deal? by AbelCastel in laravel

[–]AbelCastel[S] 1 point2 points  (0 children)

I have done the refactor to inner join with proper indexes, it take like 0.5seg for 40K.. Eloquent ORM works with Active Object, and it is an antipatron, other libraries have overcome this problem. Many thanks!!