jeremyevans has quit [Read error: Connection reset by peer]
jeremyevans has joined #jruby
Antiarc has quit [Ping timeout: 248 seconds]
Antiarc has joined #jruby
shellac has joined #jruby
nirvdrum_ has joined #jruby
lucasb has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
Freaky has quit [Quit: Run away!]
Freaky has joined #jruby
byteflam1 has joined #jruby
xardion has quit [Remote host closed the connection]
xardion has joined #jruby
KeyJoo has joined #jruby
shellac has quit [Ping timeout: 264 seconds]
byteflam1 has quit [Ping timeout: 244 seconds]
byteflam1 has joined #jruby
byteflam1 has quit [Ping timeout: 245 seconds]
<headius[m]> yeah I can run some numbers
<headius[m]> this is the issue the jetbrains folks opened yeah?
byteflam1 has joined #jruby
<headius[m]> I'm setting up windows to investigate some other perf stuff there but I can circle back...not critical for 9.2.8
byteflam1 has quit [Ping timeout: 272 seconds]
nirvdrum_ has quit [Ping timeout: 246 seconds]
byteflam1 has joined #jruby
<Ryctolagus> I have a jruby on rails web application using puma, and I had a question on IIS best practices. which would be industry preferred: using URL rewrite and host the JVM independent of IIS, or have an IIS worker process manage the JVM and puma?
byteflam1 has quit [Ping timeout: 258 seconds]
byteflam1 has joined #jruby
byteflam1 has quit [Ping timeout: 246 seconds]
byteflam1 has joined #jruby
nirvdrum_ has joined #jruby
byteflam1 has quit [Ping timeout: 268 seconds]
byteflam1 has joined #jruby
subbu is now known as subbu|lunch
dopplergange has quit [Ping timeout: 244 seconds]
subbu|lunch is now known as subbu
<enebo[m]> If we can dig handle I think this can change to O_TEXT
<enebo[m]> we need to make fd out of handle though
<enebo[m]> Not sure about how Java 9+ deals with our handle grabbing
<headius[m]> Ryctolagus: hey there
<Ryctolagus> headius: Good Day :)
<headius[m]> Ryctolagus: I'm not sure anyone here is qualified to answer that...I have not used IIS in 15+ years
<Ryctolagus> headius: I kind of figured that, I also asked in #windows-server. However I think this is an edge case so I will just have to test and profile my enviroment to determine which is a more robust solution.
<headius[m]> If there's some simple way to set up IIS to reverse proxy to a free-standing JVM I think that's what I'd prefer
<headius[m]> but that might not fit your organization security/management policies
<headius[m]> we recommend people deploy JRuby apps with Puma, but I would never recommend Puma being the web server...so from there it's the same question as hosting any other language runtime on Windows
<headius[m]> enebo: yeah digging handle out I'm sure we can find a way to twiddle the right bits
<headius[m]> and then turn off the crlf translation
<headius[m]> I'm trying to see if there's anything in JDK itself that we could use
<headius[m]> omg windows trackpad palm detection is actually worse than Mac
<headius[m]> Ryctolagus: yeah let us know what you figure out...I feel like this has been asked before and we didn't have a good answer then
<enebo[m]> headius: yeah that would be better but I believe we already have the handle to fd function exposed in jnr-posix but I am not so sure about _setmode
<Ryctolagus> headius: Setting up IIS reverse proxy as a reverse proxy to puma is actually what both solutions do. The difference is in who (me, or IIS) controls the JVM.
<Ryctolagus> headius: I am kind of a documentation nut, so I will be sure to report back on my findings :)
<headius[m]> actually we merged some code into JRuby proper for the handle/fd thing...if we have that in jnr-posix as well we might be able to ditch it
<headius[m]> it's in JRuby because we need to be able to release the fd when the handle closes, or vice versa or something
<headius[m]> Ryctolagus: ahh ok
<kares[m]> why would the web server control the app server, is that common these days?
byteflam1 has quit [Quit: leaving]
byteflam1 has joined #jruby
<headius[m]> Java people have no idea
<headius[m]> I can't believe there's no O_TEXT equivalent in Java IO
<headius[m]> Java on Windows would probably be much faster for file access if they used it
<headius[m]> kares: these days I don't know but I do remember using IIS plugins that let it start and stop a JVM
<headius[m]> it's so that that JVM fits into service controls
<headius[m]> I guess equivalent would be having init.d scripts for your puma app
<headius[m]> sort of
<enebo[m]> headius: yeah although the old guard of Java really did not like adding platform useful shit
<enebo[m]> We are past that now so perhaps someone should add it to Java23
<enebo[m]> seems like _setmode is a path to good perf so long as internally Java is not doing something weird like constantly calling _setmode :)
<kares[m]> thx, thought there would be 2 services for every server but guess win has its ways ... maybe they are 2 acting as one through dependency mngmt
<headius[m]> enebo: when we can do that yeah I suppose that's the only path right now
<enebo[m]> headius: when is that not possible?
<headius[m]> well when we can't dig out the handle
<headius[m]> I'm back on MacOS again
<headius[m]> I was about to break my machine with all the ghost clicks and rogue inputs on Windows
<enebo[m]> ah yeah java 9+ but other file types as well?
<enebo[m]> I suppose in those cases we just punt to what we are doing for now
<headius[m]> well this is really just files I think
<headius[m]> other channels can do CRLF but you have to ask for it...this is a file open(2) mode
<headius[m]> but because we can't do the mode I'm using explicit CRLF translation all the time
<headius[m]> so that does limit the scope of this
<headius[m]> enebo: look at FilenoUtil
<enebo[m]> yeah
<headius[m]> I believe with that logic we should be getting real FD when possible...so perhaps we can do this setmode thing now
<headius[m]> hmm good on me for commenting out all the places MRI IO code does setmode()
dopplergange has joined #jruby
whitingjr has joined #jruby
whitingjr has quit [Client Quit]
nirvdrum_ has quit [Ping timeout: 245 seconds]
Ryctolagus has quit [Quit: Leaving]
byteflam1 has quit [Ping timeout: 246 seconds]
byteflam1 has joined #jruby
lucasb has quit [Quit: Connection closed for inactivity]