btw, did an better data structure for the Java->Clojure request copying, pohjavirta used derived-map from Potemin, like Aleph, which is cheap to create but really slow to read. With the new PartialCopyRequest, the time spent in Clojure side dropped from 600ns to 160ns. Now pohjavirta+jsonista+promesa json endpoint slings 140k request/sec on my macbook.
also, will add a protocol to access the request, will make reading single headers an order of magnitude faster. This could also be used with the vert.x mapping…
so nice results!
im on my vacations, but when i come back, i go to look into the details and probably use the same approach for vertx binding
@ikitommi btw, nice talk con clojuretre