Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1368

Improve Falcon server restart time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • None
    • None

    Description

      Currently on restart, Falcon server loads all the entities from HDFS one by one. In a large set up like the one at Inmobi, where we have several thousands of feeds and processes, this takes several minutes to increase the start up time.

      Since this is an IO intensive task(reading a file from HDFS into memory), having multiple threads to load entities in parallel will improve the start up time of the server.

      Two points need to be taken care of:
      1. Only a single type of entities should be load in parallel to preserve the order of load of entities.

      2. Currently Falcon server fails to start if there is an error in loading any entity, it will be slightly tricky but we should preserve the same behaviour in case of parallel uploads via threads.

      Attachments

        1. FALCON-1368.patch
          4 kB
          sandeep samudrala
        2. FALCON-1368-V1.patch
          4 kB
          sandeep samudrala
        3. FALCON-1368-V2.patch
          4 kB
          sandeep samudrala
        4. FALCON-1368-V3.patch
          4 kB
          sandeep samudrala
        5. FALCON-1368-V4.patch
          4 kB
          sandeep samudrala

        Issue Links

          Activity

            People

              sandeep.samudrala sandeep samudrala
              ajayyadava Ajay Yadav
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: