You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why?
If the endpoint /cookie/nginx/anonymous is under heavy load, MongoDB is suffering because of a big bunch of write operations into audit collection. Especially for one event: ANONYMOUS_SESSION_CREATED. We found out that this information is not so important to us and it is not necessary to put it into the audit.
Another place that generates big traffic is the synchronous cookie webhook. We found out that the important information is only when the anonymous user fulfills the login process and becomes a fully logged user. So it makes sense to avoid calls when an anonymous session is just built.
Why?
If the endpoint
/cookie/nginx/anonymous
is under heavy load, MongoDB is suffering because of a big bunch of write operations intoaudit
collection. Especially for one event:ANONYMOUS_SESSION_CREATED
. We found out that this information is not so important to us and it is not necessary to put it into the audit.Another place that generates big traffic is the synchronous cookie webhook. We found out that the important information is only when the anonymous user fulfills the login process and becomes a fully logged user. So it makes sense to avoid calls when an anonymous session is just built.
DoD
ANONYMOUS_SESSION_CREATED
audit event (Disable auditing anonymous sessions #304)EDIT:
The text was updated successfully, but these errors were encountered: