Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2823

Ability to have an option to combine topologies at run time in a single process space

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.1
    • None
    • storm-core
    • None
    • CentOS 7, Docker

    Description

      Unlike an API server which service multiple APIs within the same process space, the Topologies needs to run in separate processes.
      Lets say we have Topology TP-1 which use 1 GB of memory.
      Now we create the same for n Topologies of TP-1..... TP-n
      As the topologies increase the memory allocation is now multiplied by the number of topologies.
      This design though scalable is not similar to the API route we have before which was within the same process space.

      So in a micros services world, each topology would be responsible for a similar set of objects, like employee, customer, product, order, order details etc.

      As the number of topologies increase the worker allocation is not sufficient. Most topologies are not utilized fully but since these are in different process space the memory allocated can't be used.

      If we have an ability to say that TP-1 — TP 10 Can run within the same process space but behave like individual topologies we could conserve the resource usage.

      Now user are forced to combine topologies to the hardware provided with "if" logics to route the correct object that needs to be processed.

      This way one can still configure topologies as API in the same API server and reuse resources collectively for related group of topologies acting as micro services.

      Attachments

        Activity

          People

            Unassigned Unassigned
            antonpious@gmail.com Anton Alfred
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: