Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1776

Test ZMQ Memory Consumption with restarting of listener on every X connections

    XMLWordPrintable

Details

    • Task
    • Status: Complete
    • Medium
    • Resolution: Done
    • None
    • 1.6.79
    • None
    • None

    Description

      As was understood in INDY-1686, ZMQ may consume a lot of memory if there are a lot of simultaneous client requests, since it uses round-robin to read client queues.

      Plenum does (be default) 100 reads in one looper run.

      We need to test if situation with memory consumption improves when we restrict the number of client connections.

      Acceptance criteria

      • Run test with restarting of listener on every 1000 connections
        • Run Python tests (created in the scope of INDY-1686) restarting listener
        • Run C tests (created in the scope of INDY-1686) restarting listener
        • Run Indy load tests
          • set MAX_CONNECTED_CLIENTS_NUM = 100
          • Run two tests: 10 NYMs per sec and 100 NYMs per sec
        • Compare results

      Attachments

        Activity

          People

            sergey-shilov Sergey Shilov
            ashcherbakov Alexander Shcherbakov
            Alexander Shcherbakov, Sergey Shilov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: