shellac has quit [Remote host closed the connection]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
atm0sphere has joined #jruby
atm0sphere has quit [Remote host closed the connection]
ankitr has joined #jruby
ankitr is now known as fdgdf
fdgdf is now known as dfdf
olle_ has joined #jruby
olle has quit [Ping timeout: 260 seconds]
olle_ is now known as olle
Thijsc has joined #jruby
<Thijsc>
Hi All. I'm looking for some guidance on how to call things in a Rails app from Java land. We've been heavily using Kafka, I'm trying to get an open source library together that acts as a proxy between the Kafka Connect library and Ruby. I have the basics working by copying some stuff from Redstorm. So I receive data from Kafka on the Ruby side.
<Thijsc>
This all works fine mostly using ScriptingContainer
<Thijsc>
What I'm stuck on is coming up with a good way to load in our Rails app. I can make a war using warble which works well. I can't seem to find a proper way to add that Jar to the classpath in such a way that I can initialize the Rails app and call stuff in it using ScriptingContainer.
<Thijsc>
Any pointers on a way to do this?
<Thijsc>
Or maybe some other project uses this approach?
olle has quit [Quit: olle]
bbrowning_away is now known as bbrowning
shellac has joined #jruby
drbobbeaty has joined #jruby
olle has joined #jruby
lance|afk is now known as lanceball
olle has quit [Quit: olle]
enebo has joined #jruby
prasunanand has joined #jruby
tcrawley-away is now known as tcrawley
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
prasunanand has quit [Ping timeout: 246 seconds]
dfdf has quit [Ping timeout: 246 seconds]
vtunka has quit [Quit: Leaving]
tcrawley is now known as tcrawley-away
vtunka has joined #jruby
camlow325 has joined #jruby
dfdf has joined #jruby
donV has quit [Ping timeout: 240 seconds]
bbrowning is now known as bbrowning_away
camlow325 has quit [Quit: WeeChat 1.5]
ankitr has joined #jruby
dfdf has quit [Remote host closed the connection]
ankitr has quit [Ping timeout: 258 seconds]
ankitr has joined #jruby
donV has joined #jruby
thedarkone2 has joined #jruby
vtunka has quit [Quit: Leaving]
prasunanand has joined #jruby
Thijsc has quit [Ping timeout: 240 seconds]
donV has quit [Quit: donV]
shellac has quit [Quit: Leaving]
ankitr has quit [Ping timeout: 256 seconds]
prasunanand has quit [Remote host closed the connection]
tcrawley-away is now known as tcrawley
prasunanand has joined #jruby
byteflame has joined #jruby
camlow325 has joined #jruby
camlow321 has joined #jruby
<GitHub86>
[jruby] heikobornholdt opened issue #4541: annotations does not working without generating java class https://git.io/vyxDr
camlow325 has quit [Ping timeout: 260 seconds]
byteflam1 has joined #jruby
bbrowning_away is now known as bbrowning
byteflame has quit [Quit: leaving]
hobodave has joined #jruby
subbu is now known as subbu|lunch
tenderlove has joined #jruby
oncall-pokemon has quit [Quit: Connection closed for inactivity]
<hobodave>
Hey guys. I'm not clear on whether or not I should be using -Xcompile.invokedynamic=true with jruby-9.1.7.0 running on Java 1.8.0_121-b13
<enebo>
hobodave: we do use invokedynamic for many things internally now by default but not all the things
<enebo>
hobodave: so enabling that might give you a good speed bump or not depending on your code
<hobodave>
Is the current recommendation to try enabling it?
<hobodave>
gotcha
<enebo>
hobodave: we disabled it as a default not because it did not run well but because it tended to make warmup in Rails take too long
<enebo>
hobodave: but your mileage may vary...not everyone was complaining...just enough to ratchet it back a bit
<enebo>
I will update the document
<enebo>
hobodave: definitely try it enabled though and see how things go
<hobodave>
Great, is there specific patterns I should pay attention to that might not perform well?
<hobodave>
*are
<enebo>
hobodave: in general everything will be faster or the same speed but if it warmup appears to take longer then you will need to decide if that is a problem or not
<hobodave>
I really appreciate your help enebo. WOuld you recommend a resource to read about what invokedynamic really is? My java-fu is weak
<enebo>
hobodave: headius has written several blogs showing how it can be used and how JRuby uses it.
<hobodave>
thank you!
<enebo>
hobodave: some are several years old now but the gist is there. It is fairly low-level in explaining how implementations can use it