4 ms·
That's OPcache they mentioned, a specific language-level cache native to PHP. https://www.php.net/manual/en/intro.opcache.php https://www.php.net/manual/en/int
by Y-bar 2y ago
That's OPcache they mentioned, a specific language-level cache native to PHP.
https://www.php.net/manual/en/intro.opcache.php https://www.php.net/manual/en/intro.opcache.php
- afavour 2y agoAh. Point still stands though, distributed storage is what really unlocks this concept. Wordpress is a pretty bad example though, surely you’d just CDN cache the pages!
- iruoy 2y agoopcache doessn't cache user data. it's for caching bytecode in memory as long as the php script/server is running i'd like to see a comparison against a firecracker vm and a docker container
- fhuici 2y agoHi, on kraft.cloud we use FC, along with a custom controller and very specialized VMs (unikernels) to have extremely efficient deployments (eg, millisecond cold starts). For a PHP web server, for instance, we can cold start things in about 30ms (https://docs.kraft.cloud/guides/php/ https://docs.kraft.cloud/guides/php/). It's also possible to run wasm workloads/blobs (e.g., https://docs.kraft.cloud/guides/wazero/ https://docs.kraft.cloud/guides/wazero/). The builds are based on Dockerfiles, but for deployment we transparently convert that to unikernels.