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 D20A8200B68 for ; Fri, 19 Aug 2016 15:40:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D07EC160A8E; Fri, 19 Aug 2016 13:40:49 +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 F062A160A79 for ; Fri, 19 Aug 2016 15:40:48 +0200 (CEST) Received: (qmail 2173 invoked by uid 500); 19 Aug 2016 13:40:48 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 2163 invoked by uid 99); 19 Aug 2016 13:40:47 -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, 19 Aug 2016 13:40:47 +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 690F81A131B for ; Fri, 19 Aug 2016 13:40:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 vxmEeJy4mugo for ; Fri, 19 Aug 2016 13:40:45 +0000 (UTC) Received: from mail-yb0-f170.google.com (mail-yb0-f170.google.com [209.85.213.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A9FEC5FADB for ; Fri, 19 Aug 2016 13:40:44 +0000 (UTC) Received: by mail-yb0-f170.google.com with SMTP id e31so15584855ybi.3 for ; Fri, 19 Aug 2016 06:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IYETQfo+NeLoNqmlph41LnvUno4YhSc3+4QCiZUM3Ec=; b=Au+Ezwuh5v3VwHARcuGOSwmMXoGO5k+Qzne9lBRgugt8WalFDkAGIORUTfCZ+e2+9i L5gNxvLoopEHyt04JzUppbgb7b7qBZ13Z4q4vGm1sz509WFMCeExW33K7xNVSrVgWVDU HRkjkqrmHNcTBzjtjl6pyD2S6dU0YEEO2BfvQOH9BiURByLeAK7lpmxhU1EogY6+BmcE dH9vfRddsn2FxFhfgnXmrSxX5J/S3u2T95iXxnFyJi9x20MZi3rJrCruM1BGDSrK6MyX 12RqY0c8EHCMa+qEUQmIny2tFpE5PX8pCb3D38N7nrZbQ0WcVS2m/JXQaONaQMGKPbE1 rcaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IYETQfo+NeLoNqmlph41LnvUno4YhSc3+4QCiZUM3Ec=; b=ZWkNcVoFToXt8/PX1OplINo91sF+bm+5TpZDDmjgyPxcl580OJ+DPZnWjdr8nB9Awp /WEtcuK6gvIZvqgdd0AXJMTXYorXtWYa94JJxTFSr/oXuckcZcSKAp8cIGxXxesjGydz 4FQJdTvwVJk8Sw6bh6zh7YH6HOtLiGDWklBkzZKRU/hU7mcGaPyxz+N/4DuZM3r6sg+a hL8Tko4om2icy5cMP1GA3wwG2tzKnk3rLsghGw2Y0hOBVIYkcRY/jxwgKgOx89zG5hMx 02MUb0Sitn+Gr4js8auHAj6HBGcQK1/Gfe8QBHhx/3hUPfsefMa78brrf/2/w95bt8f7 ylUA== X-Gm-Message-State: AEkoouvK+dIHeLopx6s+NTbrVgcMz/KLpr4Yk2j61MgaA0n/0A58+En+RnCSK7W61yKYlPxGbVbPhKisFgLWFg== X-Received: by 10.37.83.68 with SMTP id h65mr6071792ybb.107.1471614038588; Fri, 19 Aug 2016 06:40:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.200.2 with HTTP; Fri, 19 Aug 2016 06:40:37 -0700 (PDT) In-Reply-To: References: From: Clebert Suconic Date: Fri, 19 Aug 2016 08:40:37 -0500 Message-ID: Subject: Re: PR Merge? To: Romain Manni-Bucau Cc: "dev@geronimo.apache.org" Content-Type: multipart/alternative; boundary=001a113e5ed8044d1c053a6cd815 archived-at: Fri, 19 Aug 2016 13:40:50 -0000 --001a113e5ed8044d1c053a6cd815 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The patch is caching it with a soft cache. Meaning the impl will go away when memory is needed and a class loader gone. The performance of having to load the class on every operation is really heavy. On Friday, August 19, 2016, Romain Manni-Bucau wrote: > Hi John > > I implement it this way to work in all cases and deployment without > leaking an impl (this patch does) > > The fix is in artemis I suspect: Json.write/read shouldnt be used bit the= y > should go through the factory. > > Hope it helps. > > Le 19 ao=C3=BBt 2016 04:11, "John D. Ament" > a =C3=A9crit : > >> Hi, >> >> I was wondering, would anyone be able to review this PR and perhaps merg= e >> it? After I ported Artemis to use Johnzon, Clebert noticed some >> performance issues where the service was being looked up always. His PR= is >> to help resolve that. >> >> https://github.com/apache/geronimo-specs/pull/4 >> >> John >> > --=20 Clebert Suconic --001a113e5ed8044d1c053a6cd815 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The patch is caching it with a soft cache. Meaning the impl will go away wh= en memory is needed and a class loader gone. =C2=A0


=
The performance of having to load the class on every operation i= s really heavy. =C2=A0

On Friday, August 19, 2016, Roma= in Manni-Bucau <rmannibucau@gma= il.com> wrote:

Hi J= ohn

I implement it this way to work in all cases and deployment = without leaking an impl (this patch does)

The fix is in artemis I suspect: Json.write/read shouldnt be= used bit they should go through the factory.

Hope it helps.


Le=C2=A019 ao=C3= =BBt 2016 04:11, "John D. Ament" <joh= ndament@apache.org> a =C3=A9crit=C2=A0:
Hi,

I was wo= ndering, would anyone be able to review this PR and perhaps merge it?=C2=A0= After I ported Artemis to use Johnzon, Clebert noticed some performance is= sues where the service was being looked up always.=C2=A0 His PR is to help = resolve that.


John


--
Clebert Suconic

--001a113e5ed8044d1c053a6cd815--