-
-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: explain why APCu is not available #13
Labels
Comments
Hi, so what about OPcache too? There is no profit of the pre-compilation with Lambda? :-( |
@symcaster Opcache is enabled, see #14 |
OK, then just to be clear for everyone reading this discussion: opcache is enabled and the cache is shared between requests for a single lambda instance. |
We can close this because with 0.3 we will be able to use APCu with PHP-FPM 🎉 |
brefphp-bot
pushed a commit
to brefphp-bot/bref
that referenced
this issue
Nov 18, 2021
Parse didn't run
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
APCu does not make sense on lambdas because each lambda boots a new CLI process (there is no shared memory like with PHP-FPM), this needs to be explained in the documentation to avoid surprises.
The idea would be to recommend instead to use a shared cache like Memcached or Redis (AWS supports both for example).
The text was updated successfully, but these errors were encountered: