Copied to clipboard

Flag this post as spam?

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


  • Wallas 3 posts 23 karma points
    Oct 04, 2013 @ 15:49
    Wallas
    0

    200K+ Members can make the LOGIN slow?

    Hey People,

    Tell me, have you ever get any problem with slow member login?

    I'm planning to use Umbraco for a website with about 200k members and I'm worried about the performance to log in members on the site.

    I know it starts get slowy on the Umbraco admin, but, its ok because there we have a search and a alphabetical segregation. But when we turn to the front, (to the site you know?) do we get some slowness login?

    Just wondering if you ever get though that situation. I mean, do Umbraco iterate in all members when it is about to sign in somebody?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 04, 2013 @ 16:10
    Ismail Mayat
    0

    Wallas,

    Login will be a sql query and i can say with certainty that the membership code which is based on windows membership provider will NOT do something crazy like select * from members then loop each one till it finds a match! So it will not be slow logging in.

    However one word of caution if after logging in you are going to get member properties and display them eg member name then do not keep doing new Member() in code because if you do and you want to display member properties in more than one place and each time you new Member you will get performance issues I worked on a site a while back and the dev had written code like that instead of just getting the member once he was doing a new member each time.

    Regards

    Ismail

  • Wallas 3 posts 23 karma points
    Oct 04, 2013 @ 16:37
    Wallas
    0

    Hey Ismail, tks for your answer.

    I found that situation http://our.umbraco.org/forum/developers/api-questions/5647-GetProperty-on-a-member-object-slow. He's using caching for doing that.

    The version i'm using is 4.7.1. Do you know if this problem may affect my solution as well? Is caching the best way of solving this problem?

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Oct 04, 2013 @ 16:56
    Ismail Mayat
    0

    Wallas,

    I would make use of the member index so you can use examine search which is a wrapper around lucene. You wont use it for login only to get member data that will be lightening quick and will not make db calls.

    Regards

    Ismail

  • Wallas 3 posts 23 karma points
    Oct 04, 2013 @ 17:12
    Wallas
    0

    Ah GREAT! I was a little bit confuse with that! Thank you for cleaning this mess out Ismail!

    Best Regards,

    Wallas

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies