Search through our group's posts (events, discussions, jobs, etc.) and their comments here. Results are displayed in order of post date. Use the pager below to browse results.
Memory usage much higher on production server than on local install
When using devel to view the memory use on a page, my production server is reporting a memory of anywhere between 70MB to 90MB, however the same site installed locally on MAMP the memory use is around 20MB which is much better. Both have apc installed, so is this difference due to the hardware or do I have a problem on my production server?
Read morePressflow/Drupal 6 performance related patches & replacements for core functionally
Core Patches
Big Performance Gains - Low Risk
Cache module_implements() - 300ms
Optimize element_children() - 400ms
_menu_link_translate() might avoid calling _menu_load_objects() - 250ms (if using views module)
Clean up drupal_get_schema_versions() - 2000ms (admin status page).
Big Performance Gains - High Risk
Read moreCustom code : 30+ small modules vs 5 large modules vs 1 HUGE module ? Which is better?
So, we have a large, complex Drupal 6 site, which has lots of secret sauce and magic glue making it work.
Where we can, we've contributed modules back and made them generic, but we still have 30 or so custom modules to keep it working the way we need it to. Each module (in most cases) has a specific function e.g. our hook alters for the notification system.
Read moreHacking db_query()
A sysadmin I know would like to direct all reads to the slave DB and all writes to the master DB. I did some research on this last night. Of course, in drupal 7, setting up the config settings for master and slave is easy. But, by default, that only means a handful of reads (in node, stats, search and some other modules) are sent to slave first. hook_query_alter seemed like the most obvious solution; alas, that allows you to alter the query -- but not the connection target. And hacking every SELECT in core, custom, and contrib seems, of course, like a nightmare.
Read moreLooking for (just) one, good, complete example of Varnish3+Drupal7 configuration
I'd posted this @ http://lists.drupal.org/pipermail/support/2011-November/019837.html, and got a msg that that list, too, is the 'wrong place', and that this is a better choice. Feeling a bit like a ping pong ball ... Anyways:
I've been considering putting Varnish3 in front of Drupal7.
I've scoured scads of snippets of inconsistent/incomplete/outdated
information from the HighPerformance group, the FourKitchens wiki, the
Varnish wiki, the Drupal Varnish module threads, countless blogs,
BadCamp presentations, various mailing lists, etc.
Is Boost still actively maintained?
I only ask because there is an increasing pileup of issues and requests on the Boost issue queue (http://drupal.org/project/issues/boost?categories=All), but the last updates to the module itself were in April (6.x-1.x-dev and 7.x-1.x-dev). The last stable release was 6.x-1.18, getting to be nearly 2 years ago; there is no stable release for D7.
Read moreHigh Traffic Event
I have a client running a relatively new Drupal 6 Ubercart based site with approx 50 items. It presently runs on Rackspace Cloud Sites. UPS shipping is enabled and the Auth.net SIM method is used for credit card checkout. No other external web services are in play that I am aware of.
I have completed a High Traffic Event form with Rackspace. I am awaiting further instructions but they have already suggested all static assets be moved to their cdn. (Akamai)
Read morehelp with the performance of my drupal installation
Hi all, (first of all, sorry for my english)
I'm start using Drupal and this is my setup:
Gentoo Linux 64bit with:
nginx
Fastcgi PHP-FPM
PHP 5.3
MySQL Server 5.1
xCache Opcode cache
Drupal 7.9 with heavy / large modules ... (views, panels, display suite, entity API ... etc) using the InnoDB engine.
Quad-core Intel CPU
3x2GB (6GB) DDR3 RAM
500GB 7200rpm SATA HD
In this machine, plus the installation of Drupal, there are also a OpenX Ad Server 2.8 (myisam engine & memcached).
Read morePressflow 7 == Drupal 7 ???
AFAICT Pressflow 7 is almost exactly the same as Drupal 7 except for these two small patches:
https://github.com/pressflow/7/commit/fa91b2fc80741cb8c42c2db618f0ef0ad8...
https://github.com/pressflow/7/commit/6cb28bfd8f5493be6c606856662d5e7d4d...
Am I missing something?
Read moreSafari + Cache-Control with Vary Bug
Hopefully I can save someone else a bit of time.
Safari seems to have a bug related to Cache-Control and Vary headers. It's relevant to Drupal in this case since I was reproducing the behavior with Pressflow 6 with the "external cache" setting, which I'm sure many of you are also using. Also this seems to be a Safari-only bug - Chrome is not impacted.
The official Webkit bug report: https://bugs.webkit.org/show_bug.cgi?id=71509
1) Visit a webpage, /myurl. Returned headers are as follows:
Cache-Control: public, max-age=3600
Expires: Sun, 11 Mar 1984 12:00:00 GMT




