<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Php-Runtime on Brian Faust</title><link>https://vacua.dev/tags/php-runtime/</link><description>Recent content in Php-Runtime on Brian Faust</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Mon, 01 Jan 0001 00:00:00 +0000</lastBuildDate><atom:link href="https://vacua.dev/tags/php-runtime/rss.xml" rel="self" type="application/rss+xml"/><item><title>Octane Removes Repeated Boot and Adds State</title><link>https://vacua.dev/octane-removes-repeated-boot-and-adds-state/</link><pubDate>Sat, 01 Mar 2025 00:00:00 +0000</pubDate><guid>https://vacua.dev/octane-removes-repeated-boot-and-adds-state/</guid><description>&lt;p&gt;A catalogue endpoint returns the same 249-byte JSON response from two Laravel
runtimes. One boots a fresh CLI process for every request. The other sends
every request through one Octane RoadRunner worker.&lt;/p&gt;
&lt;p&gt;In the &lt;a href="https://vacua.dev/reproductions/lar-05/"&gt;LAR-05 fixture&lt;/a&gt;
, their local median latencies at
concurrency one are 43.2 ms and 1.3 ms. That is the tempting part of Octane.&lt;/p&gt;
&lt;p&gt;Now send tenant A and then tenant B through the Octane worker. A mutable
singleton returns tenant A twice. A singleton holding the configuration
repository remembers tenant A twice. A singleton created with Laravel&amp;rsquo;s
bootstrap request never sees either tenant.&lt;/p&gt;</description></item></channel></rss>