JRuby Hosting!


#1

There’s been a bit of talk recently about options for hosting JRuby (on
Rails) applications. Lots of places provide Ruby (on Rails) support, and
some provide general Java support, but it seems like there’s a demand
for JRuby-specific expertise.

And I think JRuby has definitely reached a point where managed hosting
would be really nice to have.

I tweeted asking about it, and got several interesting replies:

From @grantmichaels: @headius linode sponsored the rumble and has great
service!

From @jasonh: @headius we’ve been shipping jruby in @Joyent
accelerators for a long time already

From @capotej: @headius I run a small ruby/jruby consultancy. While we
don’t offer hosting directly, we have plenty of experience setting it
up. nuklei.com

From @alasdairrr: @headius We’re big Glassfish users here at everycity
and are big Ruby users too. JRuby no problem! www.everycity.co.uk

From @auxbuss: @headius Re: JRuby hosting. Maybe take it to the list?
Maybe talk to slicehost. Hosting implies $s. Is this what you meant?

From @noahhorton: @headius We are actively looking for this right now
too. Can’t find Glassfish hosting companies which is what we need.

And a couple folks emailed me offline, interested in working together to
set something up.

So, shall we discuss? I’d love to see a few good JRuby (on Rails)
hosting options, either “JRoR-ready” or really managed with prepared
GlassFish/JBoss/Whatever server setups.

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#2

Charles Oliver N. said…

From @grantmichaels: @headius linode sponsored the rumble and has great
From @alasdairrr: @headius We’re big Glassfish users here at everycity

So, shall we discuss? I’d love to see a few good JRuby (on Rails)
hosting options, either “JRoR-ready” or really managed with prepared
GlassFish/JBoss/Whatever server setups.

A few spurious comments trying to stir the pot a bit.

I don’t think it likely that anyone is going to get into setting up
hardware for such a niche. So, I think any venture would have to
piggyback of existing hosting.

That means that folk will be paying a premium for domain knowledge. Not
an issue for a biz, but for smaller folk, probably not an option.

Then what about requirements? What, specifically, are folk after?

Now a random spin around in the dark. Say a deal was done with a
slicehost/linode where folk could resell slices, then maybe folk
requiring a dedicated slice could buy one, and the smaller folk could
pile up in a slice dedicated to “shared hosting”. Haven’t thought about
the details, though.


Cheers,
Marc


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#3

I’ve been using Morph Labs with fairly good results. They offer both
Java
(Jetty) and native Ruby spaces, as well as ancillary services such as
Solr.
I just deploy my app as a WAR file and it seems to work well.

However, I’m still relatively new to the JRuby/Rails world, so look
forward
to other peoples insights.


View this message in context:
http://www.nabble.com/JRuby-Hosting!-tp22672581p22691047.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#4

mdrn28 wrote:

I’ve been using Morph Labs with fairly good results. They offer both Java
(Jetty) and native Ruby spaces, as well as ancillary services such as Solr.
I just deploy my app as a WAR file and it seems to work well.

However, I’m still relatively new to the JRuby/Rails world, so look forward
to other peoples insights.

So just deploying as a WAR to Morph works pretty good for you? That
might be a way to get Rubyists interested in JRuby a simple way to get
up and running. I’m also interested in options that are more
capistrano-based and don’t require a lot of fiddling around with WAR
files.

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#5

marc wrote:

Now a random spin around in the dark. Say a deal was done with a
slicehost/linode where folk could resell slices, then maybe folk
requiring a dedicated slice could buy one, and the smaller folk could
pile up in a slice dedicated to “shared hosting”. Haven’t thought about
the details, though.

Well I’ve kinda been thinking along the lines of “really managed”
hosting like EY provides, where they have the whole platform already set
up for you and you just deploy your app. It seems like a combination of
JRuby + something like GlassFish gem could make it really trivial to set
up that kind of hosting, and that’s probably where a lot of value can be
added to the JRoR deployment/hosting world.

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#6

Charles Oliver N.-2 wrote:

to other peoples insights.

So just deploying as a WAR to Morph works pretty good for you? That
might be a way to get Rubyists interested in JRuby a simple way to get
up and running. I’m also interested in options that are more
capistrano-based and don’t require a lot of fiddling around with WAR
files.

Yes, I actually found the WAR approach to be easier than native Ruby, as
everything gets packaged up into a self-contained file, including all
gems.
Warbler makes it very easy. With native Ruby, I seemed to have endless
problems with gems and native extensions. It probably helps that I come
from a Java background so have a fairly high comfort level with the
relevant
tools.

The downside to WAR deployment to Morph is that they don’t offer shell
access or a way to run rake tasks with JRuby (at least not yet), so I’ve
had
to implement my own workarounds to run administrative tasks via a web
interface.

It certainly helps that Morph offers developer instances for free, so it
was
easy to try it out before committing.

View this message in context:
http://www.nabble.com/JRuby-Hosting!-tp22672581p22695339.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#7

With regards to deployment approach, I like webappcabaret.com.
You just have to upload the RAILS app in its regular directory format in
a
ZIP file,
and then the applications is automatically archived in a WAR via warbler
I
believe.
Adn what is even cooler, is that a database is also created for the
application
and rake db:migrate is executed. They also have free trial accounts.


#8

Here at Virgo Systems we solve our hosting needs mostly in house, and
use
Tomcat and Capistrano for JRuby applications. I started a thread some
while
ago about the deployment issues we faced:
http://www.nabble.com/deployment-task-in-jruby-on-rails-td21849203.html

Now I’m using cap with jrecipes (
http://github.com/virgo/jrecipes/tree/master) which builds the war for
me
and then uploads it to the servers and deploys it. It also has a
secondary
deployment strategy option to have the full source up on the servers for
running rake tasks, etc. I know this is not the best solution since you
would need a full ruby environment installed with all your required gems
to
run rake tasks. I hoped I could build a jar with all the gems in it and
use
jruby-complete.jar for running such things but that didn’t work out.

Another option could be to build a web interface for all the things you
need
to run separately from your application and use that to run rake tasks,
migration, etc. That is not a trivial solution, you’d have to make sure
to
run this only on one of your servers and there will be other problems
too.

I see the Capistrano way as a viable option with some compromises. It
would
get definitely better with the ability to package all your required gems
in
a jar.

LacKac

On Wed, Mar 25, 2009 at 5:37 AM, Charles Oliver N. <