**Show HN: Ayder – HTTP ネイティブで耐久性のあるイベントログ(C で実装、cURL をクライアントに使用)**
## Japanese Translation:
(Ayderは、JVMやZooKeeperに依存せず単一バイナリで実行できるC言語で書かれた軽量でHTTPネイティブな耐久イベントログ/メッセージバスです。Raftコンセンサスを用いて3/5/7ノードクラスター間の高可用性レプリケーションを実現し、非同期、同期マジョリティ、および同期全体という3種類の書き込みモードに対応しています。フォロワーはHTTP Locationヘッダー経由でリーダーへリダイレクトされます。
実際のネットワーク環境で動作した3ノードクラスターでのベンチマークでは、約50 kメッセージ/秒のスループットとサブミリ秒級のサーバーレイテンシ(P99.999 ≈ 1.22 ms)が確認されました。8 Mオフセットを持つ不正終了からの回復は40〜50秒で完了し、データ損失はありませんでした。Snapdragon X Eliteノートパソコン(WSL2)上でARM64テストを実施した結果、106 kメッセージ/秒のスループットとDigitalOcean VMよりも低いレイテンシが達成されました。
APIは純粋なHTTP/RESTです。curlで直接呼び出せ、ペイロードはバイナリ安全なBase64エンコードされています。エンドポイントには`/topics`、`/produce`、`/consume`、`/commit`、`/delete-before`、KVストア、および組み込みのストリーム処理(フィルタリング、集計、ウィンドウジョイン)があり、Avro+Protobufなど複数フォーマットをサポートしています。
デプロイメントオプションとしては、Prometheus/Grafanaモニタリング付きDocker Composeスタック、単一バイナリビルド、またはソースコンパイル(`libuv 1.51+`、`OpenSSL`、`zlib`、`liburing`が必要)があります。HAクラスターの設定は環境変数(`RF_HA_ENABLED`、`RF_HA_NODE_ID`、`RF_HA_NODES`、`RF_HA_WRITE_CONCERN`など)で行い、RaftトラフィックにはmTLSもサポートしています。
AyderはMITライセンスの下で公開されており、カザフスタン出身のソロ創業者Aydarbek Romanulyによって開発されました。)
## Text to translate
(incorporating missing details and removing unsupported extrapolation):**
Ayder is a lightweight, HTTP‑native durable event log/message bus written in C that runs as a single binary without JVM or ZooKeeper dependencies. It uses Raft consensus for high‑availability replication across 3/5/7 node clusters and supports three write modes—async, sync‑majority, and sync‑all—with followers redirecting to the leader via an HTTP Location header.
Benchmarks on a real‑networked 3‑node cluster show ~50 k messages per second throughput, sub‑millisecond server latency (P99.999 ≈ 1.22 ms), and recovery from an unclean shutdown in 40–50 seconds for 8 M offsets—no data loss. ARM64 tests on a Snapdragon X Elite laptop (WSL2) achieved 106 k msg/s throughput with lower latency than DigitalOcean VMs.
The API is plain HTTP/REST; curl works directly, and payloads are binary‑safe base64 encoded. Endpoints include `/topics`, `/produce`, `/consume`, `/commit`, `/delete-before`, a KV store, and built‑in stream processing (filtering, aggregation, windowed joins) with cross‑format support (Avro+Protobuf).
Deployment options comprise Docker Compose stacks featuring Prometheus/Grafana monitoring, a standalone binary build, or source compilation (requiring `libuv 1.51+`, `OpenSSL`, `zlib`, `liburing`). Configuration for HA clusters is done via environment variables (`RF_HA_ENABLED`, `RF_HA_NODE_ID`, `RF_HA_NODES`, `RF_HA_WRITE_CONCERN`, etc.) and supports mTLS for Raft traffic.
Ayder is licensed under MIT and was authored by Aydarbek Romanuly, a solo founder from Kazakhstan.