funcool

A channel for discussing and asking questions about Funcool libraries https://github.com/funcool/
jetmind 2016-04-07T07:43:49.000213Z

@niwinz: could you please elaborate what is the reason catacumba has such small heap footptint? Is it because ratpack doing something differently than others or catacumba or both? Just curious, didn't look at it very carefully yet

niwinz 2016-04-07T09:19:33.000214Z

ratpack is a very lightweigh layer on top of netty

niwinz 2016-04-07T09:19:49.000215Z

and netty is designed to be very small in fooprint

niwinz 2016-04-07T09:19:58.000216Z

and high performant

niwinz 2016-04-07T09:20:47.000217Z

and catacumba is also very lightweight and has some optimizations

niwinz 2016-04-07T09:21:26.000218Z

I know about that but I was suprised that it works pretty well with very low memory resources

niwinz 2016-04-07T09:21:56.000219Z

Many java applications can't use the aws micro instance bacause of memory, but for catacumba this is not a problem

kardan 2016-04-07T09:38:38.000220Z

Is httpurr.auth in 0.5.0 ?

kardan 2016-04-07T09:38:56.000221Z

I seem not to be able to require it

kardan 2016-04-07T09:39:17.000222Z

Docs say “latest” so not sure if that implies 0.5.0

niwinz 2016-04-07T09:41:28.000223Z

is only on cljs

niwinz 2016-04-07T09:41:40.000224Z

but I'm not clearly inderstand why

niwinz 2016-04-07T09:42:22.000225Z

in any case it will be deleted surelly because it is pretty inconsistent ...

kardan 2016-04-07T09:43:02.000226Z

ah, ok.

niwinz 2016-04-07T09:43:11.000227Z

Something awesome to have is helpers for encode query parameters

kardan 2016-04-07T09:43:19.000228Z

I was just adding headers manually but noticed auth

niwinz 2016-04-07T09:43:43.000229Z

forget about auth, it is brokern and legacy code that will be deleted in next versions

kardan 2016-04-07T09:44:00.000230Z

ok

niwinz 2016-04-07T09:44:11.000231Z

I recomend use 0.6.0-SNAPSHOT

niwinz 2016-04-07T09:44:32.000232Z

because it includes a lot of fixes and consistency improvements in the available impls

kardan 2016-04-07T09:45:12.000233Z

Is that master?

kardan 2016-04-07T09:45:34.000234Z

or close to what’s in master

niwinz 2016-04-07T09:45:44.000235Z

yes is master

kardan 2016-04-07T09:45:47.000236Z

cool

kardan 2016-04-07T09:45:53.000237Z

thanks for the quick replies

niwinz 2016-04-07T09:45:58.000238Z

😉

niwinz 2016-04-07T09:46:30.000239Z

I hope we will release a new version soon...

jetmind 2016-04-07T13:42:44.000240Z

niwiz: thanks! I read docs on catacumba and approach looks very interesting. I'll definitely try it on some pet project.

jetmind 2016-04-07T13:43:41.000241Z

One thing I love about Aleph is that it has instrumented thread pools and queues from the box. Any plans on something like this for catacumba? I see "Instrumentation: TODO" in the docs :simple_smile:

niwinz 2016-04-07T20:17:42.000243Z

@jetmind: it is not documented but is already in the code

niwinz 2016-04-07T20:17:48.000244Z

see examples section 😉

jetmind 2016-04-07T21:28:25.000245Z

great!