rcrowley / go-tigertonic

A Go framework for building JSON web services inspired by Dropwizard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lock-free per-request context

rcrowley opened this issue · comments

WithContext and Context are unnecessarily globally synchronized. I think the solution is essentially an http.Handler that allocates an instance of another http.Handler (this is the type of the per-request context) and calls its ServeHTTP method.

Is this a performance issue when tigertonic is underload?