[jira] [Commented] (SYNCOPE-1199) Syncope performance: AnyObjectTO's creation time grows with it's quantity

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SYNCOPE-1199) Syncope performance: AnyObjectTO's creation time grows with it's quantity

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SYNCOPE-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153181#comment-16153181 ]

Francesco Chicchiriccò commented on SYNCOPE-1199:
-------------------------------------------------

Thanks for spotting this, Colm.

You are also right about the check for assignable Groups and AnyObjects, performed by both {{UserDataBinderImpl}} and {{AnyObjectDataBinderImpl}} during create and update.
Actually, replacing the current "heavy" check is pretty much simple: I will commit a fix soon.

> 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
>             Fix For: 2.0.5, 2.1.0
>
>         Attachments: CreateTestSyncope_genericResults_AnyObject.csv, CreateTestSyncope_graph_AnyObject.csv, CreateTestSyncope.jmx, CreateTestSyncope_onlyCreationAggregateReport_AnyObject.csv, 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)