Skip to content

Comment on Show HN: Go HTTP Request Router Benchmark

Comments

So the one you recommend is the one you wrote yourself?

I'd recommend Goji to most users. The one I wrote has better performance, but also less features.

Goji does very well given it includes a request context implementation as well. I've been porting over an existing net/http + gorilla/mux app and like its design.

I use the standard one for quick/low performance, things, but Julien's HttpRouter for high performance needs. I've never needed any of the advanced features that the other routers provide- but do care very much about performance.

Slightly off topic: Would httprouter + negroni be a reasonable replacement for Goji?

I don't mind someone recommending their own work when the rationale is backed by hard data.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.