Scaling Drupal

Events happening in the community are now at Drupal community events on www.drupal.org.
jwillers's picture

First off, sorry I missed last Monday. Hope to see you guys next month!

I asked this on the Drupal support list, but I thought I'd get some local input. Here's my email:

I have a site that I’m working on the data structure for… I feel like I know how I’d do it, but I was told that it might not scale well, so I thought I’d run it through you guys.

In my plan, I was going to make several content types and connect them through node references. Specifically, there would be Content Type A (CTA) pointing to CTB, pointing to CTC, that points to several of CTD’s, E’s, etc. So it could be a Store that has Departments, and each Department would have one or more Budgets, and each Budget could have several items figured into the budget, from an Employee (another content type with items of info) to Custodial (another content type with specific items), etc.

Would this cause too much server load using inherent Drupal Content Types with CCK fields (D6)? Would it only work with direct db queries and mysql tables instead? How much is lost doing it using content types instead of custom coding?

I guess I was under the impression that Content Types were very efficient, that if you create a Content Type, it is basically the same as creating a specific table in the database, but maybe not.

Any advice is appreciated. Sorry for rambling on with specifics. If you need more info, feel free to send me a direct email.

Joel

Comments

What kind of traffic?

newz2000's picture

Hello, what kind of traffic do you have to your site? Is it mostly people viewing or is it people who are updating data.

The reason why I ask is if it's mostly viewers then you can enable some modules that speed up your site. For example, aggressive caching (built in I think) or boost.

My site sits behind several squid proxies and is served as static. There is no login functionality except by a special backend url. This removes the need to worry about performance too much. I realize that not everyone's use case is like mine though.

If your site can't use this type of configuration then you may want to consider your friend's advice. I've heard that elaborate node references can cause performance problems.

--
Matthew Nuzum
newz2000 on freenode

Central Iowa Drupal Users Group

Group categories

Category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: