I am running Drupal 4.6.2 in a R&D environment where researchers are encouraged to submit RSS feeds.
Currently we have about 1000 RSS feeds.
And this seems to be a problem. When a new feed is created Drupal litteraly freezes and it could last 40 seconds to a minute when the machine is loaded (more than 8 users). After having a quick look a the menu management I wonder why so many feed information is stored in $_menu and why it is necessary to rebuild this array from scratch at every feed creation/modification (BTW I no longer call "menu_rebuild" when a feed is modified but only when it is created or deleted)?
Isn't it possible to manage the feeds the way the nodes are managed? What could be the drawbacks?
François-Xavier
PS : I do not use the cache.
PPS : I use aggregator.module.
Comments
Please upgrade to 4.6.5!
And please sign up for the security list announcements (link someone?)
There is a dangerous security exploit for 4.6.2.
You probably use the cache more than you think; the cache is used for menus and variables all the time, it is only the page cache that you can turn on or off, and that wouldn't affect your performance issue anyway.
I'm not familiar with the aggregator and menu interactions so can't speak to the actual problem. Please upgrade, though.
- Robert Douglass
-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress
4.6.5 vs 4.6.2
Thanks for the advice but I am running Drupal within a corporate intranet so today my main concern is not security but performance.
FRançois-Xavier
Tried 4.7.0?
Try upgrading a copy of your site to Drupal 4.7.0-betaX (or CVS HEAD). I remember we made some performance improvements to the aggregator.module. If it not, we might want to fix this before we ship Drupal 4.7.0.
4.7.0
This is a pretty good idea. I am going to try it very quick and report it back as soon I got results.
BTW I did what I suggested, i.e. to manage the feeds the way the nodes are. I still do not understand why it is done another way. I would appreciate any hint about it.
François-Xavier