Live data from Hacker News

Show HN: Walrus – a Kafka alternative written in Rust

github.com

51–57 of 57 posts

Re: Show HN: Walrus – a Kafka alternative written in Rust

#51
post #22

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.

a huge amount of distributed programs work exceedingly well with the processing on a log structure. and kafka did it better than other at the times.

Re: Show HN: Walrus – a Kafka alternative written in Rust

#52
post #49

Earlier 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.

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.

Re: Show HN: Walrus – a Kafka alternative written in Rust

#53
post #52

Earlier 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.

Fair enough, and I do appreciate Rust's contributions to the spectrum of programming language considerations. Personally I'd like to become a Zig guy, though.

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

#55
post #28

Earlier 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…

Thanks, I have been highly remiss in catching up on that podcast :)
Post reply on HN