linux - 为什么kafka不用go语言写?
黄舟
黄舟 2017-04-17 14:37:52
0
3
943

为什么kafka不用go语言写?

不是为了引发语言之间的口水,是因为自己想知道在开发kafka这类系统的时候,scala相对go的优势是什么? 疑惑很久了。跪求大神!

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(3)
Ty80

Most of the linkedin and Apache projects are Java/JVM-based, and it is estimated that Go has not been released when Kafka started to be developed (GO’s history is very short, the first version was in 2009, and it is less than 6 years old now; Kafka It is a project that Linkedin first developed internally and then donated to Apache).

Many project language choices have a lot to do with the company's technology stack. For example, Alibaba used Java to develop its own RocketMQ with reference to Kafka (Alibaba is a typical Java technology stack), and rewrote Apache Storm (called JStorm) in Java. If Kafka is rewritten in Golang, the performance is likely to be much better, but Kafka is a distributed system, and the throughput can be expanded horizontally, so there is no need.

Ty80

Produced by LinkedIn and has a certain relationship with the company’s technology stack

小葫芦

The messaging system of Go language has nsq (not related to the question...)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!