Home  >  Q&A  >  body text

linux - 为什么kafka不用go语言写?

为什么kafka不用go语言写?

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

黄舟黄舟2743 days ago942

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 14:39:52

    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.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 14:39:52

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

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 14:39:52

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

    reply
    0
  • Cancelreply