Copied to clipboard

Flag this post as spam?

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

  • RIchard 10 posts 110 karma points
    Apr 26, 2018 @ 13:49

    Umbraco 7.7 extremely slow on member login

    The site I am working on has roughly 10000 users. I was able to fix many of the general performance issues this has created however I have not been able to fix the login time and it is out of hand.

    Originally the was just using the standard generated Macro login form to log members in.


    I have tried creating my own controller to to log users in where the only thing that happens is

    Members.Login(model.Username, model.Password)

    And it still takes over 10 seconds to log a user in.

    Is there a way you are meant to handle a large amount of members that I haven't found? The Members have no added properties and were imported from a csv document with the following code (if that is helpful).

            string _line = "";
        using (StreamReader sr = new StreamReader(System.Web.HttpContext.Current.Server.MapPath("~/Imports/members.csv")))
            _line = sr.ReadLine();
            if (!String.IsNullOrEmpty(_line))
                string[] _splits = _line.Split(',');
                if (_splits.Length == 4)
                IMember member = Services.MemberService.CreateMember(
                    _splits[0],     // Username
                    _splits[1],     // Email
                    _splits[2],     // Display name
                    "member"    // Member type
                member.IsApproved = true;
                    Services.MemberService.SavePassword(member, _splits[3]);
                    Services.MemberService.AssignRole(member.Id, "MemberRole");
                catch { }
            } while (!sr.EndOfStream);
  • pranjal 75 posts 188 karma points
    May 23, 2018 @ 08:16

    You have to just go through the concepts of Load balancing

    get best knowledge from here

  • Ronen Rimon 22 posts 124 karma points
    Mar 04, 2021 @ 17:02
    Ronen Rimon

    did you find any way to speed up saving a new member?

Please Sign in or register to post replies

Write your reply to: