Skip to content

Zipkin 2.18

Compare
Choose a tag to compare
@codefromthecrypt codefromthecrypt released this 23 Oct 01:36
· 695 commits to master since this release

Zipkin 2.18 refactors and migrates our docker images into the main repository and introduces the "zipkin-slim" distribution.

openzipkin/docker-zipkin attic'd

The openzipkin/docker-zipkin repository is no longer used after @anuraaga completed migration to publication in this repository. This simplifies step count for maintainers, employing DockerHub hooks as a part of an automated deployment flow. This also allows us to have better CI of our images

zipkin-slim

The slim build of Zipkin is smaller and starts faster. It supports in-memory and Elasticsearch storage, but doesn't support messaging transports like Kafka or RabbitMQ. If these constraints match your needs, you can try slim like below:

Running via Java:

curl -sSL https://zipkin.io/quickstart.sh | bash -s io.zipkin:zipkin-server:LATEST:slim zipkin.jar
java -jar zipkin.jar

Running via Docker:

docker run -d -p 9411:9411 openzipkin/zipkin-slim

This build is with thanks to a lot of help and review under the covers by @anuraaga and @jorgheymans. For example, Jorg helped reduce the size by changing from log4j2 to slf4j (log4j2's dependency size is quite large). Rag performed a lot of code work and review to apply shortcuts mentioned in @dsyer's spring boot startup bench project: https://github.com/dsyer/spring-boot-startup-bench. We had review help and troubleshooting also from @jeqo and @devinsba. It was truly a team effort. We also had a lot of work on the docker side by @anuraaga, who helped cut our image layer tremendously (~100M).

Here is are stats on the version before we started bootstrap work (v 2.16.2). This is the "JVM running for" time best in 10 on the same host. Your mileage may vary.

Type           | Invocation | Startup | Size
-------------------------------------------
zipkin         | Java       | 3.4s    | 55.4M
zipkin         | Docker     | 5.9s    | 253M

Here are the results using the latest version of Zipkin, also connecting to Elasticsearch storage.

Type           | Invocation | Startup | Size
-------------------------------------------
zipkin         | Java       | 2.6s    | 52.3M
zipkin         | Docker     | 4.1s    | 154M
zipkin-slim    | Java       | 2.0s    | 21.6M
zipkin-slim    | Docker     | 3.1s    | 122MB

We hope you enjoy the snappier times. If you'd like to talk more about this, please jump on Gitter.