These graphs stolen from SmallNest's go framework benchmark.
As usual, static request means nothing, dynamic request that uses database are the real bottleneck :3
Btw Iris has book for those who are interested. For those who doesn't need full framework, you can use the fasthttprouter.
EDIT: before you use Iris because of performance, see links on the comments below: this by julienschmidt (one that create httprouter) and this by dlsniper (one that initialize go-lang-idea-plugin project).
What's the alternative? you can use valyala's FastHttp (only router), Arteugo, or Fiber (full framework, really similar to ExpressJS)
Nice article, you will see more and more features coming also!
ReplyDeleteCheers :)
¬ "kataras
Great post, but(in the light of latest news about iris) this benchmarks are fake.
ReplyDeleteSee this discussion https://github.com/julienschmidt/go-http-routing-benchmark/pull/57#issuecomment-201467313
Also some people think that iris "is a toxic framework", this post raises many questions about the iris author http://www.florinpatan.ro/2016/10/why-you-should-not-use-iris-for-your-go.html
@op3ns0urc3rant hi, thanks for the spot'on, i'll update the blog :3
Delete