I never understood the popularity of Kafka. It's just a queue with persistent storage(ie. not in-memory queu with ram-size limited capacity) after all.
Show HN: Walrus – a Kafka alternative written in Rust
51–57 of 57 posts
Re: Show HN: Walrus – a Kafka alternative written in Rust
#52Earlier quoted context omitted.
By having a use-after-free bug that caused a noticeable and catastrophic incident.
Like that Cloudflare outage from the other day? In any case, I'm sure there's good reason to believe that, as Rust gains popularity, there totally won't be proportionally more high profile issues in stuff made with it.
Re: Show HN: Walrus – a Kafka alternative written in Rust
#53Earlier quoted context omitted.
Like that Cloudflare outage from the other day? In any case, I'm sure there's good reason to believe that, as Rust gains popularity, there totally won't be proportionally more high profile issues in stuff made with it.
You could write a lot of bugs in Rust. Or in any memory-safe language. Just not some bugs. It's just that starting a non-toy project using a non-safe language today is really in the "you could, but didn't stop think if you should" category.
There's also Fil-C BTW, and in normal C++ there are GCC or Clang (I forget which) extensions for detecting threading issues, even good old Valgrind is under-appreciated and under-used. In general one wants to adopt best practices and be proactive, rather than relying on the language to solve all problems (of course).
Re: Show HN: Walrus – a Kafka alternative written in Rust
#54- Let's create a new Kafka in rust. Yeah!
- Let's create a Kafka client that's ready to use. Blah.
Re: Show HN: Walrus – a Kafka alternative written in Rust
#55Earlier quoted context omitted.
TBH I don't think anyone can utilise S3 for the active segment, I didn't dig into Warpstream too much, but I vaguely recall they only offloaded to S3 once the segment was rolled.
The Developer Voices interview where Kris Jenkins talks to Ryan Worl is one of the best, and goes into a surprising amount of detail: https://www.youtube.com/watch?v=xgzmxe6cj6A tl;dr they write to s3 once every 250ms to save costs. IIRC, they contend that when you keep things organized by writing to different files for each topic, it's the Linux disk cache being clever that turns the tangle of disk block arrangement…