cancel
Showing results for 
Search instead for 
Did you mean: 

MDM java api performance

Former Member
0 Kudos

HI,

I access mdm table through java api, but it takes a long time to create session, it's about more than 70 seconds,that is unacceptable,

what's wrong with below java code:

UserSessionContext userCtx = new UserSessionContext(serverName,repositoryName, regionName, userName);

String session = SessionManager.getInstance().createSession(userCtx, SessionTypes.USER_SESSION_TYPE, password);

In addtion, the same problem exists when creating result definition for result table, below is the code:

ResultDefinitionEx resDef = new ResultDefinitionEx("M_CODER", userCtx);

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I restart the mdm server, then it is down to 10 seconds.

junwu
Active Contributor
0 Kudos

how u measure it?

cweissheimer
Advisor
Advisor
0 Kudos

Hello!

1) Make sure the java client application is on the same LAN as the MDM server.

2) Check if there isn't any heavy operations running under the Activities tab in MDM Console.

Best Regards,

Carlos Weissheimer