salemove / freddy

Messaging api supporting request-response and acknowledgements.
MIT License
9 stars 0 forks source link

Make Freddy JRuby compatible #19

Closed madis closed 8 years ago

madis commented 9 years ago

This development will solve issues in using freddy with JRuby where because of Threads and no GIL. It does it currently by using another AMQP implementation - March Hare. It is specific to JRuby.

Because of the differences between Bunny & March Hare, some adapter code is needed. E.g. AdaptiveQueue and Producer.

After these changes 2 gems would have to be built from this source:

By first making the Freddy compatible with JRuby will hopefully help to discover concurrency issues and fix them so that Freddy can be used with other Ruby implmemetations that have true concurrency e.g. Rubinius.

madis commented 9 years ago

I'm in process of rebasing this branch to master as it was created off from old commit. Force push will come in next 30 min

urmastalimaa commented 9 years ago

Oops, I did not notice the WIP. I will continue with this when it's ready.

indrekj commented 8 years ago

@madis Can you look over the last few comments. Would be nice to merge it.

madis commented 8 years ago

Updated

urmastalimaa commented 8 years ago

+1