syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Alessandroni (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (SYNCOPE-1199) Syncope performance: AnyObjectTO's creation time grows with it's quantity
Date Fri, 25 Aug 2017 08:52:00 GMT

     [ https://issues.apache.org/jira/browse/SYNCOPE-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matteo Alessandroni closed SYNCOPE-1199.
----------------------------------------
    Resolution: Not A Problem

At the beginning we had the same problem, but we found out that the problem was related to
the *Postgres JDBC Driver* version.
In my case the old default version (I used the one from {{/usr/share/java/postgresql-jdbc4.jar}},
version 9.2) was causing a lot of latency during tests.
Upgrading to a newer version solved the problem.

I have attached the results of the last jMeter test I have successfully executed.

Regards,
Matteo

> Syncope performance: AnyObjectTO's creation time grows with it's quantity
> -------------------------------------------------------------------------
>
>                 Key: SYNCOPE-1199
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1199
>             Project: Syncope
>          Issue Type: Bug
>    Affects Versions: 2.0.2, 2.0.4
>         Environment: Syncope 2.0.2 and 2.0.4 + PostgreSQL 9; Jmeter;
> https://github.com/Talend/platform-services/tree/master/iam/idp
>            Reporter: Iurii Smyrnov
>            Assignee: Matteo Alessandroni
>         Attachments: CreateTestSyncope.jmx, Latency for 1000 create roles (directly syncope
2.0.4) no SCIM.csv, Latency for 1000 create roles (directly syncope 2.0.4).png, Latency for
1037 create roles (directly syncope 2.0.2) no SCIM.csv, Latency for 1037 create roles (directly
syncope 2.0.2).png, Latency for 3000 create roles (directly syncope 2.0.2).csv, Latency for
3000 create roles (directly syncope 2.0.2).png, Latency for 3000 create roles (directly syncope
2.0.4).png, MasterContent.xml
>
>
> *AnyObjetcTO's creation time (latency) grows with it's quantity.*
> Testing results are attached (Latency in milliseconds).
> Note: We've tested PostgreSQL DB directly (without Syncope) and we've got stable AnyObjetcTO's
creation time (not increasing).
> User Syncope 2.0.4 or 2.0.4 and  + PostgreSQL 9 
> URI: http://localhost:9080/syncope/rest/anyObjects 
> http headers:
>  1.Content-Type / application/json
>   2 Accept / application/json
> verb: POST
> body:
>     {
>      "plainAttrs":[
>       {
>        "values":[
>          "test-value"
>        ],
>        "schema":"roleEntitlements"
>       }
>      ],
>     "type":"RoleAT",
>     "realm":"/",
>     "@class":"org.apache.syncope.common.lib.to.AnyObjectTO",
>     "auxClasses":["RoleATClass"],
>     "name":"Role_Account_1"
>   }
>   



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message