Open Closed

Login performance issue #6213


User avatar
0
lalitChougule created
  • ABP Framework version: v7.2.2
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no/yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi,

Login to the platform taking more time than expected

As you see in the above image the application-configuration alone is taking almost 2 sec here. Please advise on how we reduce this time.


8 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share the logs of this request.

    Set minimum log level to Debug

            Log.Logger = new LoggerConfiguration()
                .MinimumLevel.Debug()
                .Enrich.FromLogContext()
                .WriteTo.Async(c => c.File("Logs/logs.txt"))
                .WriteTo.Async(c => c.Console())
                .CreateLogger();
    
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share the logs.txt to liming.ma@volosoft.com

    Thanks

  • User Avatar
    0
    lalitChougule created

    hi

    Please share the logs.txt to liming.ma@volosoft.com

    Thanks

    Done !!!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    [] Request finished 3809.1301ms

    There are 2 seconds to read the redis cache. This is the main performance point. Because your application have a lot of permissions.

    However, this is not very slow during the Development/Debug.

  • User Avatar
    0
    lalitChougule created

    I can see the same kind of behaviour post-deployment as well. Should I share the logs for same as well ?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    If it's 2 seconds, I think it's normal. You can temporarily disable redis to see its performance.

  • User Avatar
    0
    maris.vigulis created

    If it's 2 seconds, I think it's normal. You can temporarily disable redis to see its performance.

    But if there will be 10 times more permissions - it will load 20 seconds. oO Don't you think that in ABP there is a big architectural issue in that regards? 2 seconds response from a core of system - is too long already.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    2 seconds response from a core of system - is too long already.

    This time is different for different computers/environments.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35