immutant

http://immutant.org Note: dev discussion happens in #immutant on FreeNode IRC.
2016-04-21T03:31:25.000029Z

I'm having some trouble getting immutant/messaging working. I've narrowed the problem down to a conflict between immutant and datomic. If a make a new project and add [com.datomic/datomic-pro "0.9.5350"] [org.immutant/messaging "2.1.4"] to the dependencies, then run (require '[immutant.messaging :refer :all]) and (def s (queue "test-queue")), I get an exception CompilerException java.lang.IncompatibleClassChangeError: Implementing class, compiling:(form-init1071921610737901131.clj:1:8). I've tried lein clean and clearing my maven cache, both to no avail. I also tried going to an older version for datomic and immutant, but got the same error.

2016-04-21T03:42:27.000030Z

For reference, I'm using openjdk-8 (OpenJDK 64-Bit Server VM 1.8.0_66-internal-b17)

2016-04-21T06:02:03.000032Z

@tcrawley: some bad news - i finally got our benchmarking tool to work with compression ("permessage-deflate") by making a fork of the Gniazdo web socket client (which is based on Jetty 9). In load tests with compression enabled, found that around 1% of the messages are corrupted as seen by the client. so we had to abort our move to immutant.

2016-04-21T12:41:09.000033Z

@codonnell: seen this? http://immutant.org/news/2015/09/09/datomic-redux/

2016-04-21T12:43:03.000034Z

@moizsj: interesting. and you don't see corruption with that client against your existing system?

2016-04-21T13:02:42.000035Z

@tcrawley: correct. No corruption with existing system.

2016-04-21T13:09:31.000036Z

@jcrossley3: I did not. Thanks for the reference!

2016-04-21T13:10:01.000037Z

@codonnell: sure thing!

2016-04-21T13:40:33.000038Z

Works like a charm. Much appreciated.

2016-04-21T20:21:02.000039Z

@moizsj: how big are your payloads? I wonder if you are hitting https://issues.jboss.org/browse/UNDERTOW-684

2016-04-21T23:47:15.000040Z

@tcrawley: the messages are really huge strings, though I'll have to check exactly how large. What version of Undertow does current Immutant use?