Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-468

Rack Middleware Application for Rails

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • 0.10.0
    • Ruby - Library
    • None
    • Patch Available

    Description

      Thrift is a really great library and we decided to implement the majority of our service infrastructure for pkw.de with the help of Thrift. We already have some services up and running but are still experimenting how we can integrate it into our todays infrastructure. Since we are building and running a Ruby on Rails application and most of the stuff is still done in Ruby we needed a solution to integrate Thrift into Rails. We have some services build upon Thrift without Rails, but that became cumbersome as soon as you integrate any database connectivity. Suddenly you realize how much work is done by Rails itself for you concerning managing your environment.

      That said I had the idea to use the Rack integration of Rails 2.3 and build a custom Rack Application which intercepts all Posts to a certain URL and handle them through Thrift. I think this could be a really cool feature to integrate it into the main Thrift lib so I send you the enclosed patch.

      Attachments

        1. rack_middleware.patch
          7 kB
          Dirk Breuer

        Activity

          People

            Unassigned Unassigned
            railsbros_dirk Dirk Breuer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: