Are several thousand locations a problem?

Author Message

Bertin Hansen

Monday 15 November 2010 4:33:09 am

I am working with a large food recipe site and the customers of that site are able to bookmark recipes and organize them in self-made categories ("folders") on their own cooking booke page. The standard bookmark feature does not support categorization so I am planning to use the location feature of eZ Publish to solve this requirement. When the user creates a new category, the code will create a new folder under the customers cooking book node (my own class), and when the customer bookmarks a recipe the code will add a new location to the recipe to that new folder. We will have thousands of users, so a recipe may be located in several thousand locations. Will this be a performence problem? Is this a good idea, or could the requirement be solved in another way? I have rejected the idea of using a object relation list, because I think this would give bad performance when editing the recipe in the Admin GUI.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:01:28
Script start
Timing: Jan 18 2025 02:01:28
Module start 'layout'
Timing: Jan 18 2025 02:01:28
Module start 'content'
Timing: Jan 18 2025 02:01:29
Module end 'content'
Timing: Jan 18 2025 02:01:29
Script end

Main resources:

Total runtime1.1483 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.0469152.6406
Module start 'layout' 0.00760.0038 740.687539.4844
Module start 'content' 0.01141.1357 780.1719438.8594
Module end 'content' 1.14710.0012 1,219.03138.1250
Script end 1.1483  1,227.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3063160.0002
Check MTime0.00140.1198160.0001
Mysql Total
Database connection0.00130.110010.0013
Mysqli_queries1.094595.3140460.0238
Looping result0.00050.0405440.0000
Template Total1.108396.520.5542
Template load0.01341.164420.0067
Template processing1.094995.353620.5475
Template load and register function0.00020.013510.0002
states
state_id_array0.00110.094410.0011
state_identifier_array0.00100.085120.0005
Override
Cache load0.01271.106350.0025
Sytem overhead
Fetch class attribute can translate value0.00070.061010.0007
Fetch class attribute name0.00070.061120.0004
XML
Image XML parsing0.00160.141610.0016
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00240.2091160.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs