Copied to clipboard

Flag this post as spam?

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


  • Josh Olson 79 posts 207 karma points
    Mar 24, 2014 @ 15:08
    Josh Olson
    0

    Performance implications of large number of custom member properties

    I am just curious what the performance implications of having possibly hundreds of custom member properties are in an Umbraco 7 installation?

    I have a project that started small (and with poorly defined requirements) but has since ballooned (and still has relatively poorly defined requirements) to the point of having only a few thousand members but with a hundred or so custom member properties.

    Advice, suggestions, and tips are welcome!

    Cheers.

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Mar 24, 2014 @ 16:05
    Alex Skrypnyk
    1

    Hi Josh,

    Umbraco creates separate Lucene indexes for nodes and for members so it's not a problem for performance. You can create your own index with properties or use standard.

    <IndexSet SetName="InternalMemberIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/InternalMember/">
        <IndexAttributeFields>
          <add Name="id" />
          <add Name="nodeName"/>
          <add Name="updateDate" />
          <add Name="writerName" />
          <add Name="loginName" />
          <add Name="email" />
          <add Name="nodeTypeAlias" />
        </IndexAttributeFields>
      </IndexSet>
    

    Thanks, Alex

  • Josh Olson 79 posts 207 karma points
    Mar 24, 2014 @ 16:12
    Josh Olson
    0

    Hi Alex,

    Excellent! Good to know.

    Thanks, Josh

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Mar 24, 2014 @ 17:53
    Jeroen Breuer
    0

    What version of v7 are you using? In 7.1 there is a Umbraco.TypedMember helper, but in 7.0 there isn't. This means that even though examine is used if you fetch members in v7 it might not use Examine and could still be very slow. In Umbraco the more properties you add the slower it will become. 7.1 has a new member API with better performance, but it can still become slow.

    Jeroen

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Mar 24, 2014 @ 18:03
    Jeroen Breuer
    0

    You could have a look at uMembership if the performance isn't good enough.

    Jeroen

  • Josh Olson 79 posts 207 karma points
    Mar 24, 2014 @ 18:18
    Josh Olson
    0

    Thanks Jeroen. I am on 7.0.2 right now, but I will be moving to 7.1 soon. I haven't done any real-world testing yet so I may be a bit premature with my performance concerns, but it is good to know that there may be some options if performance is a bit slow.

    Cheers to all!

Please Sign in or register to post replies

Write your reply to:

Draft