msonnabaum / drupalcon-training-chef-repo

Chef repo for the Drupalcon Performance and Scalability training
25 stars 5 forks source link

Add APCu #16

Open davidstrauss opened 9 years ago

davidstrauss commented 9 years ago

I've already updated the training materials to mention it, but we should install it as well. The package name should be php-pecl-apcu. This will restore the APC user cache functions (but will not conflict with opcache).

BMDan commented 9 years ago

What is the intended use of the user cache? Will we be demonstrating its use? Currently, we stick everything in Redis.

davidstrauss commented 9 years ago

It's useful for caching the existence of network-stored files like aggregated CSS and JS. Both Acquia and Pantheon use it that way.

BMDan commented 9 years ago

At the risk of being cheeky, is that relevant, given that we don't have a network-backed filesystem here? But it makes sense to mention it in the (admittedly rather unloved) Gluster section.

davidstrauss commented 9 years ago

It still is probably worthwhile to cache, as it avoids the kernel round trip for accessing even the local file system. Might not be very measurable, though.

msonnabaum commented 9 years ago

It's totally essential for Drupal 8 unfortunately.

BMDan commented 9 years ago

Oh? Okay, I'm sold, then.

davidstrauss commented 9 years ago

Ain't no cache like an APCu cache because an APCu cache is mandatory (for Drupal 8, apparently).

https://www.youtube.com/watch?v=5jsORc3sPtQ

BMDan commented 9 years ago

Ain't no party like a Pyongyang party, 'cause a Pyongyang party is ABSOLUTELY MANDATORY!

https://www.youtube.com/watch?v=VJNBfBr-OGU