[wildfly-dev] CDI overhead

Andrig Miller anmiller at redhat.com
Fri Jun 27 14:50:56 EDT 2014


Okay, very good.  That's good to know.  We will update our Wildfly deployment to do just that.

Andy

----- Original Message -----
> From: "Stuart Douglas" <stuart.w.douglas at gmail.com>
> To: "Andrig Miller" <anmiller at redhat.com>
> Cc: "wildfly-dev" <wildfly-dev at lists.jboss.org>
> Sent: Friday, June 27, 2014 10:54:41 AM
> Subject: Re: [wildfly-dev] CDI overhead
> 
> You can remove it per-deployment using exclude-subsystem in
> jboss-deployment-structure.xml.
> 
> Also there was a performance problem in the CDI proxies that was not
> fixed until 2.2.
> 
> Stuart
> 
> 
> Andrig Miller wrote:
> > I should have posted this some time ago, but just forgot.
> >
> > In my early testing of Wildfly 8, CDI adds quite a bit of overhead
> > (12%
> > reduction in throughput) for even an application that only uses
> > servlets. The only way I could get that back was to remove the
> > subsystem. In talking with Stuart at the time, he was looking at
> > ways to
> > make the overhead less.
> >
> > Is there anything on the docket for making this overhead go away
> > for
> > deployments that don't require CDI? If not, can we get something
> > going
> > in that direction. It would be great to not have to remove the CDI
> > subsystem, but not have it impact performance for deployments that
> > don't
> > use it.
> >
> > Thanks.
> >
> > --
> > Andrig (Andy) Miller
> > Global Platform Director for JBoss Middle-ware
> > Red Hat, Inc.
> >
> > _______________________________________________
> > wildfly-dev mailing list
> > wildfly-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/wildfly-dev
> 


More information about the wildfly-dev mailing list