Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sergio 73 posts 93 karma points
    Jul 28, 2011 @ 12:23
    Sergio
    0

    Performance with multiple Properties in a document type

    Hello,

    We are working with Umbraco 4.7 version in a Virtual Machine (Virtual PC) with 2Gb RAM and we have serious performance problems.

    Some of our document types have more than 200 properties (the project is a migration from MCMS2002 and we need to keep the original structure).

    When we try to edit a page with Internet Explorer 8 we are waiting more than one minute. With Firefox the performance is quite better but when we try to publish the content we receive a Request Timeout because it longs more than 90 seconds.

    Any idea about how can we increase the performance?

    Is there any limitation about the number of properties recomended in a document type?

    We have noticed the performance is worse since we have replaced some "Upload" Properties with the "DAMP-Classic" datatype.

     

  • Drew 165 posts 340 karma points
    Jul 28, 2011 @ 12:42
    Drew
    0
    Sounds like there's two performance issues, the first from the server itself (/db) and the second possibly from the browser.
    In terms of the browser - IE7/8 tend to struggle when you ask them to render 100+ different controls or containers.
    For example, IE7 takes forever if you ask it to render 400 div's or more than about 80 controls.
    Things to look at:
    1) On the site in IIS increase the timeout value for the site.
    2) Check the state of the server that the database is on. Is it shared? Under heavy load by other processes? Maybe some other db or process is sucking up the CPU/RAM?
    3) See if you can optimise the database (the umbraco one) - as it's this that stores all the doctype structure, and this will probably be where most of the 'time' may be going to build the page. Try giving it more resources too.
    I've never been past about 40 properties on a docType (including inherited properties) - and it performed fine when generating the page.
    I know it's unlikely, but try Chrome 11. If thats faster than FF then it might be that you have to say to your client:
    "Its Chrome....or we have to spend a lot more time trying to re-structure the project away from the MCMS2002 structure so that it performs better..." or similar...
  • Sergio 73 posts 93 karma points
    Jul 28, 2011 @ 13:32
    Sergio
    0

    In the development environment we have everything (IIS, DB, navigators, etc) in the same machine so the performance will be better in the future, but anyway we have a big problem specially trying to publish the content. We can´t increase the IIS Timeout because our client won´t accept to need more than 2 minutes to publish a page or 1 minute to starts editing each page.

    Even when we are creating the properties we have performance problems because when there are more than 100 properties in the doc. type we need more and more time to create a new one.

    It would be very interesting if someone which a similar structure (multilingual website with more than 50-70 properties for each language - 7 languages in our case - in several document types) can tell us the experience.

     

  • Drew 165 posts 340 karma points
    Jul 28, 2011 @ 13:37
    Drew
    0

    Just a quick check - for the multi-language facility, I'd assume you're using Umbraco's language support.

    Or are you creating a new property for each language? Such as:

    "English - Page Title"
    "French - Page Title"
    "Italian - Page Title" 

    ?

  • Sergio 73 posts 93 karma points
    Jul 28, 2011 @ 13:49
    Sergio
    0

    We are creating one property for each language (in separate Tabs).

    Do you have any reference about how Umbraco language support works?

  • Sergio 73 posts 93 karma points
    Jul 28, 2011 @ 13:50
    Sergio
    0

    Repeated

  • Drew 165 posts 340 karma points
    Jul 28, 2011 @ 13:58
    Drew
    0

    Have a look through this thread and the pages that are linked from it:
    http://our.umbraco.org/forum/developers/extending-umbraco/6126-How-to-create-multiple-language-supported-website-in-umbraco

    Basically you create a copy of the site for each language. This means that you will only ever have one set of document types - each used on each site.

    For example, you might create a Page document type, with a Page Title property.
    On the english site, you'll fill it in with "hello world".
    On the italian site, you'll fill it in with "journo blah" 

    For template items, such as button text, etc, you use the language lookup feature to convert "click here" to "blah blah".

    If you look at the first 5 seconds of this video, you can 'see' the use of multiple sites (one per each language):
    http://www.youtube.com/watch?v=ZeIhXDOmvgs 

    Additionally, you can look/search on the Wiki, Forum and Google :)
    And although there's nothing about multi-language sites, the Umbraco.tv is great for getting to grips with Umbraco: http://umbraco.com/help-and-support/video-tutorials 

  • Sergio 73 posts 93 karma points
    Jul 28, 2011 @ 14:28
    Sergio
    0

    Thanks a lot Drew.

    I´ll check this in detail.

    Regards!

Please Sign in or register to post replies

Write your reply to:

Draft