Live data from Hacker News

Understanding Kafka with Factorio

hackernoon.com

21–30 of 85 posts

Re: Understanding Kafka with Factorio

#22
post #17

The analogy helped me understand, but in factorio belts are required primarily because everything takes physical space. What are real world use cases for kafka? Is it primarily if your data is too much to simply store in a db?

Push architectures put all of the control on the producer, but become quite painful in the face of an unreliable consumer. Pull architectures put all of the control on the consumer, but become quite painful in the face of an unreliable producer. Message queues allow the producer to think it's participating in a push architecture, while the consumer believes it's a pull-based arch. Because the message queue itself doe…

This. With the slight nuance that it works better if you don't think of it as queues, since that suggests messages being removed when processed.

The big win when introducing Kafka is that (apart from the schema) it completely decouples producers and consumers of messages. That in turn reduces the required coordination between independent teams within an organisation.

Re: Understanding Kafka with Factorio

#24

When I saw this title, I first thought it was about understanding the cockroach-like aliens in Factorio, but it is actually about queuing and congestion and parallel processing with conveyor belts and factories! With the caveat that Factorio is EXTREMELY addictive, properly described as "programmer crack", here are some other Factorio related discussions: Factorio – a game where you can automate basically anything (f…

Pretty off topic, but I'd appreciate it if you didn't use "____ crack" as a way to describe something that is addictive.

Why? Isn't crack famously (or infamously) addictive?

Re: Understanding Kafka with Factorio

#25

A better way to understand Kafka is to fill a room with rakes, turn of the lights, and walk around.

This sounds like an idea founded on experience, but without including any details about how you arrived at this sentiment the comment doesn't bring any value to the thread.

Re: Understanding Kafka with Factorio

#26

When I saw this title, I first thought it was about understanding the cockroach-like aliens in Factorio, but it is actually about queuing and congestion and parallel processing with conveyor belts and factories! With the caveat that Factorio is EXTREMELY addictive, properly described as "programmer crack", here are some other Factorio related discussions: Factorio – a game where you can automate basically anything (f…

Pretty off topic, but I'd appreciate it if you didn't use "____ crack" as a way to describe something that is addictive.

I coined the nickname "Deep Crack" for the EFF's DES cracker. I hope that's not objectionable. The first key's free!

    Coming into Los Angeles
    Bringing in a couple of keys
    But don't touch my bags if you please
    Mister Customs Man
https://en.wikipedia.org/wiki/EFF_DES_cracker

https://www.donhopkins.com/home/archive/humor/deep-crack.txt

Re: Understanding Kafka with Factorio

#27
post #3

For those who don't know factorio is truly a masterpiece of a game. It's described as "programming the game". Strongly recommended to everyone here.

So I must be the only person on HN who doesn't like it too much. I love the concept and the factory building - but I found the necessity to move a player character manually with direct controls to be incredibly detracting from the process of building factories. I have no idea why they couldn't just include a mode where you have your typical RTS-like mode where you just go and click on things that you want to do witho…

By mid-game your actions should be pretty divorced from the Player Character. Once you have a bot network you can place down items anywhere you can see on the map (i.e. have Radar coverage), allowing you to build anywhere you want without having to be nearby. You can even use the bot network to expand the bot network & radar coverage.

Re: Understanding Kafka with Factorio

#29

When I saw this title, I first thought it was about understanding the cockroach-like aliens in Factorio, but it is actually about queuing and congestion and parallel processing with conveyor belts and factories! With the caveat that Factorio is EXTREMELY addictive, properly described as "programmer crack", here are some other Factorio related discussions: Factorio – a game where you can automate basically anything (f…

Oh my, can someone ping Gwern to add Factorio to this list. https://www.gwern.net/Turing-complete

Re: Understanding Kafka with Factorio

#30

Earlier quoted context omitted.

So I must be the only person on HN who doesn't like it too much. I love the concept and the factory building - but I found the necessity to move a player character manually with direct controls to be incredibly detracting from the process of building factories. I have no idea why they couldn't just include a mode where you have your typical RTS-like mode where you just go and click on things that you want to do witho…

By mid-game your actions should be pretty divorced from the Player Character. Once you have a bot network you can place down items anywhere you can see on the map (i.e. have Radar coverage), allowing you to build anywhere you want without having to be nearby. You can even use the bot network to expand the bot network & radar coverage.

Additionally, maintaining the stock of material for your bot adds yet another fascinating layer of complexity to the game.
Post reply on HN