Why Hacker News recommends it
4 comments from 1 distinct recommending reader, between 2017 and 2023.
- Recommends
You may also like this one (from twitter.com/mathiasverraes/status/63226…): There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery
Cache invalidation really is one of the hardest problems in computer scienceRead the thread - Cites it
There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery [0] [0] twitter.com/mathiasverraes/status/63226…
How many CPU cores can you use in parallel?Read the thread - Cites it
There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery Source: twitter.com/mathiasverraes/status/63226…
Famous Laws of Software Development (2017)Read the thread - Cites it
I'm totally in agreement with this. Both processes should also be idempotent (you should be able to pull multiple times without side effects, and push and pull should be able to happen at the same time without side effects). When everything is working well, the 'push' does all the work, and though the 'pull' runs every few minutes/seconds/whatever it never has anything to do. This same thing applies to time-based events: your system should not assume that the process is always running, so if something needs to happen at exactly 9:00am (and it's not okay to just skip it if missed), it should be able to run anytime later with the same outcome as if it ran at 9:00am. When I was first getting into this, it helped me to understand that events must follow one of the semantics: at-most-once, at-least-once and exactly-once -- with the trick that exactly-once is not strictly possible [1]. There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of messages 2. Exactly-once delivery -Mathias Verraes [2] [1] bravenewgeek.com/you-cannot-have-exactl…... [2] twitter.com/mathiasverraes/status/63226…
What do you mean by “Event-Driven”?Read the thread