Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14136

Allow mapreduce Javascript code to perform HTTP requests

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • None
    • MapReduce
    • None
    • Query Execution

    Description

      Instead of relying on hadoop to do a mapreduce, it would be really useful to call c++ or java or python or ... libraries from inside mongo mapreduce, and a way to do this would be to allow to do get or post request to a localhost server

      If I am not clear, imagine the following :
      you have :

      • a mongodb containing lots of pictures
      • an awesome library in c++ that tells you if you are on the picture or not

      you want to do :

      • make a c++ server that runs on localhost:12345 and that takes a picture as an argument and returns true or false
      • mapreduce over your library (or foreach) and call the server with your data

      I was originally thinking of an EASY way to call external (c++/...) libraries from mongo without going through hadoop, so maybe you have other ideas ! As long as it can ease a lot of pain for users I am fine

      Thanks !

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            mr.bleez ThomasJ
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: