In the current implementation we are retrieving profile and organization related to active user every time we are validating a request. This means doing a request to Profile MS every time our BE receives a request.

Additionally, profile and organization info are not needed in most of the cases (class User is referenced more than 1000 times, but user.profile and user.organization are referenced only in few cases).



The suggested solution is to remove profile-organization retrieval from LocalStrategy.validate and retrieve them only when needed
Please authenticate to join the conversation.
Completed
Bug & Fixes
Low Priority
11 months ago

Ivan Ligotino
Get notified by email when there are changes.
Completed
Bug & Fixes
Low Priority
11 months ago

Ivan Ligotino
Get notified by email when there are changes.