Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E412D200CE0 for ; Fri, 25 Aug 2017 10:52:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E275C16C553; Fri, 25 Aug 2017 08:52:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3202416C542 for ; Fri, 25 Aug 2017 10:52:08 +0200 (CEST) Received: (qmail 71156 invoked by uid 500); 25 Aug 2017 08:52:07 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 71145 invoked by uid 99); 25 Aug 2017 08:52:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2017 08:52:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 58E1E1A19A1 for ; Fri, 25 Aug 2017 08:52:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id QxlzZikCovjf for ; Fri, 25 Aug 2017 08:52:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 79FBC5FC5D for ; Fri, 25 Aug 2017 08:52:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 362F8E0443 for ; Fri, 25 Aug 2017 08:52:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7FD3425382 for ; Fri, 25 Aug 2017 08:52:00 +0000 (UTC) Date: Fri, 25 Aug 2017 08:52:00 +0000 (UTC) From: "Matteo Alessandroni (JIRA)" To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (SYNCOPE-1199) Syncope performance: AnyObjectTO's creation time grows with it's quantity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 25 Aug 2017 08:52:09 -0000 [ 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)