question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Performance issue

See original GitHub issue

Nice project.

You made sure to index the right properties (NormalizedEmail and NormalizedUserName) in MongoDB. Queries are very fast because of this.

I noticed that the library is very slow if I register users by: _signInManager.UserManager.CreateAsync(user, autoPassword);

With my configuration I reach a maximum of 40 registrations per second. If I use a SQL server I reach 80 registrations per seconds. Same system.

If I insert the users directly into another collection of mongoDB, I reach several hundred inserts per second.

Is this normal?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13

github_iconTop GitHub Comments

1reaction
vova3211commented, Jun 22, 2021

There is test package 8.2.0-alpha with performance improvements.

1reaction
thebestgincommented, Jun 21, 2021

@thebestgin How do you test how many registrations per second can you make?

I test with the call of an Async method in a For Loop. I measure the total time until all Async methods are finished. Then I calculate the average value for registrations per second.

It is a very simple way to evaluate the performance. The whole thing can also be parallelized. For me, it is enough to compare technologies with each other.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dealing with Performance Problems
Types of Performance Problems ; Quantity of work (untimely completion, limited production). Poor prioritizing, timing, scheduling; Lost time ; Quality of work ( ......
Read more >
Handling Performance Issues With Grace
Low Productivity or Late Completion – Make sure you've been clear about the requirements and expectations of the job. · Poor Quality of...
Read more >
What is a performance problem?
Generally, a performance problem is the result of some workload not getting the resources it needs to complete in time. Or the resource...
Read more >
5 Common Reasons for Performance Issues (Plus 3 Tips to ...
1. They lack knowledge or skill. · 2. They have unclear or unrealistic expectations. · 3. They aren't motivated. · 4. The job...
Read more >
Performance Issue Root-Cause Diagnostic
Tool Overview: Accurately assessing employee performance issues is a critical part of providing high-quality performance evaluations.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found