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")))
{
do
{
_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;
try
{
Services.MemberService.Save(member);
Services.MemberService.SavePassword(member, _splits[3]);
Services.MemberService.AssignRole(member.Id, "MemberRole");
}
catch { }
}
}
} while (!sr.EndOfStream);
}
}
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
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).
You have to just go through the concepts of Load balancing
get best knowledge from here
http://www.jondjones.com/learn-umbraco-cms/umbraco-developers-guide/umbraco-load-balancing
did you find any way to speed up saving a new member?
is working on a reply...