Re: Some results running CloudController under JRuby
Hi,
Dieu wrote:
> Would be interested to see how this performs on aws or on soft layer.
Good point - is there an AWS envrionment we could use? We'll look into Softlayer.
> Also, were you able to run CATS?
We did not attempt to run CATS, because we focused on one endpoint. There others would probably not have functioned.
> Or is more work needed to deal with NATS etc?
More work is certainly needed for that. We haven't bothered so far to update the depencencies we have 'patched' for the spike.
> Other pros/cons that you've found?
Pros not mentioned yet:
- There are a lot more tools to run and monitor JVM based applications.
- JRuby in interpreted mode did not seem to be slower, in terms of development workflow. Cons:
- JRruby is an additional layer (of complexity) on top of Ruby
- JRuby is still more in a niche Amit wrote:
> what are differences to pre-packaging dependencies?
> any differences in pre-packaging time? > what differences for packaging/compilation dependencies? Our approach was minimal; we captured code changes to CC and dependencies that need updates on a branch. Those changes would need to be translated into packaging.
From our spike, we think that the (pre-) packaging would be similar to how UAA handles the OpenJDK. JRuby itself goes on top of that, and is simply an additional unzip command.
Some gems will need updates to work with JRuby, (see Gemfile in the branch). Mostly around yaml support, thin, and NATS.
> any difference in packaging/compilation time?
We did not measure times. From a Ruby perspective, JRuby did not feel different. The Ruby-to-Java compilation can happen in two modes; interpreted and compiled. We only worked in the interpreted mode. In compiled, the Ruby code is compiled to Java upfront, which should lead to further improvements.
> there are going to be some new job and packages blobs, and maybe some old ones go away? what are the size differences?
We can re-use OpenJDK from UAA. JRuby is a 40 MiB download, where we can eliminate samples etc., so probably 30 MiB in addition.
> any changes to start-up or update times during bosh deploy/update?
Sorry, we did not measure this, either ;-)
Regards
Marc & Steffen
----- Original message ----- |
|