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.
Reducing drupal_lookup_path execution times?
After installing memcache and boost, i'm thinking that drupal could go fast then.
But it is not.
I'm then reading the querylog for one page. It is about 356 queries and 216.52 ms. drupal_lookup_path spent almost 1/2 queries ( it is 159 queries) and 1/4 more times ( avg. 0.4 * 159 = 64 ms).
There are already someone talked about it with cache. (Yes, they could hack into path.inc and cache them...i forgot the url they talked in drupal).
And i have another way (still need hack path.inc), cause i found a lot of drupal_lookup_path are really needless. for example:
Varnish Headers
I'm seeing a behavior where varnished pages stay cached for only 10 minutes. Examining my headers, I guess I'm confused about what I should be seeing. Below is an example of the response & request headers for a Pantheon page served up to an anonymous user.
Cache-Control:public, max-age=600
Is this the culprit? Does this seem too short? The varnished page "Age" will go up to 600 and then reset to 0. Before reset the page loads quickly on different browsers, but when it resets, it needs to load the whole page again. Something doesn't seem right there.
Optimization option
Hello,
I'm currently building site and have noticed that my site is quite slow (average load time 400ms). So I was thinking of a ways to make it faster for anonymous user. I was unable to use normal caching because at least two modules (that is blocks they provide) ubercart and polls are not compatible or are less functional. One way to solve this problem is by using additional ajax request and fill block from there, but that seems to be a messy solution. So, I came to an idea, to do the same thing but without extra ajax request. Another idea was, that not every module is needed for rendering few blocks, so why should all be loaded.
Read moreAmazons new Micro Instances ($0.02 per hour) require EBS boot
This is pretty exciting Amazon has announced a Micro Instance for only $0.02 an hour with 613mb RAM and up to 2 EC2 Compute Units. I know a lot of people were using other cloud computing providers due to the lower price point so this potentially opens Amazon up to a much larger market.
Only problem is I just tried to launch a Pantheon instance on it and realised the new instance size requires an EBS Bootable instance.
Read moreconverting a site to Pressflow
I am preparing to migrate a site with over 19 million nodes and a 2500 term taxonomy vocabulaty from Drupal 5 to 6. While reading up, I have discovered Pressflow and want to consider it. How do I proceed with the upgrade? Can I use the same strategy that I and others have used to migrate sites from Drupal 5 to 6, copying the database, then replacing the Drupal core files with Pressflow's core files? Or will that create a hopelessly broken site to pick up pieces for?
Read moreVery high apache process memory...
I'm having some performance issues with our site.
TOP on my production server is showing the following for APACHE:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
21333 www-data 19 0 345m 83m 28m R 99 4.8 0:05.07 apache2
1235 mysql 18 0 159m 44m 3876 S 1 2.5 167:32.39 mysqld Micro Amazon EC2 AMI with nginx, php5.3.3 and sqlite
Amazon has announced micro instance, which is cheaper. The sluggish apache2 stack may not work well on this limited resource. So I am planning to install drupal on nginx and sqlite, with custom compited lite php.
Read moreAdding or dropping index on large myISSAM table == slow boat to China!
Has anybody seen this: http://lists.mysql.com/mysql/202489 ? Like Inspector Renault in "Casablanca", if this is true, I am shocked!
I'm upgrading a Drupal 5 site with > 19M business listings to Drupal 6. The url_alias table has twice that many rows. ./modules/system.install takes several passes over this table, and what should have taken a few hours at most is taking days!
Read moreLooking for feedback on hosting 100 plus sites
I'm in charge of 100 plus drupal sites in use by the Purdue University Professional Writing program. We host sites used by instructors teaching multiple courses in PW as well as this Fall introductory composition. Currently, we are using a single multisite install to host all of these sites, with all the courses running off the main code. We're using Storm On Demand hosting, with their intro level server, which is one core on an intel quad core, with 2gb of ram.
Read moreNode statistics for busy sites with Pixel Ping
Once you put a Drupal app behind layers of external cache, the idea of "most popular" or "most viewed" becomes hard to compute. Boost's excellent boost_stats.php callback tries solves this in some situations by doing a partial bootstrap to access the DB and increment node_counter. But there are at least two potential complications to boost_stats.php with external cache.
Read more



