jrubyguy has joined #jruby
<jrubyguy> hello Team
<jrubyguy> I need some help with understanding some performance issue with running jruby over java app servers like glassfish,tomcat
<jrubyguy> is anyone around who can help me?
skade has quit [Quit: Computer has gone to sleep.]
rcvalle has quit [Quit: rcvalle]
<nirvdrum> jrubyguy: I'd just ask your question. People come in and out.
pawnbox has joined #jruby
<jrubyguy> sure nirvdrum. We have built a sinatra app and used jruby 1.7.24, RestClient for making backend calls. This setup works very fast in webrick but when we create a war file and try it in tomcat or glassfish, excessive times are taking
<jrubyguy> local test with jruby/webrick takes 600 ms which in java app servers is taking 1.5 sec
<jrubyguy> not sure how to troubleshoot the issue
Hobogrammer has joined #jruby
<jrubyguy> 100% /opt/glassfish4/glassfish/domains/cbui-usage/applications/cbui-usage/WEB-INF/lib/jruby-rack-1.1.20.jar!/rack/handler/servlet.rb.call :22
<jrubyguy> 97% /opt/glassfish4/glassfish/domains/cbui-usage/applications/cbui-usage/WEB-INF/gems/gems/rack-1.6.4/lib/rack/urlmap.rb.call :50,66
<jrubyguy> 97% /opt/glassfish4/glassfish/domains/cbui-usage/applications/cbui-usage/WEB-INF/gems/gems/rack-1.6.4/lib/rack/urlmap.rb.each :50
<jrubyguy> 97% /opt/glassfish4/glassfish/domains/cbui-usage/applications/cbui-usage/WEB-INF/gems/gems/rack-1.6.4/lib/rack/urlmap.rb.call :66
<jrubyguy> 97% /opt/glassfish4/glassfish/domains/cbui-usage/applications/cbui-usage/WEB-INF/gems/gems/sinatra-1.4.4/lib/sinatra/base.rb.call :1469
jrubyguy has quit [Excess Flood]
pawnbox has quit [Ping timeout: 272 seconds]
jrubyguy has joined #jruby
jrubyguy has quit [Client Quit]
camlow32_ has joined #jruby
camlow325 has quit [Ping timeout: 240 seconds]
camlow32_ has quit [Ping timeout: 276 seconds]
blandflakes has joined #jruby
Caerus|Away is now known as Caerus
e_dub has quit [Ping timeout: 250 seconds]
nirvdrum has quit [Ping timeout: 276 seconds]
Caerus is now known as Caerus|Away
nirvdrum has joined #jruby
pawnbox has joined #jruby
febuiles has quit [Quit: febuiles]
pawnbox has quit [Ping timeout: 244 seconds]
nirvdrum has quit [Ping timeout: 260 seconds]
nirvdrum has joined #jruby
e_dub has joined #jruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sebstrax has joined #jruby
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
johnsonch_afk is now known as johnsonch
<GitHub113> [jruby] bjfish pushed 1 new commit to master: https://git.io/vo5BX
<GitHub113> jruby/master 4a96aca Brandon Fish: [Truffle] Add Struct#dig and TypeError to Array/Hash#dig
johnsonch is now known as johnsonch_zzz
nirvdrum has quit [Ping timeout: 246 seconds]
kphns has quit [Remote host closed the connection]
<travis-ci> jruby/jruby (master:4a96aca by Brandon Fish): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/140708059)
pawnbox has joined #jruby
<GitHub175> [jruby] bjfish pushed 1 new commit to master: https://git.io/vo5Es
<GitHub175> jruby/master 08a18aa Brandon Fish: [Truffle] Add Hash#fetch_values
febuiles has joined #jruby
blandflakes has joined #jruby
blandflakes has quit [Client Quit]
<travis-ci> jruby/jruby (master:08a18aa by Brandon Fish): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/140712323)
pawnbox has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
pawnbox has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
Hobogrammer has quit [Quit: WeeChat 0.4.2]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
skade has joined #jruby
sandelius has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #jruby
sam2000 has joined #jruby
sam2000 has quit [Client Quit]
yfeldblum has quit [Ping timeout: 250 seconds]
rolfb has joined #jruby
febuiles has quit [Quit: febuiles]
<rolfb> hi there, is there a good way of verifying whether or not your MRI-based project is ready to run on jruby? trying jruby-lint and it complains about the use of `||=` ... easily fixed, but is this not supported in jruby?
<sandelius> rolfb why dont you run your test suit?
<rolfb> that won't help me with potential concurrency issues?
<sandelius> rolfb ahh you mean test thread saftey. That's not possible.
<sandelius> ||= CAN be thread saftey when used in the wrong place
<rolfb> sandelius: fair enough :) any information on how it can be an issue?
<sandelius> rolfb on bootup it's fine (as long as its called) and inside a request cycle
<sandelius> rolfb https://pragprog.com/book/jsthreads/working-with-ruby-threads Awesome books about threading in ruby, dos and donts
<sandelius> rolfb cheap aswell :)
<sandelius> rolfb check if there's a kindle version, that would be even cheaper
pitr-ch has joined #jruby
yfeldblum has joined #jruby
<rolfb> sandelius: thanks :)
<sandelius> rolfb I'm glad to help my fellow country neighbour ;)
<rolfb> sandelius: woot?
<sandelius> Rolf Bjaanes right? I'm swedish
<sandelius> scary right :)
skade has quit [Quit: Computer has gone to sleep.]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rolfb> sandelius: that's correct, not scary though. you're Tobias?
<sandelius> rolfbyepp
<rolfb> :) nice to meet you
<sandelius> rolfb yepp, everyone is known in the world of Internet :)
<rolfb> yeah, especially if they stay consistent with their nicknames
pitr-ch has joined #jruby
blandflakes has joined #jruby
blandflakes has quit [Client Quit]
shellac has joined #jruby
sebstrax has quit [Quit: Connection closed for inactivity]
skade has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has quit [Ping timeout: 272 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
yfeldblum has quit [Ping timeout: 250 seconds]
<GitHub74> [jruby] eregon pushed 2 new commits to master: https://git.io/vo5Au
<GitHub74> jruby/master cbccc0a Benoit Daloze: [Truffle] ReferenceEqualNode does not need the frame....
<GitHub74> jruby/master c9d6df5 Benoit Daloze: [Truffle] Do the proper reference equality comparison when writing to a global variable.
skade has quit [Quit: Computer has gone to sleep.]
<GitHub150> [jruby] chrisseaton pushed 1 new commit to truffle-head: https://git.io/vo5p0
<GitHub150> jruby/truffle-head a3ac114 Chris Seaton: Merge branch 'master' into truffle-head
shellac has quit [Remote host closed the connection]
shellac has joined #jruby
blandflakes has joined #jruby
blandflakes has quit [Client Quit]
raeoks has joined #jruby
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drbobbeaty has joined #jruby
<ebarrett> chrisseaton: are you online?
<ebarrett> (don't worry, it's a small query this time)
<ebarrett> :)
pitr-ch has joined #jruby
pawnbox has quit [Remote host closed the connection]
rolfb has quit [Quit: Leaving...]
tcrawley-away is now known as tcrawley
rolfb has joined #jruby
skade has joined #jruby
pawnbox has joined #jruby
<chrisseaton> ebarrett: hi
tcrawley is now known as tcrawley-away
e_dub has quit [Quit: ZZZzzz…]
blandflakes has joined #jruby
pawnbox has quit [Remote host closed the connection]
bbrowning_away is now known as bbrowning
nirvdrum has joined #jruby
pawnbox has joined #jruby
nirvdrum has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
rolfb has quit [Quit: Linkinus - http://linkinus.com]
pawnbox has joined #jruby
lance|afk is now known as lanceball
cprice404 has quit [Remote host closed the connection]
cprice has joined #jruby
cprice is now known as cprice404
<GitHub11> [jruby] bjfish pushed 1 new commit to master: https://git.io/vodO9
<GitHub11> jruby/master 8ea2dae Brandon Fish: [Truffle] Refactor Array#bsearch to use bsearch_index
nirvdrum has joined #jruby
pawnbox has quit [Remote host closed the connection]
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandelius has quit [Read error: Connection reset by peer]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #jruby
raeoks has joined #jruby
pawnbox has quit [Ping timeout: 276 seconds]
e_dub has joined #jruby
tcrawley-away is now known as tcrawley
<GitHub5> [jruby] bjfish pushed 1 new commit to master: https://git.io/vodW8
<GitHub5> jruby/master 8182745 Brandon Fish: [Truffle] Add Hash#to_proc
<GitHub56> [jruby] eregon pushed 12 new commits to master: https://git.io/vodlA
<GitHub56> jruby/master cafbb6e Benoit Daloze: [Truffle] Fix Array#fill_internal to not use tuple things and remove now unused #reallocate.
<GitHub56> jruby/master bf261e1 Benoit Daloze: [Truffle] Remove usage of tuple in #reverse_each and #rindex.
<GitHub56> jruby/master 6cdf430 Benoit Daloze: [Truffle] Remove usage of tuple in #sample.
pawnbox has joined #jruby
<GitHub127> [jruby] bjfish pushed 1 new commit to master: https://git.io/vod4K
<GitHub127> jruby/master 2b41f36 Brandon Fish: [Truffle] Use lambda for Hash#to_proc
<GitHub109> [jruby] eregon closed pull request #3979: [Truffle] Use to_enum snippets to provide enumerator size blocks (master...truffle-to-enum-sizes) https://git.io/voHO1
<GitHub181> [jruby] eregon pushed 1 new commit to master: https://git.io/vodR0
<GitHub181> jruby/master a222bf9 Benoit Daloze: Merge pull request #3979 from jruby/truffle-to-enum-sizes...
<GitHub124> [jruby] eregon deleted truffle-to-enum-sizes at debe1af: https://git.io/vodRu
pawnbox has quit [Ping timeout: 240 seconds]
pitr-ch has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
thedarkone2 has joined #jruby
bbrowning is now known as bbrowning_away
camlow325 has joined #jruby
lanceball is now known as lance|afk
johnsonch_zzz is now known as johnsonch
pawnbox has joined #jruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox_ has joined #jruby
e_dub has quit [Ping timeout: 258 seconds]
lance|afk is now known as lanceball
<travis-ci> jruby/jruby (master:2b41f36 by Brandon Fish): The build has errored. (https://travis-ci.org/jruby/jruby/builds/140812035)
<headius> rolfb: ||= is a concern if the right-hand side should really only be created once
<headius> no Ruby implementation implements ||= atomically when the left-hand side is an instance or class variable
bbrowning_away is now known as bbrowning
<travis-ci> jruby/jruby (master:a222bf9 by Benoit Daloze): The build was broken. (https://travis-ci.org/jruby/jruby/builds/140815528)
shellac has quit [Quit: Leaving]
skade has joined #jruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
blandflakes has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
<GitHub126> [jruby] headius pushed 1 new commit to master: https://git.io/vodd3
<GitHub126> jruby/master 879f5ba Charles Oliver Nutter: Update to RubyGems 2.6.6....
<GitHub67> [jruby] headius closed pull request #3972: Use platform defaults from defaults file rather than eager load. (master...platform_defaults) https://git.io/vou6G
<GitHub59> [jruby] headius pushed 2 new commits to master: https://git.io/voddC
<GitHub59> jruby/master 90ff5b1 Charles Oliver Nutter: Use platform defaults from defaults file rather than eager load....
<GitHub59> jruby/master 4f0fdb8 Charles Oliver Nutter: Merge pull request #3972 from headius/platform_defaults...
<GitHub164> [jruby-openssl] headius closed issue #93: Errno::EAGAIN thrown by SSLSocket#connect_nonblock https://git.io/vrHlo
<GitHub90> [jruby] headius closed pull request #3952: Ensure that Selectors from SelectorPool don't have old keys in them (master...cleankeys_pr2) https://git.io/vofnd
<GitHub106> [jruby] headius pushed 2 new commits to master: https://git.io/voddF
<GitHub106> jruby/master 171dc40 mohamed: clean keys inside SelectorPool#put
<GitHub106> jruby/master c83120b Charles Oliver Nutter: Merge pull request #3952 from mohamedhafez/cleankeys_pr2...
Guest61380 has quit [Quit: mIRC 5.91 (16 bit) for Microsoft © Windows For WorkGroups 3.11®]
sebstrax has joined #jruby
<travis-ci> jruby/jruby (master:4f0fdb8 by Charles Oliver Nutter): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/140854807)
yfeldblum has joined #jruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<travis-ci> jruby/jruby (master:c83120b by Charles Oliver Nutter): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/140855617)
febuiles has joined #jruby
<GitHub193> [jruby] mohamedhafez closed issue #3963: SelectorPool returns Selectors with old keys in them https://git.io/voCVZ
<GitHub8> [jruby] bjfish pushed 1 new commit to master: https://git.io/voFcf
<GitHub8> jruby/master 81fdf12 Brandon Fish: [Truffle] Add Hash#{<,<=,>,>=}
<GitHub171> [jruby-openssl] kares pushed 3 new commits to master: https://git.io/voFle
<GitHub171> jruby-openssl/master 4458259 Karol Bucek: Merge pull request #95 from mohamedhafez/eagain_pr...
<GitHub171> jruby-openssl/master 8ddf4e8 mohamed: ignore intellij .iml files
<GitHub171> jruby-openssl/master 33daff7 mohamed: nonblocking waitSelect code doesnt need to be in RubyThread.BlockingTask, and catch more successful selects in case there is more than one selected key due to a JRuby bug
<GitHub111> [jruby-openssl] kares closed pull request #95: waitSelect improvements (master...eagain_pr) https://git.io/vovMf
mistergibson has joined #jruby
<GitHub94> [jruby] chumer opened pull request #3982: [Truffle] Fix race condition in mx build. (truffle-head...fix_mx_ruby_build2) https://git.io/voFEA
<GitHub57> [jruby] chrisseaton closed pull request #3982: [Truffle] Fix race condition in mx build. (truffle-head...fix_mx_ruby_build2) https://git.io/voFEA
<GitHub149> [jruby] chrisseaton pushed 2 new commits to truffle-head: https://git.io/voFuY
<GitHub149> jruby/truffle-head 82deb4a Christian Humer: [Truffle] Fix race condition in mx build.
<GitHub149> jruby/truffle-head 4c69fe4 Chris Seaton: Merge pull request #3982 from chumer/fix_mx_ruby_build2...
<travis-ci> jruby/jruby-openssl (master:4458259 by Karol Bucek): The build is still failing. (https://travis-ci.org/jruby/jruby-openssl/builds/140898456)
johnsonch is now known as johnsonch_afk
tcrawley is now known as tcrawley-away
pawnbox_ has quit [Remote host closed the connection]
skade has joined #jruby
lanceball is now known as lance|afk
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #jruby
bbrowning is now known as bbrowning_away
skade has quit [Quit: Computer has gone to sleep.]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pitr-ch has joined #jruby
<chrisseaton> New Ruby paper https://www.youtube.com/watch?v=urrPzY7aP-E
<lopex> something wrong with audio
<chrisseaton> Yeah cuts in and out unfortunately
<chrisseaton> Why is recording talks such a challenge?
camlow32_ has joined #jruby
camlow325 has quit [Ping timeout: 244 seconds]
camlow325 has joined #jruby
camlow32_ has quit [Read error: Connection reset by peer]
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
camlow325 has quit [Remote host closed the connection]
camlow325 has joined #jruby
e_dub has joined #jruby
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
e_dub has quit [Read error: Connection reset by peer]
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e_dub has joined #jruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
blandflakes has joined #jruby
<GitHub130> [jruby] trejkaz opened issue #3983: Kernel#system fails to execute if SecurityManager denies access to a $PATH entry even if it permits a later one https://git.io/voFp9