Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
we notice that the session and jdbc lirary is large (more than 7MB), as it packs too many unused classes into the jar.
It is time to reduce the size.
1. Thrift module
generated thrift sources are very large. And the client (jdbc and the session) only use the rpc.thrift.
So, we can seperate the original thrift module into 3 parts: rpc, sync, and the cluster.
The client module depends on the rpc only;
The server module depends on the rpc and the sync;
The cluster module depends on the 3 parts;
2. TsFile module
As the client module just needs some classes like TSDataype, so we do not need to depend on the transitive dependency of the tsfile module.
So, I exclude all transitive dependency of the tsfile module.
Attachments
Issue Links
- links to