[jboss-jira] [JBoss JIRA] (WFLY-10877) Jaeger-thrift jar dependency is quite chubby
Jan Stourac (JIRA)
issues at jboss.org
Thu Aug 23 10:40:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-10877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623036#comment-13623036 ]
Jan Stourac edited comment on WFLY-10877 at 8/23/18 10:39 AM:
--------------------------------------------------------------
Note - size of the artifacts after build from the MR branch:
{code}
$ ll -h ./system/layers/base/org/wildfly/microprofile/opentracing-smallrye/main/
total 952K
-rw-rw-r--. 1 jstourac jstourac 125K Aug 23 10:55 jaeger-core-0.30.5.jar
-rw-rw-r--. 1 jstourac jstourac 682K Aug 23 10:55 jaeger-thrift-0.30.5.jar
-rw-rw-r--. 1 jstourac jstourac 2.1K Aug 23 10:55 module.xml
-rw-rw-r--. 1 jstourac jstourac 14K Aug 23 10:55 opentracing-api-0.31.0.jar
-rw-rw-r--. 1 jstourac jstourac 7.5K Aug 23 10:55 opentracing-concurrent-0.1.0.jar
-rw-rw-r--. 1 jstourac jstourac 41K Aug 23 10:55 opentracing-jaxrs2-0.1.6.jar
-rw-rw-r--. 1 jstourac jstourac 11K Aug 23 10:55 opentracing-noop-0.31.0.jar
-rw-rw-r--. 1 jstourac jstourac 7.4K Aug 23 10:55 opentracing-tracerresolver-0.1.5.jar
-rw-rw-r--. 1 jstourac jstourac 7.9K Aug 23 10:55 opentracing-util-0.31.0.jar
-rw-rw-r--. 1 jstourac jstourac 13K Aug 23 10:55 opentracing-web-servlet-filter-0.1.0.jar
-rw-rw-r--. 1 jstourac jstourac 5.4K Aug 23 10:55 smallrye-opentracing-1.1.1.jar
-rw-rw-r--. 1 jstourac jstourac 13K Aug 23 10:55 wildfly-microprofile-opentracing-smallrye-14.0.0.CR1-SNAPSHOT.jar
{code}
EDIT added also libthrift, okhttp and gson modules too, based on the Juraci comment lower - thanks for that :)
{code}
$ ll -h modules/system/layers/base/org/apache/thrift/main/ modules/system/layers/base/com/squareup/okhttp3/main modules/system/layers/base/com/google/code/gson/main
modules/system/layers/base/com/google/code/gson/main:
total 232K
-rw-rw-r--. 1 jstourac jstourac 228K Aug 23 16:23 gson-2.8.2.jar
-rw-rw-r--. 1 jstourac jstourac 1.4K Aug 23 16:23 module.xml
modules/system/layers/base/com/squareup/okhttp3/main:
total 484K
-rw-rw-r--. 1 jstourac jstourac 1.4K Aug 23 16:23 module.xml
-rw-rw-r--. 1 jstourac jstourac 397K Aug 23 16:23 okhttp-3.9.0.jar
-rw-rw-r--. 1 jstourac jstourac 80K Aug 23 16:23 okio-1.13.0.jar
modules/system/layers/base/org/apache/thrift/main/:
total 240K
-rw-rw-r--. 1 jstourac jstourac 234K Aug 23 16:23 libthrift-0.11.0.jar
-rw-rw-r--. 1 jstourac jstourac 1.4K Aug 23 16:23 module.xml
{code}
Compared to the size of the {{jaeger-thrift-0.30.4.jar}} this is a decrease in size from cca 2.8MB to cca 1.7MB (jaeger-thrift + libthrift + okhttp + okio + gson).
was (Author: jstourac):
Note - size of the artifacts after build from the MR branch:
{code}
$ ll -h ./system/layers/base/org/wildfly/microprofile/opentracing-smallrye/main/
total 952K
-rw-rw-r--. 1 jstourac jstourac 125K Aug 23 10:55 jaeger-core-0.30.5.jar
-rw-rw-r--. 1 jstourac jstourac 682K Aug 23 10:55 jaeger-thrift-0.30.5.jar
-rw-rw-r--. 1 jstourac jstourac 2.1K Aug 23 10:55 module.xml
-rw-rw-r--. 1 jstourac jstourac 14K Aug 23 10:55 opentracing-api-0.31.0.jar
-rw-rw-r--. 1 jstourac jstourac 7.5K Aug 23 10:55 opentracing-concurrent-0.1.0.jar
-rw-rw-r--. 1 jstourac jstourac 41K Aug 23 10:55 opentracing-jaxrs2-0.1.6.jar
-rw-rw-r--. 1 jstourac jstourac 11K Aug 23 10:55 opentracing-noop-0.31.0.jar
-rw-rw-r--. 1 jstourac jstourac 7.4K Aug 23 10:55 opentracing-tracerresolver-0.1.5.jar
-rw-rw-r--. 1 jstourac jstourac 7.9K Aug 23 10:55 opentracing-util-0.31.0.jar
-rw-rw-r--. 1 jstourac jstourac 13K Aug 23 10:55 opentracing-web-servlet-filter-0.1.0.jar
-rw-rw-r--. 1 jstourac jstourac 5.4K Aug 23 10:55 smallrye-opentracing-1.1.1.jar
-rw-rw-r--. 1 jstourac jstourac 13K Aug 23 10:55 wildfly-microprofile-opentracing-smallrye-14.0.0.CR1-SNAPSHOT.jar
{code}
> Jaeger-thrift jar dependency is quite chubby
> --------------------------------------------
>
> Key: WFLY-10877
> URL: https://issues.jboss.org/browse/WFLY-10877
> Project: WildFly
> Issue Type: Bug
> Components: MP OpenTracing
> Reporter: Jan Stourac
> Assignee: Juraci Paixão Kröhling
>
> Jaeger-thrift dependency file is quite chubby:
> {code}
> -rw-rw-r--. 1 jstourac jstourac 123K Aug 16 15:13 modules/system/layers/base/org/wildfly/microprofile/opentracing-smallrye/main/jaeger-core-0.30.4.jar
> -rw-rw-r--. 1 jstourac jstourac 2.8M Aug 16 15:13 modules/system/layers/base/org/wildfly/microprofile/opentracing-smallrye/main/jaeger-thrift-0.30.4.jar
> {code}
> Is there any possibility to shrink it's size somehow?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list