I’m just wanting to understand peoples thoughts/opinions around how UD should or shouldn’t be used in larger environments.
I work for a very large global firm, 19k+ employees just under the UK branch, but we have reach into many other countries.
Currently I host two dashboards in UD, one I use for internal team and other IT Teams, reporting on automation that my team provide to the business, its primarily a presentation layer on top of our scripts, mostly graphs, grids etc - nothing too complex.
I’ve just started hosting a second dashboard, which will be used for end user interaction.
We’re expecting to get a higher level of traffic on this and currently not sure how many concurrent connections we’ll end up with at peak times.
The dashboard itself is related to a project around O365 Teams.
We’re planning to ask people to visit the UD page, which lists their personal Teams, owners & members (info pulled from sql, with further details pulled from AD users within the endpoint), with buttons to ‘confirm’ they have checked, this in turn writes back to an sql database with the username and a datetime.
While I’d guess we’ll probably have no more than 30 people at any one time on the site, I’m really not sure how this project will go so I want to understand the capacity and what UD is capable of.
I’ve just got our load testing team involved and run tests on this to see what sort of capacity we can hit before we start getting issues. We’ve asked them to run 1, 25, 50, 100, 500 concurrent user tests (they’re using load runner).
As a baseline with 1 active user, we have minimal cpu, and around 200 - 250mb memory usage.
So far, 25 users was fine, 50 users started to max cpu and I was noticing ‘transient’ errors coming sporadically from get-aduser in the endpoints.
I’ve since switched out any references of the get-aduser cmdlet in favour of ADSI methods which are much faster - all errors have since stopped and it looks like the memory footprint is also reduced.
We re-ran the 50users test and it seemed to complete without issue, response times, cpu & memory still within acceptable levels (although memory jumps to 2GB).
Currently running the 100users test and it seemed to be performing okay. Mid way through I visited the diagnostics page at which point we saw a spike and some issues/slow response times. Obviously there’s a lot of info the diagnostics page is pulling and with that load its understandable.
I’ll update this post as we complete our load testing to let you know how I get on, but I just wondered what peoples opinions were in using UD under higher loads, if this is a good idea or not. If there are any actions we can take to ease the site under load, good & bad practices etc.