Build great JRuby apps with DockerSep 14

Docker is an exciting piece of technology. You can build a ready to use Linux containers by just just writing all your dependencies / packages declared in an easy to read text file.

Since a lot of sites have Docker introduction covered we will start right off ...

More...

Testing thread safety with concurrent-rubyAug 16

concurrent-ruby is one of my favorite Ruby gems. It provides numerous utilities that makes writing safe, concurrent and well-performing code easier. Lately, we faced an issue while we were developing a feature using More...


GruntJS, CoffeeScript and BrowserifyJul 13

I usually write my JavaScript with CoffeeScript, it makes it look a lot cleaner and CoffeeScript also adds some nice syntactic sugar. Another common issue I face is organizing JS code about which I have written a few blogs already. Lately, I also read about Browser ...

More...

Experiments with elasticsearchJun 24

During the last few weeks I got the opportunity to work with elasticsearch and I am pretty impressed with the feature set and performance it provides. Elasticsearch's ability to work with structured or unstructured queries, easy cluster setup and speed make it an interesting candidate for a NoSQL ...

More...

Concurrent Ruby on MRI / JRubyMay 27

Truth be told I am a big fan of Ruby, it is a clean, easy to pick and productive language. Rails is also by far the most feature rich web application framework available. However, Ruby misses a few (modern) language features, most of them involving "Concurrency". JRuby solves some of those problem ...

More...

Celluloid experiment with MRI / JRubyFeb 22

While running a CPU intensive process I wanted to check Sidekiq's performance on MRI vs JRuby. Since Sidekiq internally uses Celluloid, I investigated CPU core usage on Ruby(MRI) and JRuby for a simple prime number generator which uses Celluloid. Code for this looks like -

More...

Custom Fetcher for SidekiqFeb 16

Lately I have been working a bit on Sidekiq. IMHO, it should be one of the default gems for Rails projects, one of the reasons being it also includes Celluloid. When used, the combination of these two awesome libs in conjunction with JRuby can p ...

More...

Client side validation with Backbone.jsJan 4

Happy 2014 everyone! May the new year bring you great happiness and lots of programming fun. I myself had an eventful 2013 and really hope that 2014 is less dramatic and more relaxing, now that I am in a great city and a very nice country (which was my dr ...

More...

Unit Testing Backbone.jsNov 23

Hello from cold Berlin! After a couple of vagabond weeks it's good to back in my favorite city, hopefully for a long long time.

Back to technology and more specifically JavaScript. I have been talking a lot about organizing / writing better client side code and this discussion would not be ...

More...

Working with Angular.js and Rails - 2Nov 4

In my last blog I covered setting up a basic Rails + Angular.js webapp with Rails-API and Yeoman. As promised in this post we will look at building a si ...

More...