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.
Why aren't users stored into static variables as nodes are?
We're working on implementing multiple methods for improving performance on a Drupal 5 platform and I noticed that various user hooks are called repeatedly on each page request. I realized that neither Drupal 5 nor Drupal 6 implement a static caching mechanism for storing complete user objects as they do for storing complete node objects.
I'm sure there is a good reason for this, but I'm having trouble fully understanding why. Can someone help explain to me why this is not done?
Thanks,
Read moreHow'd He Do That? Running Open Atrium At 200+ Req/Second
Looks like I generated a little buzz when I mentioned in my SxSw talk that I'd recently done a proof of concept scaling Open Atrium to 200+ requests/second using EC2. Since a number of people have asked about it, here's the skinny:
Disclaimer
First of all, I need to point out that this was a proof of concept build designed to let me know if the use-case I was pursuing (1000s of logged in users in a "burst" scenario) was even feasible or not. I cannot guarantee these results for your business case; your mileage may vary, etc.
The Basic Setup
Read moreCache Router patch
Hello, does anyone here currently use the D6 CacheRouter module on their site? If so, could you help test/refactor this patch (http://drupal.org/node/746610) to the CacheRouter module. The goal of the patch is to add a second layer of cache backup if your primary caching tier was unavailable. i.e you could have the Drupal db cache tables as a backup to memcache or apc, instead of defaulting to a "cache miss" scenario which could really hammer the database.
Read moreFirst step at scaling mid level site?
This question is probably a bit on the beginner end for this group but you've all probably been in my shoes previously so hopefully you'll be able to help me out.
I have a site with 6,000 nodes and 15,000 users. I make liberal use of Views, CCK and Taxonomy on all my pages and I use normal drupal caching and views caching. I run this site on a single VPS however my CPU usage lately has been a bit high (10% on a regular basis) and I need to figure out what my next step is to scale so as not to get on the bad side of my host.
Read moreTuning MySQL - Adding indexes, lots of them: Shotgun Strategy
This discussion got me thinking...
http://groups.drupal.org/node/56438#comment-160418
So I decided to create some code that will auto add indexes to your CCK fields where there are none. Works for me (using MySQL), may not work for you. Also at the bottom is code to add indexes elsewhere in Drupal.
<?php
$ret = array();
// Add indexes to CCK fields
$result = db_query("SHOW TABLES LIKE 'content_%'");
while ($table = db_result($result)) {
if ($table == 'content_group') {
db_add_index($ret, 'content_group', 'weight', array('weight'));
Front-end optimization modules for better browser performance
Performance modules for all the assets referenced inside the HTML
CDN:
http://drupal.org/project/cdn
http://drupal.org/project/cloudfront
http://drupal.org/project/parallel
http://drupal.org/project/simplecdn
http://drupal.org/project/creeper ?
http://drupal.org/project/sf_cache
CSS:
http://drupal.org/project/css_gzip
http://drupal.org/project/csstidy
http://drupal.org/project/css_emimage
http://drupal.org/project/css_preprocessor
Images:
http://drupal.org/project/xsend
http://drupal.org/project/image_optimize
http://drupal.org/project/imageapi_optimize
High Availability for a University Website with Limited Hardware
I am building a couple of websites for a few departments in my university.
Each website will sit on the same server using a multisite configuration.
The hardware they have is this:
1 Server with 4GB Ram
2 ISCSI HDs
The software:
Windows
Apache
Drupal 6
What kind of solutions are possible in terms of load-balancing/scalability/clustering?
I would probably need to configure accordingly APC,Memcache and Boost.
Any ideas where to start? This is really not my specialty and the SysAdmin is an IIS guy so he has no idea what to do as well...
Many thanks!
Nimi.
Any experience(s) with Apache TrafficServer as a Pound proxy alternative?
I run pound + varnish 'faux CDN' + pressflow6 on apache2 w/ php53 via mod_fcgid.
generally works great -- though, some lack of flexibility wrt SSL handling by pound, especially compared to mod_ssl.
1 option is to front-end with a 2nd instance of Apache2 just for the SSL handshake, but seems a bit fat/overkill.
has anyone "in here" had opportunity to play with Apache Traffic-Server (http://incubator.apache.org/projects/trafficserver.html, http://incubator.apache.org/trafficserver/), as a front-end proxy in front of Varnish/Pressflow yet?
Read moreCache thrashing solution - minimize cached urls?
I'm working on a unique problem right now with the relaunch of a high traffic site (2-5 million page views per day), and want to run an idea by the group. There is a specific singular landing page that will receive a significant amount of traffic from an external source, and each requested page would have a unique query parameter. Ex: /landing-page?uid=438474383487348?foo=bah.
Read moreBoost & Authcache (cacherouter memcache) for all user roles?
Using Authcache (cacherouter memcache) for all user roles, registered AND anonymous (drupal core cache of course disabled) and using Boost at the same time. APC is on server installed also, but not used with cacherouter.
Is Boost useful and doing its job under these circumstances??? Memcached daemon is acting kind of strange if boost crawler is disabled - it spikes to almost 100% cpu on pageview, page loads are high even when visiting the same page etc, RAM usage just few megs of available 128, some APC memory is also free.
Read more




