Looking at overall optimization or database? I think were there any debug enabled?
How to optimize performance of Lumen App?
Hi,
I recently re-wrote an app that was written in bare bone PHP with Lumen(Eloquent enabled). The app was mostly about INSERT posted data into mysql database. Although I expected some performance toll, but the benchmark results still surprised me. On the same machine with same setup of (ubuntu/php/apache2), when tested via Jmeter(5000 request with 1 ~ 100 concurrent threads), the average sample time increased from 35 ~ 1400ms to 250 ~ 11000ms depending on number of concurrent threads, and throughput the same machine can handle dropped from processing 1000 request/second to ~80 request/second.
Can someone provide some high level guidance on how to optimize? I do like working with Lumen and do NOT want to a month worth of work to fly out of window :)
Thanks in advance.
Please or to participate in this conversation.