Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-463

Have each container instance for a role be assigned with a unique integer id starting at 1 up to maximum requested instances

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.50
    • Slider 0.60
    • agent-provider
    • Slider October #2

    Description

      Apps can request a number of instances and the id associated with a container is the container id. However, container ids are not a reliable way to load balance a work load across several instances. This is because container id is not guaranteed to be well-distributed for specific role instances.

      A good example of application requiring a id is memcached where clients need to know which memcached daemon instance to connect for specific keys (e..g hash a key to obtain an integer and access the daemon associated with that integer). Alternatively, another example will be an application of peers that select workload based on their id. Say, an application processes 100 data points and component instances can select which sub-range to process based on their id.

      Attachments

        Activity

          People

            sumitmohanty Sumit Mohanty
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: