Skip to content

v0.1.5: Minimize Dependency Overhead

Compare
Choose a tag to compare
@OpenSrcerer OpenSrcerer released this 06 Oct 09:13
· 5 commits to master since this release

Changelog

The previous release had a big issue: The uncompressed docker image size was 951MB which is huge for an app of this calibre. In order to save space two strategies were implemented:

  1. A dependency only for AWS Kinesis was used instead of the whole client.
    This had quite large savings (nearly 500MB!), as seen on the image below.
  2. Only selected JRE modules were used in the final docker image, using jdeps && jlink.
    Thanks to this gist for the example.

image