Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Show HN: Ayder – HTTP-native durable event log written in C (curl as client) (https://github.com)

55 points by Aydarbek 4 days ago | 29 comments | View on ycombinator

Aydarbek 4 days ago |

The demo intentionally starts with SIGKILL to show crash recovery first.

For benchmarks: I used real network (not loopback) and sync-majority writes in a 3-node Raft cluster. Happy to answer questions about tradeoffs vs Kafka / Redis Streams and what’s still missing.

tontinton 4 days ago |

Very cool, have you taken a look into what TigerBeetle does with VSR (and why they chose it instead of raft)?

dagss 4 days ago |

Nice to see HTTP API for consuming events.

I wish there was a standard protocol for consuming event logs, and that all the client side tooling for processing them didn't care what server was there.

I was part of making this:

https://github.com/vippsas/feedapi-spec

https://github.com/vippsas/feedapi-spec/blob/main/SPEC.md

I hope some day there will be a widespread standard that looks something like this.

An ecosystem building on Kafka clients libraries with various non-Kafka servers would work fine too, but we didn't figure out how to easily do that.

apitman 4 days ago |

Love seeing this written in C with an organic, grass-fed Makefile. Any details on why you decided to go that route instead of using something with more hype?

heipei 4 days ago |

Thank you for sharing, this looks really cool. The simplicity of setting this up and operating it reminds me a lot of nsq which received a lot less publicity than it should have.

BrouteMinou 4 days ago |

That's really interesting, I am even more eager to arrive at home to check that out.

Thank you for sharing this with us.

ghxst 4 days ago |

If you go http native, could you leverage range headers for offsets?

roywiggins 4 days ago |

> No manual intervention. No partition reassignment. No ISR drama.

> Numbers are real, not marketing.

I'm not questioning the actual benchmarks or anything, but this README is substantially AI generated, yeah?

mgaunard 4 days ago |

Are those performance measurements meant be impressive? Seems on par with something threwn around with Python in 5 minutes.