Fork me on GitHub
#announcements
<
2020-08-24
>
oliy11:08:58

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

🎉 42
👍 18
3
Vladislav13:08:01

wonderful project. thanks for what you've done

oliy13:08:50

Hi @UNJE65T24 thank you for the kind words!

alekcz12:08:32

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

🎉 78
dominicm13:08:28

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

alekcz14:08:43

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

alekcz14:08:46

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

dominicm14:08:51

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

dominicm22:08:03

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

alekcz05:08:09

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

dominicm07:08:08

I used wrk.

miro14:08:22

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

🎉 30
👏 15
wotbrew16:08:28

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)

9
👍 45
eggsyntax16:08:51

Wow, very cool idea! 👏

martinklepsch18:08:54

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

wotbrew18:08:57

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.

martinklepsch18:08:19

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

👍 3
eggsyntax18:08:19

Ah, I was wondering that too.

martinklepsch18:08:07

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

3
wotbrew18:08:47

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

martinklepsch18:08:08

interesting, sounds like black magic to me 😂

wotbrew18:08:39

The wrappers implement the interfaces clojure/cljs provide

wotbrew18:08:59

Hopefully that makes sense 🙂

zane18:08:42

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

carocad19:08:57

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

👏 21