Random tech jargon

Browsing the tag jruby

I recently needed to make use of our ActiveMQ message queue service to scale up write performance of CouchDB. However, there seemed to be a bug with JRuby that kills off the STOMP subscriber every 5 seconds. Digging a bit deeper into the STOMP source, I figured out a way to get around the bug […]

Tagged with ,

I needed a thread-safe JSMin library for compressing javascripts on the fly on UploadBooth, so I took an existing ruby implementation and made it thread safe. I don’t think there was license defined when I got it, so I am re-releasing it as-is. require ‘monitor’ class JSMin   EOF = –1   include MonitorMixin   […]

Tagged with ,

Are you running JRuby in production? Do you want distributed file storage for your “enterprise” application? Look no further, MogileFS is here. MogileFS-Client has compatibility issues with JRuby due to it’s use of the low level Socket class. JRuby 1.5-dev does not yet support all the Socket methods, so here is a monkey patch to […]

Tagged with , ,

I am in the process of evaluating which option to choose for a new production deployment of a Sinatra application. Pros and Cons of the implementations: JRuby Stack: Pros: • Fast for serial execution once warmed up. • Multi-threaded, easy to scale with spiked traffic / shared resources. Cons: • Slow warm up time, app […]

Tagged with , , ,

There seems to be some interest Catalyst vs Rails vs Django benchmark. The older benchmark is quite old, it was done in 2007. A lot has changed since then. I am re-running the numbers once again to see what has changed. This time around the hardware is faster and the benchmark is slightly more simple. […]

Tagged with , , , ,