Role permissions mapping API performance is slow
Posted: Thu May 05, 2022 4:41 am
Hi, I am using mayanedms/mayanedms:3.4.6(docker image) and using mayan API's inside my django application.
But role permission mapping API(/api/roles/<role_id>/) is very slow
I am doing PATCH request to this API with permissions_pk_list in the payload, but it is taking around 14sec to get the response on production machine, whereas in the local environment it is taking around 6sec
Both the applications are running on the same machine.
I am not getting what is the issue here, can anyone tell me
But role permission mapping API(/api/roles/<role_id>/) is very slow
I am doing PATCH request to this API with permissions_pk_list in the payload, but it is taking around 14sec to get the response on production machine, whereas in the local environment it is taking around 6sec
Both the applications are running on the same machine.
I am not getting what is the issue here, can anyone tell me