Update improving-performance.rst to reflect current state of PHP ecosystem #6180

Closed
opened 2026-01-22 15:28:22 +01:00 by admin · 4 comments
Owner

Originally created by @Majkl578 on GitHub (Feb 20, 2019).

This page should be updated to be more up to date with how PHP applications are used in 2019:

  • describe OPcache more precisely, with recommended production configuration snippet (e.g. disabled filesystem access);
  • drop references to APC;
  • recommend static PHP driver for metadata (for 2.x already or wait for 3.0?);
  • recommend Redis for other cache types.

Follow-up from https://github.com/doctrine/orm/pull/7610#issuecomment-465361513.

Originally created by @Majkl578 on GitHub (Feb 20, 2019). This page should be updated to be more up to date with how PHP applications are used in 2019: - describe OPcache more precisely, with recommended production configuration snippet (e.g. disabled filesystem access); - drop references to APC; - recommend static PHP driver for metadata (for 2.x already or wait for 3.0?); - recommend Redis for other cache types. Follow-up from https://github.com/doctrine/orm/pull/7610#issuecomment-465361513.
admin added the Documentation label 2026-01-22 15:28:22 +01:00
admin closed this issue 2026-01-22 15:28:23 +01:00
Author
Owner

@lcobucci commented on GitHub (Nov 15, 2019):

Being handled by https://github.com/doctrine/orm/pull/7500. As I mentioned there, I don't think we need to drop APCu there.

@lcobucci commented on GitHub (Nov 15, 2019): Being handled by https://github.com/doctrine/orm/pull/7500. As I mentioned there, I don't think we need to drop APCu there.
Author
Owner

@Majkl578 commented on GitHub (Nov 15, 2019):

APCu is useless, OPcache superior for metadata & query caches in all ways. :)

@Majkl578 commented on GitHub (Nov 15, 2019): APCu is useless, OPcache superior for metadata & query caches in all ways. :)
Author
Owner

@lcobucci commented on GitHub (Nov 15, 2019):

I don't disagree but there are people who can't rely on opcache for weird reasons but are just fine with apcu

@lcobucci commented on GitHub (Nov 15, 2019): I don't disagree but there are people who can't rely on opcache for weird reasons but are just fine with apcu
Author
Owner

@beberlei commented on GitHub (Jan 15, 2020):

https://github.com/doctrine/orm/pull/7500 is merged

@beberlei commented on GitHub (Jan 15, 2020): https://github.com/doctrine/orm/pull/7500 is merged
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#6180