TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Kafka in a Nutshell

78 pointsby soofaloofaover 9 years ago

4 comments

vectorpushover 9 years ago
Are there any alternatives to kafka that are also modeled after the &quot;message queue as a log&quot; concept? In particular, I&#x27;d like to be able to reconsume arbitrary ranges of &#x27;already processed&#x27; log&#x2F;event&#x2F;message data as well as trust the log as the ultimate deterministic source of truth for the state of the system.<p>The reason I don&#x27;t just use kafka is because the &quot;quorum&quot; style scaling is overkill for our needs since the app will be for internal use only and will likely never exceed more than 1000 simultaneous users. Also, I&#x27;ve heard that zookeeper (required to use kafka) has its own technical overhead that I&#x27;d like to avoid dealing with if possible.
评论 #10283070 未加载
评论 #10281605 未加载
评论 #10281349 未加载
评论 #10282914 未加载
评论 #10282417 未加载
uptownover 9 years ago
Conceptually, how do these types of pub&#x2F;sub messaging systems work at scale? How does the number of subscribers impact the efficiency of updates being distributed to the subscribers? Is the server pushing these messages to them all simultaneously, or is there some logic that might result in one subscriber receiving an update faster than another? Is the publishing server opening up a ton of ports to handle the communication, or from a networking&#x2F;ports perspective how is this handled?
评论 #10280515 未加载
评论 #10280479 未加载
评论 #10279068 未加载
wcdolphinover 9 years ago
Great post, but one thing to note is that the number of partitions DOES NOT need to be equivalent to the number of consumers. A consumer can reasonably consume multiple partitions, as most do. On the other hand, it does provide an upper bound to the number of consumers in one group, as a consumer can only reasonably consume as few as one of the partitions.
评论 #10281689 未加载
hakannover 9 years ago
Is AWS SNS&#x2F;SQS equivalent to Kafka? And what are the differences, advantages&#x2F;disadvantages of either one?
评论 #10280790 未加载
评论 #10281329 未加载