Closed Arsnael closed 3 years ago
BTW forgot to post yesterday but that was the gatling simulation at the end of the day, for 10 users (1 minute injection + 3 minutes scenario duration), from my local:
We still have some asset calls to fix, mostly, right?
(I can see 48 404
...)
@Arsnael Can you post the ZIP of the simulation so that frontend devs can have a look at it?
Something I find really odd in that simulation (gatling inbox): we are in a loop where the user always logs in, then do a bunch of stuff (20 times), then logout... pause between 7 and 15s and repeat the loop... hmmm honestly is that really the reality? I don't think users will keep login/logout like crazy I'm not surprised that lemonldap had a hard time to keep up before with such a simulation honestly...
should we:
(I can see 48 404...)
@chibenwa those 404 errors are related to my third bullet point:
when simulating a user searching for other users and checking their avatar, some users seem to have an avatar with a not found image: https://openpaas.upn.integration-open-paas.org/images/not_a_user.png. Didn't take the time to dig on that yet
The one from today after I:
Something I find really odd in that simulation (gatling inbox): we are in a loop where the user always logs in, then do a bunch of stuff (20 times), then logout... pause between 7 and 15s and repeat the loop... hmmm honestly is that really the reality? I don't think users will keep login/logout like crazy I'm not surprised that lemonldap had a hard time to keep up before with such a simulation honestly...
should we:
- keep the user login in and out on regular basis but maybe more longer period between?
- just login the user before the loop, logout after it?
interesting comment, i would like to hear more from @remk and @rouazana
Also other remark, some assets are usually cached in the browser... but we still load them endlessly in those simulations?
kinda fixed the simulation. However, as I commented through the code, some stuff are wrong/missing, and I will try to change that:
getMessages
jmap call after getMessagesList
. That is something used all the time, need to add this callExtra question though: not sure to completely get why we don't load static assets from nginx in the simulation? it's not openpaas job anymore ok but it's still being loaded by the user though? As we do load the assets of the cas and keycloak... I'm not sure honestly
10 users on my local, 1 min injection, 3 minutes scenario run:
zip: inboxPlatformValidationLocal.zip
Tomorrow I will fire this on charge01 at higher numbers
I think I'm ok with the status now. Notice that:
Any feedback and discussion is welcomed regarding those points (or anything else), as I'm not 100% sure of the normal usage of inbox by users
4000 users inbox after scaling up a bit and adding cpu to backend-esn and sabre:
zip: 4000usersInbox.zip
I think we can merge this. Can somebody help me? I don't have the rights to do it myself
I don't have the rights to do it myself
You should have them now :)
You should have them now :)
Thanks ;)
Well I kinda manage to login / logout with keycloak + cas, and the rest seems ok.
Things left:
Of course I will need to do a bit of cleanup obviously when I finish to fix everything...