From dev-return-112065-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Fri Nov 2 06:11:07 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C36FC180652 for ; Fri, 2 Nov 2018 06:11:06 +0100 (CET) Received: (qmail 56788 invoked by uid 500); 2 Nov 2018 05:11:00 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 56757 invoked by uid 99); 2 Nov 2018 05:10:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2018 05:10:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 478F8C08A1 for ; Fri, 2 Nov 2018 05:10:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.997 X-Spam-Level: * X-Spam-Status: No, score=1.997 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=shapeblue.onmicrosoft.com header.b=HPThu+6W; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=shapeblue.onmicrosoft.com header.b=j4BbzKmp Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id zcUqLPXOEo5S for ; Fri, 2 Nov 2018 05:10:56 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70119.outbound.protection.outlook.com [40.107.7.119]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id F1F685F10F for ; Fri, 2 Nov 2018 05:10:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shapeblue.onmicrosoft.com; s=selector1-shapeblue-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cKBjRehKrZiFW9Hpp59ryH39hFrgO0qMRFny5h4hA9E=; b=HPThu+6W7he4xDm5M5p20ej943Hh5k297fBmAphDtbuy7zOLpgTRn3+fkJc9ru5CUJY5f5kkqX1nYM2lypPilKRqRQz119+shBWVGNBRVqhXhHOmwPMU5GC9KKSC114g69fTpNuJDBNg99vZFG7jbwaUlzJA2U0j5DhyPgiLOyI= Received: from DB6PR07CA0050.eurprd07.prod.outlook.com (2603:10a6:6:2a::12) by VI1PR0701MB1981.eurprd07.prod.outlook.com (2603:10a6:800:16::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.11; Fri, 2 Nov 2018 05:10:46 +0000 Received: from DB5EUR01FT061.eop-EUR01.prod.protection.outlook.com (2a01:111:f400:7e02::208) by DB6PR07CA0050.outlook.office365.com (2603:10a6:6:2a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1294.12 via Frontend Transport; Fri, 2 Nov 2018 05:10:45 +0000 Received-SPF: Fail (protection.outlook.com: domain of shapeblue.com does not designate 104.40.179.195 as permitted sender) receiver=protection.outlook.com; client-ip=104.40.179.195; helo=smtpworker-in-26.xware-eu-1.o365.crossware.co.nz; Received: from smtpworker-in-26.xware-eu-1.o365.crossware.co.nz (104.40.179.195) by DB5EUR01FT061.mail.protection.outlook.com (10.152.5.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1294.14 via Frontend Transport; Fri, 2 Nov 2018 05:10:45 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (23.103.133.214) by smtpworker-in-26.xware-eu-1.o365.crossware.co.nz with Crossware for Office365; Fri, 2 Nov 2018 05:10:44 +0000 Received: from AM4PR07MB3490.eurprd07.prod.outlook.com (10.171.190.27) by AM4PR07MB1364.eurprd07.prod.outlook.com (10.164.82.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.8; Fri, 2 Nov 2018 05:10:42 +0000 Received: from AM4PR07MB3490.eurprd07.prod.outlook.com ([fe80::39d3:c33f:6205:88bc]) by AM4PR07MB3490.eurprd07.prod.outlook.com ([fe80::39d3:c33f:6205:88bc%4]) with mapi id 15.20.1294.024; Fri, 2 Nov 2018 05:10:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shapeblue.onmicrosoft.com; s=selector1-shapeblue-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XgwWdfAoHgGC64QilfHXRJ67Qq+sB1cou5ZlVzsAc7I=; b=j4BbzKmpUtWS9g0r6TnhOOug+0msJhVqCIrg7jCyP+kmqq6r7mhOU8JZzc7n3I6aBnCC4N/3gog8HK/zAgKPH11Lx343yzjzhB06C/OfIf79gQJ/OsxLBShS+k4PscAQh9SF0aV1fGv6cibNhLo9Dn7WWXkcxpRUhtc2DVc9Lp4= From: Rohit Yadav To: "dev@cloudstack.apache.org" Subject: Re: Caching / Ehcache Thread-Topic: Caching / Ehcache Thread-Index: AQHUbjENgpsc+cxD9UuhUSmOxjTv/6U79xnp Date: Fri, 2 Nov 2018 05:10:42 +0000 Message-ID: References: <862c069fcae1cef811f0d972a00b9db6d2a4b177.camel@brothier.org> In-Reply-To: <862c069fcae1cef811f0d972a00b9db6d2a4b177.camel@brothier.org> Accept-Language: en-US, en-IN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.162.40.36] x-ms-publictraffictype: Email X-Microsoft-Exchange-Diagnostics-untrusted: 1;AM4PR07MB1364;6:BAMjd2wl209pyPfECBfXl+QxbLmVSGzMx7cX/6gMJFR5XiNudb9m4NaC04WQuCfFhf30TaNkZFHQ8vdCzfeF2uJLQEvgBI3F3dIAidunqETe0MNaGhFHcx8ykqi9FkTE5TDJAqUVQZqHu+vKF1z12v08LnwyGwzzHvFrXug07gy/1Id7CUgmjYbXT086X+Oe4kdrFSjeNkqLszHE/IEQXYmDfcYioqyamHx0hiogRlKXDqx+OssEnK1rNQ5ePtC3D+yZ59Orpfuu8o2RVQVWgkmSlw2uaxwJwiQ6q78c0KqS/MWHL9Edkof7wPGYZHBwrNcce6gbIBPIVAIrhx/lS8BBd7Z6bZaF8uqq+SY6ylnQwAFuS1YZ2sRDTpWvcLC8DrfG5M79H8gnLU4dy4SpCheb1Qx6iBX1ccI0Y5wpOqMnk0iqR8KFgVS3jVEt9Z/uCUQEGi4rc09aiwWvFK7NHQ==;5:hgvtRiptfMz1bhl6kGaxcQKc4/J8g2XRfHXCPddQ/UeCj5pf4NPLXRqbhL2dwxgqYvaiSdSBWPAbhAZxSOEnlo3t5qKdeyoKtm2rMP8YE3L6PQNv1Ay32oW3Ss6hadI/ZxQJLf0+zF8dSyYmpJwKfmeN/GgEM2IEdEELcVJ3BNc=;7:T9i2eoyh/ceeCtUfAJRYMDZ2Lc6l90ullZh/jTyGywJvC8cYYJFR9jL9BBzGRdvWmN0N2Lqry+NWmLrAv0WNzQRFJNil8irdl6RL6zWq5OIRmBZ2agG7mzCX9uBKsAG8auKiravcmIQMtQxWvYLXHQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; X-MS-Office365-Filtering-Correlation-Id: 5a05802c-df31-4a9e-a52e-08d640818b68 X-Microsoft-Antispam-Untrusted: BCL:0;PCL:0;RULEID:(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:AM4PR07MB1364; X-MS-TrafficTypeDiagnostic: AM4PR07MB1364:|VI1PR0701MB1981: Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=rohit.yadav@shapeblue.com; X-Microsoft-Antispam-PRVS: x-exchange-antispam-report-test: UriScan:(166708455590820)(148717330147763);UriScan:(166708455590820)(148717330147763); X-MS-Exchange-SenderADCheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3231382)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(2016111802025)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(6043046)(201708071742011)(7699051)(76991095);SRVR:AM4PR07MB1364;BCL:0;PCL:0;RULEID:;SRVR:AM4PR07MB1364;BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3231382)(944501410)(52105095)(93006095)(93003095)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(20161123562045)(20161123560045)(2016111802025)(20161123558120)(20161123564045)(6043046)(201708071742011)(7699051)(76991095);SRVR:VI1PR0701MB1981;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0701MB1981; x-forefront-prvs: 08444C7C87 X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10019020)(376002)(346002)(396003)(366004)(136003)(39830400003)(53754006)(189003)(199004)(69234005)(256004)(5660300001)(345774005)(33656002)(2900100001)(7736002)(186003)(106356001)(8936002)(105586002)(606006)(71200400001)(14444005)(476003)(486006)(44832011)(11346002)(6246003)(446003)(53936002)(71190400001)(74316002)(1015004)(97736004)(54896002)(6306002)(86362001)(6606003)(6916009)(9686003)(6436002)(68736007)(25786009)(229853002)(2906002)(6116002)(966005)(508600001)(3846002)(5640700003)(55016002)(2501003)(236005)(8676002)(76176011)(81166006)(19627405001)(1730700003)(316002)(6506007)(14454004)(102836004)(99286004)(26005)(66066001)(66574009)(81156014)(53546011)(7696005)(2351001);DIR:OUT;SFP:1102;SCL:1;SRVR:AM4PR07MB1364;H:AM4PR07MB3490.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: shapeblue.com does not designate permitted sender hosts) X-Microsoft-Antispam-Message-Info-Original: werHeVSw8VlKhicRCX9DbobT/+Fw3PomsVT7YTme4KKapE1RXVmH8403eqLAwb07Z0QYQOmjSgaKm7WTQqAd/K+efGueGmtvX6jecUMt7JxA6BMcSPDptPBMffPv7z6CeWTa99APT+9+8hoH0ZwwHzBz8kQoAaZ22RyZf8V5CNnBgCxnivuRTWbD2qHfU23+Yuq0oHoRMlX6tBXFd/gLFZXy/wI1UKAKNDX0FDljP1APL/JX1cB5CKYbdNrAEwUTC/JnWMo7aFnsCQ0unfte7ATfMl+l0gGG1V2Nj6YQtdFAn6CQzDbTe/1VuTQ3wzxRRQ3FG3McvD28Xjk7UkKcjLFwYv70guBdc2xj/XLs7HY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-CWesigProcessed: Y X-MAIL_SIG_VERSION: 4.0.2.4814 X-MAIL_SIG_SERVER: smtpworker-in-26.xware-eu-1.o365.crossware.co.nz X-MAIL_SIG_CONFIGNAME: Plain Text for Mailing Lists etc X-MAIL_SIG_CONFIGNAMEPLIED: Plain Text for Mailing Lists etc Content-Type: multipart/alternative; boundary="_000_AM4PR07MB34901B9D00CF947A9E2D6BE2E9CF0AM4PR07MB3490eurp_" MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB1364 X-EOPAttributedMessage: 0 X-CrossPremisesHeadersPromoted: DB5EUR01FT061.eop-EUR01.prod.protection.outlook.com X-CrossPremisesHeadersFiltered: DB5EUR01FT061.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR01FT061.eop-EUR01.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:104.40.179.195;IPV:NLI;CTRY:;EFV:NLI;SFV:NSPM;SFS:(10019020)(376002)(346002)(136003)(396003)(39830400003)(2980300002)(1110001)(1109001)(339900001)(53754006)(69234005)(199004)(189003)(345774005)(76176011)(236005)(606006)(7696005)(1015004)(99286004)(97736004)(86362001)(7736002)(5640700003)(2501003)(6246003)(84326002)(33656002)(508600001)(14444005)(54896002)(19627405001)(6306002)(68736007)(9686003)(55016002)(61614004)(966005)(14454004)(316002)(6116002)(53936002)(25786009)(15974865002)(16586007)(2351001)(186003)(8676002)(3846002)(71190400001)(81156014)(1730700003)(81166006)(11346002)(66574009)(446003)(74316002)(44832011)(336012)(476003)(106466001)(126002)(356004)(8936002)(229853002)(102836004)(105606002)(486006)(6916009)(6506007)(53546011)(66066001)(6346003)(26005)(5660300001)(2900100001)(2906002);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0701MB1981;H:smtpworker-in-26.xware-eu-1.o365.crossware.co.nz;FPR:;SPF:Fail;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-Microsoft-Exchange-Diagnostics: 1;DB5EUR01FT061;1:Mr1VtuTSsaHXqFdVCHPzYfRhBTLKERQw4vDHPPABFntwVI4Cr+6cQJs9Zqln4DC3qSkVeGux7yGdFYAAIkcEqyLNS1lSn1wPWKQQxQaqbTFIX3QGTsiwIvWTmHrvUYmh X-MS-Office365-Filtering-Correlation-Id-Prvs: 14f98cae-3106-4a66-dcb1-08d640818990 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600074)(710020)(711020)(2017052603328)(7153060)(7193020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87SpZWlSh2jnB2fFJwXqNy/VpK1aai29aNU+1u1ttG1Hd6hacESvo1HD8dasGz5mbytSdg/qFgAvMIvzrxMlCogbqBe2WaFqKkEYu+x5fR3bqToWMaCLuTUokReLm4mBfU7NyLKMo1zKuXSi7yq3e3fYKpxn8pxLHKV/JGf4TzKqS9N93gDPTOt8cPm43kUOqXVuibrrnWtvzFtPcnt+AhdP2XbKDGTQYZ;4:r5uNpc7BgxgJpEMSF+1gcJH2/jM5/F3PStn1vBVAmAy5zUZVYZTiazoLDlm002rqD9C1y3Hv5ush38N8QfGeAWVqQA6UbWuWicGR359J2czvw4IEby9jA8R3EQ4UNHBzq3HQOw1Qfk5z9K9W2AEdYt6M7q+4WwmmSneAXf7pQgSFkgT1rumaV1ffyWcYnWDNDb79webz30NOm7hZCDgXC7cPdofngdt81zFZMwwWPS1PcvqLcNXhnqH+Yp6Z023NdzZ301QQF4B0gOfBAib+qK4r0EhFLddbpRMuLh0kXMS+fpjhwyCVa4t17LXIS2/OGQxG59tfemsz1TdIRlHygh0UmdxYk/nwyDUytnn9Bt0= X-Forefront-PRVS: 08444C7C87 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;VI1PR0701MB1981;23:9tzXojkrXFQA2E+bd+jzhqQkEBeu7KBimZ1TPp/?= =?us-ascii?Q?dmNXpSStjUPqsKuRhjrxsq+1xk6P8PpvQQ3K7UvnDmOGqec5HxB7Xva+RArt?= =?us-ascii?Q?V+AxNI16OOfHDHHfcSch4Es+3pJEwyiR+HBIHqP2PpL8LVl52r3MYPR70ILQ?= =?us-ascii?Q?N2k3O83901kQZS02UyXKERhpjl8+mhe6RiaEHwIFv1pd3J8p9xLONe2lOFaM?= =?us-ascii?Q?3TjlM4I6tub+PjfBUlOlZfWvPDUnWNYyO2/HWbaDsxnV5tNgkWPbBTCX5Oez?= =?us-ascii?Q?PT3xSo8pHih54Ki4ChosHHaeGupC8uxKitJ5EbCz0fLkksuYizKFhKNzqt2j?= =?us-ascii?Q?6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ZQg50d+adZYyasxVeBxjJjnsqr2mAD6G04rBwbRinCTZdBDyRDOjR0Stf1uvPggz9YlsLCXrw0tA0FjrTOehmai1kJc9aR89InDNBWeqbsA06iOfrUYExVl4MI2aEYMPeodqgdV4NYN0JZ+PMmFIl432jJkDM+Z1t+A/bghdKjWpY2tC3tzEEZ8vtDmoLucChcw5LZA98lGzSHCTHPyCX5902SYZX+bR3YL9RHZ6JbNKtH8/AFpkdaKKJwKgoBN1BrztlBA5ODGYs3rroGVlZ0U4fvVSZXvSFl1pB3cn67MqvGJd0GE8/PsPpB8NgFyIV5G4fRrfFKuZ02viIi4hJ936X2eW1PzRhBb88P84nsKZtcSwtjVJyT0rxAE1eNhTlZi+ouwfl96+h0Z4N+avw==;5:JzHDk6OX/CZNr0HosfZdM2OyFUZTqp5OUY4CFIGlnnJctIQl2tz+JZG9T5AoJHNtOKw3hAsSG79/mcxEhYR1EnYmlunVwHgh9Yqyp2nBrkjbr0jYkG7/kKRn/SIL4ZzTaqQPgiCAlv2bTVOgE5ara4n9v3dUoyMrosCDKjmfze8=;7:L6DFq4QxBu7lNoyAEmr4I/rsIO22WqjgN3pp7eafXeLWvJfnPuI8xuNX4DYQqUvLyHXR7Gj4omcOp7PKxUdNVsx9hm8c3y5v4TAndSSpVW9bg0QiQMSOIczAmDXbuZ/mNYb8h1clIbWZbc3N0+xwfA== X-OriginatorOrg: shapeblue.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Nov 2018 05:10:45.2885 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5a05802c-df31-4a9e-a52e-08d640818b68 X-MS-Exchange-CrossTenant-Id: fc8906f6-e50e-4dad-98a0-ec2e3abe14f5 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fc8906f6-e50e-4dad-98a0-ec2e3abe14f5;Ip=[104.40.179.195];Helo=[smtpworker-in-26.xware-eu-1.o365.crossware.co.nz] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB1981 --_000_AM4PR07MB34901B9D00CF947A9E2D6BE2E9CF0AM4PR07MB3490eurp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Marc-Aurele, Thanks for starting a discussion thread. I think the GenericDaoBase uses eh= cache to build an internal cache and the rate-limiting plugin uses ehcache,= however I'm not sure to what extent they are used and the impact of removi= ng them on a production management server. Let me evaluate this soon and ge= t back on this thread (I'll be away next week on holiday). Thank you for your contribution, it has been a pleasure working with you in= the community. I wish you good luck in your next endeavor. - Rohit ________________________________ From: Marc-Aur=E8le Brothier Sent: Sunday, October 28, 2018 1:39:53 AM To: dev@cloudstack.apache.org Subject: Caching / Ehcache Hi everyone, (Again as the email formatting has been removed and was hard to read - I hope it will be better this time). While trying to lower the DB load for CloudStack I did some long testing and here are my outcomes for the current cache mechanism in CloudStack. I would be interested to hear from people who try to customize the ehcache configuration in CS. A PR ( https://github.com/apache/cloudstack/pull/2913) is also open to desactivate (before deleting) ehcache in CS, read below to understand why. # Problems The code in CS does not seem to fit any caching mechanism especially due to the homemade DAO code. The main 3 flaws are the following: ## Entities are not expected to be shared There is quite a lot of code with method calls passing entity IDs value as long, which does some object fetching. Without caching, this behavior will create distinct objects each time an entity with the same ID is fetched. With the cache enabled, the same object will be shared among those methods. It has been seen that it does generate some side effects where code still expected unchanged entity attributes after calling different methods thus generating exception/bugs. ## DAO update operations are using search queries Some part of the code are updating entities based on a search query, therefore the whole cache must be invalidated (see GenericDaoBase: public int update(UpdateBuilder ub, final SearchCriteria sc, Integer rows);). ## Entities based on views joining multiple tables There are quite a lot of entities based on SQL views joining multiple entities in a same object. Enabling caching on those would require a mechanism to link and cross-remove related objects whenever one of the sub-entity is changed. # Final word Based on the previously discussed points, the best approach IMHO would be to move out of the custom DAO framework in CS and use a well known one. It will handle caching well and the joins made by the views in the code. It's not an easy change, but it will fix along a lot of issues and add a proven / robust framework to an important part of the code. The work to change the DAO layer is a huge task, I don't know how / who will perform it. What are the proposals for a new DAO framework ? FYI I will stop working for Exoscale at the end of the month, so I won't be able to tackle such challenge as I won't be working with CS anymore. I'll try my best to continue looking at the project to give my insights and share the experienced I have with CS. Marc-Aur=E8le rohit.yadav@shapeblue.com=A0 www.shapeblue.com Amadeus House, Floral Street, London WC2E 9DPUK @shapeblue =20 =20 --_000_AM4PR07MB34901B9D00CF947A9E2D6BE2E9CF0AM4PR07MB3490eurp_--