Re: Clojure & Jruby (Ruby on Rails) Interop

2014-03-11 Thread Shantanu Kumar
On Monday, 9 September 2013 07:55:15 UTC+5:30, rdelcueto wrote: > > Hi everyone, > I'm about to start working on building a site for a startup company. > > We are a small team, and currently they've been coding the site using RoR > (Ruby on Rails). I was thinking Clojure might be better suited

Re: Clojure & Jruby (Ruby on Rails) Interop

2014-03-11 Thread rdelcueto
Hey Ramon, Back when I started coding my project ~6 months ago, I couldn't run Torquebox successfully in Heroku nor Openshift. I read about the Torquebox Lite project, but you loose most of the Torquebox magic. I know now, you can get the full Torquebox stack - {Stomp server & Clustering} runn

Re: Clojure & Jruby (Ruby on Rails) Interop

2014-03-11 Thread Ramon Long
Rodrigo, Have you looked at hosting your JVM-based solution with Clojure and jRuby on Heroku? -Ramon On Thursday, October 24, 2013 9:59:56 PM UTC-4, rdelcueto wrote: > > Thanks for your response Jim. > Is there any alternative solution to Openshift that supports the TB and > Immutant combo, th

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-10-24 Thread rdelcueto
Thanks for your response Jim. Is there any alternative solution to Openshift that supports the TB and Immutant combo, that you recommend? On Thursday, October 24, 2013 8:47:14 PM UTC-5, Jim Crossley wrote: > > Unfortunately not, Rodrigo. Frankly, TorqueBox on OpenShift is not a very > happy expe

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-10-24 Thread Jim Crossley
Unfortunately not, Rodrigo. Frankly, TorqueBox on OpenShift is not a very happy experience, mostly due to bundler and very limited resources on the free OpenShift gears. Until we get those issues worked out, I don't want to encourage anyone to combine TB and Immutant on OpenShift. Also, we're kind

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-10-24 Thread rdelcueto
Dear Jim, I just began playing with Immutant and TorqueBox. I realized the polyglot-openshift-quickstart* @ *GitHub is marked as obsolete. I found links to newer versions of immutant-quickstart and torquebox-quickstart, though as separate applications. Is there documentation or a tutorial on how

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-09-10 Thread Ron Toland
Rodrigo, We went with RabbitMQ over ZeroMQ mostly because we were more familiar with it. As I understand it, ZeroMQ is less of a message-queueing system and more "sockets on steroids." Which one is best will depend pretty strongly on your particular usecase. In our case, our messages are prett

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-09-09 Thread rdelcueto
Thank you all for your advice and information provided. It's clear to me now that a message based solution is a good option. I'm still unsure on which messaging framework I should start with. Actually it was Jim's screencast, which got me into thinking in the messaging solution using TorqueBox a

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-09-09 Thread Michael Klishin
2013/9/9 Oleksandr Petrov > Forgot to mention, Zweikopf comes as a Ruby gem and as a Clojure library. > You should make a decision though wether you're running Ruby scripting > container from Clojure or start Clojure runtime from Ruby Or integrate the two using messaging, e.g. with [1] and [2].

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-09-09 Thread Oleksandr Petrov
I've been working with an application that written in Ruby and Clojure. Nothing forbids you from using some messaging system for communication between Ruby and Clj, although we required direct access to Ruby from Clojure and vice versa. That's pretty much how Zweikopf was born: http://github.com/i

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-09-09 Thread rdelcueto
Hey Ron, Thanks for your response. Digging deeper into my question... When I read about the Torquebox Immutant duet, I thought it was particularly interesting solution, because it was fairly easy to deploy and both processes would live inside a JVM environment. I was impressed by how Clojure da

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-09-09 Thread Jim Crossley
Hi Rodrigo, I'm one of the developers of TorqueBox and Immutant. Your email prompted me to re-watch a screencast [1] I made in March showing how to use them together. I realized things have changed a little since then, so I added a few annotations to the video highlighting the differences. Hopeful

Re: Clojure & Jruby (Ruby on Rails) Interop

2013-09-09 Thread Oleksandr Petrov
Forgot to mention, Zweikopf comes as a Ruby gem and as a Clojure library. You should make a decision though wether you're running Ruby scripting container from Clojure or start Clojure runtime from Ruby... On Mon, Sep 9, 2013 at 5:50 PM, Oleksandr Petrov wrote: > I've been working with an appli

Clojure & Jruby (Ruby on Rails) Interop

2013-09-09 Thread Ron Toland
At Rewryte, we use Rails for the web frontend and Clojure for the data processing backend for exactly the reasons you described. We use RabbitMQ to communicate between the two. This maintains separation between the two apps (no JRuby required), and lets us scale them both independently, while t

Clojure & Jruby (Ruby on Rails) Interop

2013-09-08 Thread rdelcueto
Hi everyone, I'm about to start working on building a site for a startup company. We are a small team, and currently they've been coding the site using RoR (Ruby on Rails). I was thinking Clojure might be better suited for the task, specially because we'll need to implement a backend which is