<story><title>Lumen – A micro-framework by Laravel</title><url>https://laravel-news.com/2015/04/lumen/</url></story><parent_chain></parent_chain><comment><author>j42</author><text>As someone who develops&amp;#x2F;maintains many high-IO requirement PHP microservices (as part of a service-oriented architecture, or, SOA), I&amp;#x27;m torn on this one.&lt;p&gt;Laravel is one of my favorite frameworks, especially since 5.0 given its noble attempt to adhere to contract-first&amp;#x2F;interfaced development and many best practices that in some ways prevent the &amp;quot;worst&amp;quot; kinds of code from being written.  It&amp;#x27;s not static typing, but it&amp;#x27;s a step in the right direction.&lt;p&gt;This seems like it&amp;#x27;s heavily optimized over the Laravel base, and if high speed and concurrency is important enough that you&amp;#x27;d choose Lumen, then it seems like you&amp;#x27;d still be stopping halfway in a bit of a &amp;quot;if you have a hammer everything seems like a nail&amp;quot; situation.  Unless I&amp;#x27;m missing something Lumen still requires resources to be bootstrapped on request, and ultimately that (in the context of a framework) will lead to memory leaks in a loosely-typed language; no way around that.&lt;p&gt;Also because disk writes will quickly become the bottleneck before your network capacity does, the two most relevant performance enhancements are to use a non-blocking event-loop (with expensive writes deferred to a tick cycle) and to completely avoid any unnecessary per-request bootstrapping--best done with raw PHP and ideally kept simple.  This, combined with an optimized TCP configuration and split-per-process nginx LB at the head will give me r&amp;#x2F;s 10-50x the purported benchmarks.  As much as 1000x when introducing intelligent edge-caching rules.&lt;p&gt;Is there a situation where this would be the right tool for the job&amp;#x2F;more ideal than the base framework but not worthy of a &amp;quot;roll-your-own&amp;quot; solution?&lt;p&gt;Either way +1 for Taylor Otwell as a developer and the general quality of his code&amp;#x2F;releases--Laravel is an ambitious project, and as a developer quite enjoyable to work with!</text></comment>
<story><title>Lumen – A micro-framework by Laravel</title><url>https://laravel-news.com/2015/04/lumen/</url></story><parent_chain></parent_chain><comment><author>hising</author><text>Looks nice, I really like Slim Framework, this looks a lot like Slim from what I could tell. Gonna be interesting to see how (if at all) this will effect some performance focus from the Slim developers.</text></comment>