Better HN
topnewbestaskshowjobs
Log inSign up

gkoos

10 karma · joined Aug 2, 2025 (1y ago) · 65 submissions

Submissions

comment 7mo ago · link · parent

This post runs three controlled chaos scenarios against the same endpoint to compare retry-only, Retry-After-aware retries, and hedging. One recurring result is that reliability gains can come with significantly worse p95/p99, while 429-aware retry behavior outperforms blind retries under rate limiting.

2.

Show HN: Fetch Reliability Arena – Compare HTTP clients under chaos(fetch-kit.github.io ↗)

4 points · by gkoos · 7mo ago · 1 comment

comment 8mo ago · link · parent

Why debouncing input reduces call volume but does not prevent stale-response race conditions.

comment 8mo ago · link · parent

I implemented atomic hot config reload in both Node and Go with the same external contract, then reran benchmarks on the same machine and methodology. In this setup, Go remains about 1.92x higher throughput, while both versions show steady-state overhead from reload-safe runtime design.

5.

Show HN: Ffetch v5 – TypeScript-first fetch client(npmjs.com ↗)

1 points · by gkoos · 8mo ago · discuss

6.

Show HN: A novel pattern for handling in-flight requests in distributed caches(infoq.com ↗)

1 points · by gkoos · 9mo ago · discuss

comment 10mo ago · link · parent

Summary: Explains backpressure as producer–consumer rate control in JS, covering Node.js streams (write()/drain, pipe()), Web Streams, and pitfalls with async/await and Promise.all().

8.

Modern JavaScript Concurrency – 2025 Edition(blog.gaborkoos.com ↗)

1 points · by gkoos · 1y ago · discuss

9.

Show HN: Chaos-fetch – TS library for simulating network chaos in fetch requests(github.com ↗)

3 points · by gkoos · 1y ago · discuss

10.

Chaos Proxy – Simulate API failures, latency, and rate limits for testing

3 points · by gkoos · 1y ago · discuss

11.

Show HN: Browser extensions for my privacy-first temporary email service

1 points · by gkoos · 1y ago · discuss

comment 1y ago · link · parent

I got tired of reimplementing timeout/retry logic, so I built a thin fetch() wrapper.

const client = createClient({ timeout: 5000, retries: 3, circuit: { threshold: 5, reset: 30000 } }) const response = await client('/api/data') // exactly like fetch()

Drop-in replacement, zero deps, ~2KB. Has lifecycle hooks for auth/logging, exponential backoff with jitter, respects Retry-After headers, and proper AbortSignal composition. Preserves all native fetch behavior.

https://github.com/gkoos/ffetch

Thoughts?

13.

Ffetch 2.0 – fetch() wrapper with timeouts, retries, circuit breaker(npmjs.com ↗)

1 points · by gkoos · 1y ago · 1 comment

comment 1y ago · link · parent

Hey, I write a tech blog and I need to create lots of diagrams for it. I like using Mermaid, but I quickly ran into the same frustrating pattern with most of the existing editors and renderers: the free options were either too limited or came with barriers that slowed me down. I wanted something simple: just open the page, paste/type in Mermaid code, preview the diagram, and export it without worrying about limits or accounts. Here are some concrete problems I ran into with other tools: - Mermaid Live Editor (the official one): Great for quick editing, but exporting diagrams is capped by a rate limit on their free tier. After a handful of exports, I’d get the dreaded “free tier limit exceeded” message. Kroki.io: Supports rendering, but running it online requires trusting a shared service with my diagrams. Hosting it myself means extra setup, Docker, and server resources — not ideal if I just want to save a few diagrams. - Excalidraw & Lucidchart: Both have nice UIs, but they’re general diagramming tools, not native Mermaid editors. Lucidchart especially locks useful features (like unlimited diagrams or high-quality export) behind a paid plan. - Other browser-based tools Almost all I tried had some kind of paywall, signup requirement, or watermark on exports. For something as text-based and simple as Mermaid, that felt unnecessary. So I built my own tool with a few core principles: - No limits: you can create, edit, and export as many diagrams as you want. - No signup: the tool works straight from the browser, nothing to install. - No tracking: privacy-friendly, just you and your diagrams. - Open source: https://github.com/gkoos/mermaid-editor Now this is a very simple v0.0.1 and needs a lot of refinement, but hopefully it can be useful to some even in its current state.

15.

Mermaid Diagram Editor/Renderer(mermaid-editor.online ↗)

4 points · by gkoos · 1y ago · 1 comment

123