announcements

Project/library announcements ONLY - use threaded replies for discussions. Do not cross post here from other channels. Consider #events or #news-and-articles for other announcements.
2020-08-24T11:41:58.029600Z

Hi everyone, I am pleased to announce the release of martian 0.1.13 Martian provides an abstraction allowing you to describe the HTTP endpoints that you call without methods, urls and query parameters leaking into your application code, allowing you to work with pure Clojure data. It builds on the flexible interceptor pattern familiar to users of pedestal and supports APIs described with OpenAPI/Swagger. Describing HTTP calls as data allows you to easily stub remote services, generate responses and add aspects such as logging and metrics. https://github.com/oliyh/martian Once again I am really pleased and proud to be supported by my contributors, thank you everyone. This release adds support for: • OpenAPI v3 - huge thanks to @czan #90 #51 • Parameter references - thanks to @kpmg-jp-jnorton #87 Enjoy! Cheers, Oliy

👍 6
⭐ 1
🎉 14
Vladislav 2020-08-27T13:15:01.076900Z

wonderful project. thanks for what you've done

2020-08-29T13:49:50.103500Z

Hi @shishkov61 thank you for the kind words!

alekcz 2020-08-24T12:49:32.030700Z

Friends, a new stable version of https://github.com/http-kit/http-kit is out 2.4.0 🎉 Graceful server shutdown. Server state queries. SNI-capable client. And for compilation to a native-image with GraalVM try 2.5.0-alpha2🙌 Check out the full list changes here: https://github.com/http-kit/http-kit/releases Thanks, as always, to @ptaoussanis

🎉 26
dominicm 2020-08-29T22:32:03.110Z

I did some measuring. Http kit can run in 10 m of heap, and easily handles 22k req/s in an i7-3520M. This is two orders of magnitude above jetty which achieved 700req/s

alekcz 2020-08-30T05:29:09.111100Z

@dominicm Thanks! that's awesome. What did you use to generate requests?

dominicm 2020-08-30T07:11:08.111900Z

I used wrk.

dominicm 2020-08-24T13:04:28.031300Z

A little off-topic, but I'm curious to know if any heap memory measurements have been done of httpkit?

alekcz 2020-08-24T14:02:43.033300Z

I don't think so. I've never done any, and have never read of any either.

miro 2020-08-24T14:15:22.035Z

Hi everybody! https://github.com/mikub/titanoboa 0.9.0 is out! 🎉💥The GUI is now free also for commercial purposes💥 🎉 Yay! I am also contributing Rabbit MQ support (for workflow job transactions / job channel) to the OSS community version. https://github.com/mikub/titanoboa/releases

👏 5
🎉 10
alekcz 2020-08-24T14:15:46.035200Z

From what I've read in the docs and code comments, the sense I get is that it's really light on resources.

dominicm 2020-08-24T14:38:51.035500Z

In theory it should be, yeah. Maybe I'll measure. I've been curious about low memory clojure applications :)

wotbrew 2020-08-24T16:50:28.038500Z

Hi all, I am pleased to announce the first release of idx https://github.com/wotbrew/idx 🎉 0.1.0, which provides clojure(script) data structures with secondary index support. It lets you treat your existing collections like little databases. Feel free to ping me any questions. Cheers! Dan (wotbrew)

👍 15
3
eggsyntax 2020-08-24T16:54:51.038800Z

Wow, very cool idea! 👏

martinklepsch 2020-08-24T18:33:04.039800Z

reminds me of https://github.com/riverford/compound & https://github.com/keechma/entitydb

martinklepsch 2020-08-24T18:33:54.040200Z

How do you maintain the indexes alongside the actual data? Are they metadata?

wotbrew 2020-08-24T18:36:57.040500Z

https://github.com/riverford/compound was developed by a colleague, we have both been thinking about this problem a long time. idx wraps your collection, the indexes are just fields.

martinklepsch 2020-08-24T18:38:19.040700Z

Ah, that’s awesome! I’m a sucker for a little bit of backstory like this in readmes hahah

👍 1
eggsyntax 2020-08-24T18:38:19.040900Z

Ah, I was wondering that too.

martinklepsch 2020-08-24T18:39:07.041100Z

indexed-vector
;; => 
[{:name "fred"} {:name "ethel"}]
this snippet from the readme communicates to me that it’s still just the raw input data?

➕ 1
wotbrew 2020-08-24T18:39:47.041300Z

It will look, taste and smell like the original vector...

martinklepsch 2020-08-24T18:41:08.041600Z

interesting, sounds like black magic to me 😂

wotbrew 2020-08-24T18:41:39.041800Z

The wrappers implement the interfaces clojure/cljs provide

wotbrew 2020-08-24T18:41:59.042Z

Hopefully that makes sense 🙂

zane 2020-08-24T18:42:42.042200Z

Looks neat! I’m really glad there’s more exploration happening in this space. 🙂

2020-08-24T19:28:57.044800Z

Hey everyone, parcera just reached v0.11.2 containing a fix for some edge cases where comments and discard is treated just like whitespaces. Special thanks to @sogaiu for the detailed report and testing https://github.com/carocad/parcera

👏 7