[
https://issues.apache.org/jira/browse/HTRACE-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502279#comment-14502279
]
Colin Patrick McCabe commented on HTRACE-150:
---------------------------------------------
Currently, the C client has only two direct dependencies: libpthread, and
libcurl. But libcurl pulls in a huge number of dependencies:
{code}
cmccabe@keter:~/src/htrace2> ldd ./htrace-c/target/install/lib/libhtrace.so
linux-vdso.so.1 (0x00007ffc92db6000)
libcurl.so.4 => /usr/lib64/libcurl.so.4 (0x00007f61cc526000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f61cc307000)
libc.so.6 => /lib64/libc.so.6 (0x00007f61cbf59000)
/lib64/ld-linux-x86-64.so.2 (0x00007f61cc9c7000)
libidn.so.11 => /usr/lib64/libidn.so.11 (0x00007f61cbd25000)
libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00007f61cbafa000)
libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00007f61cb892000)
libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00007f61cb4a6000)
libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2
(0x00007f61cb25f000)
liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00007f61cb050000)
libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00007f61cae04000)
libz.so.1 => /lib64/libz.so.1 (0x00007f61cabed000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f61ca9e9000)
libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x00007f61ca719000)
libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x00007f61ca4e6000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007f61ca2e2000)
libkrb5support.so.0 => /usr/lib64/libkrb5support.so.0
(0x00007f61ca0d4000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f61c9ebd000)
libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00007f61c9ca0000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007f61c9a9b000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f61c9877000)
libpcre.so.1 => /usr/lib64/libpcre.so.1 (0x00007f61c9610000)
{code}
libidn, libssh2, libssl, libcrypto, libgssapi_krb5, liblber-2.4, libldap, libz,
libdl, libkrb5, libk5crypto, libcom_err, libkrb5support, libresolv, libsasl2,
libkeyutils, and libpcre are pulled in by libcurl.
We could get rid of those dependencies, and improve efficiency, by just having
a TCP endpoint on the server.
> htraced: add HRPC endpoint for writeSpans
> -----------------------------------------
>
> Key: HTRACE-150
> URL: https://issues.apache.org/jira/browse/HTRACE-150
> Project: HTrace
> Issue Type: New Feature
> Affects Versions: 3.2.0
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
>
> We should add a non-HTTP way of adding spans to htraced, for greater
> efficiency. This would also help minimize dependencies in the C client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)