5 ms·
I see Zipkin is a Java app, without sounding like I’m hating on a language for no reason here - but I wonder if it’s awfully heavy and slow to launch like so mo
by mrmondo 9y ago
I see Zipkin is a Java app, without sounding like I’m hating on a language for no reason here - but I wonder if it’s awfully heavy and slow to launch like so most other java apps? By comparison I’d expect a tracer written in Go would be significantly more efficient.
- idunno246 9y agoit's irrelevant. if you take a look at the diagrams in the blog post that include zipkin, it's is basically only the query/frontend portion - the tracing itself is done natively in the language the code is written in, and outputted to cassandra. The zipkin part is a long running server that just needs to query cassandra.
- vbsteven 9y agoDoes slow startup time matter for services that are supposed to be running continuously in a cluster environment? I have no doubt that a Go tracer would start orders of magnitudes faster than a Java one (especially if it pulls in spring or other web-related dependencies for the zipkin UI) but I think it is irrelevant.
- Turbots 9y agoJava/Maven/Gradle built applications don't pull in dependencies at startup time, they pull them in at build time. While the JVM takes relatively long to boot up, I have various Spring Boot applications in production that startup in as much as 4 seconds, usually below 20 seconds Java isn't as slow as people think anymore, especially since Java 7. Also, Java remains a language running Java bytecode in a Virtual Machine, not a language running machine code... This obviously makes it very powerful and portable, yet a bit slower than C, C++ or Go.