funcool

niwinz 2019-09-30T11:55:30.063900Z

@ikitommi btw, nice talk con clojuretre

🙇‍♂️ 1
ikitommi 2019-09-30T05:55:24.061900Z

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.

👏 1
❤️ 1
ikitommi 2019-10-07T06:32:59.069400Z

@niwinz TFB results are out. With this, Clojure is now faster than any of the Java entries. Most likely because: almost zero-penalty for using Clojure, fast(er?) routing, Java8 (better throughput than 11 that others use), good JVM opts. Only c++, c and rust entries are faster, and less than 2%.

ikitommi 2019-10-07T06:34:11.069700Z

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…

👍 1
niwinz 2019-10-15T07:26:35.000200Z

so nice results!

niwinz 2019-10-15T08:35:36.000400Z

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 2019-09-30T06:51:52.062Z