Fork me on GitHub
#funcool
<
2016-04-06
>
kardan14:04:32

I was playing with httpurr & for some reason I get error when I call some http endpoints. https://gist.github.com/kardan/7b5bfe167fb6b41f522e8aa47fe25767 Anyone know what’s causing that?

kardan14:04:41

Getting errors from clj-http to. Guess it’s something with the letsencrypt certs (or something, I don’t know much about this). Anyway does not seem to be httpurr related.

niwinz15:04:09

which jvm version you are using?

niwinz16:04:30

@kardan: with jdk8 in linux it works pretty well

kardan16:04:47

OS X java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

niwinz16:04:10

hmm OSX is specially problematic with ssl related stuff

niwinz16:04:22

jvm by default gets the truststore from the system

niwinz16:04:38

my distribution has installed the latest mozilla-certificates-ca

kardan16:04:04

Then maybe I can add the let’s encrypt “stuff” to my key chain?

kardan16:04:58

Anyway I’ll read up on it. I realise this is not funcool related

kardan16:04:40

& this was just for me playing around. In production we’re on linux

kardan16:04:56

Was playing with the idea to create a “middleware / utility” lib to connect Stormpath or Keycloak to Catacumba.

kardan16:04:29

& since you guys have such a bunch of cool projects I thought I would get myself exposed to them

niwinz16:04:23

sure, you should be able add the letencrypt CA to your system

niwinz16:04:56

btw, if want to know some curiosity, the other day I found myself doing resource usage tesing of some project that uses catacumba

niwinz16:04:12

and the results are very very unexpected (in a great way)

niwinz16:04:32

I have been able run the backend code with catacumba in only 70 mb of heap and properly responding with 400req/s (with 100 concurrent connections)

kardan16:04:17

Ah that’s cool. Have to admit that I lack a reference to know really what that “weigh in at"

niwinz16:04:10

For a simple reference a normal java application usually uses approx 512mb..

niwinz16:04:20

some applications just does not start without 512 mb xD

kardan16:04:03

Got a little sense of the heavyness of Clojure / Jvm web projects. Was doing Erlang earlier and now learning Clojure / Jvm stuff

kardan16:04:39

The concurrent “features” is appealing with Catacuma

kardan16:04:15

Something that always is a bit not so tasty with standard ring

niwinz16:04:49

this is one of the reasons why I built catacumba