Many calls to the database if a user is in many group

We are using the REST API for our system and we're using many group to manage rights. We discovered that for almost every call that we make to the Nuxeo server, many many query are made to the Postgres database to build the user context. This completely freeze the server for several seconds.

Is it normal and is there a way to keep a session over many REST call?

1 votes

0 answers

2098 views

ANSWER